MPC5744P RAM protect

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
464件の閲覧回数
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 解決策
459件の閲覧回数
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 返信
460件の閲覧回数
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 件の賞賛