SRAM retain after software reset

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

SRAM retain after software reset

507 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MrBool on Fri Aug 14 01:36:32 MST 2015
After NVIC_SystemReset() is the SRAM content retained?
I want to write some magic value to SRAM and make NVIC_SystemReset() then in my bootloader check this value to go in boot mode.
Labels (1)
0 Kudos
2 Replies

455 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MrBool on Fri Aug 14 02:11:54 MST 2015
I have found:
https://www.lpcware.com/content/faq/after-software-reset-wd-reset-bod-reset-sram-content-retained

I just want to check only one variable  in SRAM. I use for that SRAM section not used in software. In link "LPC1769 - keep settings after restart of program" there is example with variable retained after software reset.

So is it possible or not?

0 Kudos

455 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Fri Aug 14 01:59:16 MST 2015

Quote: MrBool
After NVIC_SystemReset() is the SRAM content retained?



No  :O



Quote: MrBool
I want to write some magic value to SRAM and make NVIC_SystemReset() then in my bootloader check this value to go in boot mode.



Forum search:

https://www.lpcware.com/content/forum/lpc1769-keep-settings-after-restart-of-program
0 Kudos