2020-12-29 08:20 PM
Hi
following a reset by the IWDG, does the SRAM1 or SRAM2 keep their content?
Thanks
Solved! Go to Solution.
2020-12-29 08:41 PM
SRAM is retained on reset, as long as you don't lose power. Although most variables are initialized to zero or whatever their starting value is in the startup script.
2020-12-29 08:41 PM
SRAM is retained on reset, as long as you don't lose power. Although most variables are initialized to zero or whatever their starting value is in the startup script.
2020-12-29 09:25 PM
Do you know where it is done on the IAR startup script?
2020-12-29 10:25 PM
How can I save some data in SRAM and read it again following a reset?
2020-12-30 06:31 AM
I am not familiar with IAR.
In STM32CubeIDE, you can mark sections in the linker as NOLOAD which will prevent initialization.