| ||||||||
Technical Support Support Resources Product Information | µVISION DEBUGGER: WATCHDOG RESET SIMULATING SILABS DEVICEInformation in this article applies to:
QUESTIONI am using the Keil µVision Debugger/Simulator for developing code on SiLabs (formerly Cygnal) devices. Since I am using a new software version, I get messages like: ************************************** *** Watchdog Timer Reset Occurred. *** ************************************** This also causes a restart of the application software. What is wrong now? ANSWERThe Silicon Laboratories devices start after reset with the WatchDog timer enabled. When the watchdog is not refreshed the devices reset. This is reflected in the µVision Simulator. The old version that you used before did not cover full device simulation for SiLabs devices and therefore there was no watchdog reset. For the SiLabs 80C51F3xx devices you may disable the watchdog using the following statement at the beginning of the main function. Other devices may require a slightly different instructions.
void main (void) {
PCA0MD &= ~0x40; // disable watchdog
:
:
MORE INFORMATION
Last Reviewed: Tuesday, June 07, 2005 | |||||||
| ||||||||