iMX RT1170 Shared Memory

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX RT1170 Shared Memory

743件の閲覧回数
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 返答(返信)

729件の閲覧回数
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 件の賞賛
返信

720件の閲覧回数
BTasdemir
Contributor I

Hi @jingpan

Which ram region should I use for this ?

0 件の賞賛
返信

673件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi @BTasdemir ,

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

 

Regards,

Jing

0 件の賞賛
返信