iMX RT1170 Shared Memory

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

iMX RT1170 Shared Memory

805 次查看
BTasdemir
Contributor I

Hi,

I split the OCRAM area. Im using 0x20338000 address for sharing datas. I write data from M4 core to this address and then I want to read same datas in same address. When I read from M4, I can see that the data has changed but when I read from M7, I cannot see that the data has changed. If I stop the code with a breakpoint, the data is updated.

0 项奖励
回复
3 回复数

791 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @BTasdemir ,

I think it's most probably caused by cache. OCRAM is cacheable.  And both M7 and M4 core has cache.

 

Regards,

Jing

0 项奖励
回复

782 次查看
BTasdemir
Contributor I

Hi @jingpan

Which ram region should I use for this ?

0 项奖励
回复

735 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @BTasdemir ,

You can set the area to noncacheable. Please refer to the function BOARD_ConfigMPU().

 

Regards,

Jing

0 项奖励
回复