HI TI-Team,
Kindly Provide me the example code for software reset on RM57L843 controller in register SYSECR and SYSESR.
Thanks in advance,
Regards,
A. Ajith Kumar
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.
HI TI-Team,
Kindly Provide me the example code for software reset on RM57L843 controller in register SYSECR and SYSESR.
Thanks in advance,
Regards,
A. Ajith Kumar
Hi Ajith Kumar,
To do the software reset you just need to write either 0 or 2 or 3 to the RESET bits of the SYSECR register.
To test this code first set one break point at the "getResetSource" function call:
Now execute code and stop at before executing the Software reset.
Once you run the code now and see the ESR register value
You can see the 4th and 3rd bits in the ESR register got set, that means software RESET was successful.
Here is the project that i tested:
--
Thanks & regards.
Jagadish.