MPC5744P RAM protect

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

MPC5744P RAM protect

跳至解决方案
416 次查看
minwei
Contributor I

I am writing a bootloader for MPC5744P. And a watchdog reset is used to jump from APP to bootloader, when a download request is detected in APP. I would like to save this request flag in RAM. How can the flag maintain in RAM, when the project is reset? Thank you!

0 项奖励
1 解答
411 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

The RAM content is preserved on non destructive resets in case the MBIST is not executed.

For storing your flag is better to use core registers, which keep their value on reset.

petervlna_0-1664872488798.png

petervlna_1-1664872506367.png

See Table 7-1. Reset settings for e200z4 resources of reference manual.

Best regards,

Peter

 

在原帖中查看解决方案

0 项奖励
1 回复
412 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

The RAM content is preserved on non destructive resets in case the MBIST is not executed.

For storing your flag is better to use core registers, which keep their value on reset.

petervlna_0-1664872488798.png

petervlna_1-1664872506367.png

See Table 7-1. Reset settings for e200z4 resources of reference manual.

Best regards,

Peter

 

0 项奖励