We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi everybody How can I restart the controller by internal rautine?(To simulate the external restart button)
About the closest you can get to this is: 1) Set all SFRs to their default values 2) Jump to the reset vector If your derivative has a watchdog let it time out instead of doing the above. Stefan
I second the nomination for the watchdog timeout, if you have it. Depending on your hardware, you perhaps could wire a GPIO pin to the reset switch to allow the software to reset itself.