This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Retain a variable in RAM after soft reset in TIVA Launchpad

I am using the latest CCS and using for the Tiva123GH6M Launchpad. I wish to know if there is a method we can use to retain variable after a soft reset of the MCU.

I use the following line to RESET the MCU.

HWREG(NVIC_APINT) = NVIC_APINT_VECTKEY | NVIC_APINT_SYSRESETREQ

Thank you.