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.
I'd like to perform a "warm restart" by running the startup routines upon detection of an error. How can I "goto" the reset vector using C51? For example:
void main(void) { ... ... val = CheckForError(); if(val) { // perform soft reboot here goto ????; } ... ... }
The only truly reliable way to do a warm restart it to let a watchdog time out. Erik