|
Sure. The watchdog timer is a feature built into the processor that is the heart of the Atom (Pro). If the watchdog is enabled in the configuration by the programmer then the watchdog expects the software to keep it reset every so often within a small specific time. Failing this, it does a main reset of the processor, thus forcing it to start all over from scratch. The idea is that as long the software is running properly it will always keep the watchdog happy with its small reset. If something goes wrong with the program then the watchdog will force the processor back into reset and the program recovers.
The Atom (Pro) BASIC is designed to start the watchdog and keep it timed out and happy. Failing that the processor, and thus the BASIC program, gets restarted. There was a command created to actually allow the watchdog to time out and restart the processor. This was done at the request of a user who wanted to see how long it took for the processor to get reset after the command was invoked so he could study the effect the power supply Voltage, processor clock and temperature had on this feature. It's in the Atom (Pro) manual somewhere, feel free to read up on it.
Later! kenjj
|