RT1050 SDRAM和QSPI数据备份同时使用cache

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

RT1050 SDRAM和QSPI数据备份同时使用cache

1,245 Views
haifeng_jin
Contributor III

hi  现在使用emwin,变量放在sdarm中,但是现在启动的qspi flash也用来做数据备份,原来的qspi做数据备份的时候需要如下操作,SCB_InvalidateDCache,但是现在sdarm中的变量也应该用的了加速,现在一执行SCB_InvalidateDCache就出现hardfault,SCB_InvalidateDCache这个是不是必须存在的,在对于qspi数据备份的时候。

pastedImage_1.png

Labels (1)
0 Kudos
Reply
4 Replies

1,095 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Haifeng,

     Hardfault error means you want to clear Key data in SDRAM.

So it is no problem to remove the SCB_InvalidateDCache() function.

这个错误是因为你要清除SDRAM的关键数据了。不用这句话,没问题。

Have a nice day!

BR,

NXP TIC Weidong Sun

0 Kudos
Reply

1,095 Views
haifeng_jin
Contributor III
0 Kudos
Reply

1,095 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi,

   The question has been validated with AE team, no problem to remove it.

Have a nice day!

Weidong

0 Kudos
Reply

1,095 Views
haifeng_jin
Contributor III

OK,感谢

0 Kudos
Reply