thanks @gusarambula
I only want to disable the cache for SEMC accesses, that looks like a global enable/disable? How do I disable the cache only for SEMC accesses?
What do these lines in board.c do?
/* Region 9 setting: Memory with Normal type, not shareable, outer/inner write back */
MPU->RBAR = ARM_MPU_RBAR(9, 0x80000000U);
MPU->RASR = ARM_MPU_RASR(0, ARM_MPU_AP_FULL, 0, 0, 1, 1, 0, ARM_MPU_REGION_SIZE_32MB);
thanks!