1
\$\begingroup\$

I am working with an LM4F120 Stellaris Launchpad. In my firmware I want to trigger a soft-reset but only once. When the firmware gets out of reset it should read from a register to see wheterh the sot-reset already happened and if so branch to another piece of code.

Do you know of any register where I can store a value and from which I can read back the same value even after the soft-reset?

\$\endgroup\$
  • \$\begingroup\$ Any peripherals you aren't using, perhaps? \$\endgroup\$ – Brian Drummond Apr 30 '14 at 15:46
  • \$\begingroup\$ Write to the info flash area. It's a space of non volatile memory in the chips flash meant for that. \$\endgroup\$ – Passerby Apr 30 '14 at 22:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.