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.