SparkFun Forums 

Where electronics enthusiasts find answers.

Everything with the AmbiqSuite SDK tools and software are welcome here.
User avatar
By beanbox
#231189
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
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]