About OCRAM used as none-cache area

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

About OCRAM used as none-cache area

Jump to solution
1,052 Views
nxbg
Contributor I

Hello Team, we are using part of OCRAM as none-cache area, so we do following setting:

MPU->RBAR = ARM_MPU_RBAR(8, 0x20320000U);
MPU->RASR = ARM_MPU_RASR(0, ARM_MPU_AP_FULL, 1, 0, 0, 0, 0, ARM_MPU_REGION_SIZE_128KB);

So if we already set the OCRAM area to none-cache area, do we still need to call cacheflush related function before we read and write this memory area?

Thanks & Best Regards,

0 Kudos
Reply
1 Solution
1,042 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @nxbg ,

No, you needn't.

 

Regards,

Jing

View solution in original post

0 Kudos
Reply
1 Reply
1,043 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @nxbg ,

No, you needn't.

 

Regards,

Jing

0 Kudos
Reply