Hi,
I’m trying to do a software reset while retaining a portion of RAM values (collected fault data). The linker script is modified and the data is placed in a NOLOAD section. I’ve verified that the data is not initialized by the software by manually jumping to the reset_vector.
Unfortunately the complete RAM gets cleared when I execute either
NVIC_SystemReset()
or
am_hal_reset_control(AM_HAL_RESET_CONTROL_SWPOR)
or
am_hal_reset_control(AM_HAL_RESET_CONTROL_SWPOI)
Does anyone have an idea how to prevent the RAM clear?
Thanks in advance,
Andreas