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!
已解决! 转到解答。
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.
See Table 7-1. Reset settings for e200z4 resources of reference manual.
Best regards,
Peter
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.
See Table 7-1. Reset settings for e200z4 resources of reference manual.
Best regards,
Peter