cache_flash_mmu_set() function
Set Flash-Cache mmu mapping. Please do not call this function in your SDK application.
Return value
unsigned int: error status 0 : mmu set success 1 : vaddr or paddr is not aligned 2 : pid error 3 : psize error 4 : mmu table to be written is out of range 5 : vaddr is out of range
![]()
rc = cache_flash_mmu_set(0, 0, drom_load_addr_aligned, drom_addr_aligned, 64, drom_page_count);![]()
rc = cache_flash_mmu_set(1, 0, drom_load_addr_aligned, drom_addr_aligned, 64, drom_page_count);![]()
rc = cache_flash_mmu_set(0, 0, irom_load_addr_aligned, irom_addr_aligned, 64, irom_page_count);![]()
rc = cache_flash_mmu_set(1, 0, irom_load_addr_aligned, irom_addr_aligned, 64, irom_page_count);
cache_flash_mmu_set() is called by 1 function and calls 3 functions:
![]()
cache_flash_mmu_set()
cache_flash_mmu_set():
![]()
cache_flash_mmu_set()