ARM Technical Support Knowledge Articles

WATCHDOG RESET SIMULATING SILABS DEVICE

Applies to: uVision Debugger

Answer


Information in this article applies to:


QUESTION

I am using the Keil uVision 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?

ANSWER

The 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 uVision 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

Article last edited on: 2005-06-07 11:10:40

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential