Keil™, An ARM® Company

File Download Area

Atmel Watchdog Timer Example Program

This program shows how to configure the watchdog timer for the following chips:

  • Atmel 80C51RA2
  • Atmel 80C51RD2
  • Atmel 80C54X2
  • Atmel 80C58X2
  • Atmel 83/87C51RB2
  • Atmel 83/87C51RC2
  • Atmel 83/87C51RD2
  • Atmel T87C5111
  • Atmel T87C5112
  • Atmel T89C51AC2
  • Atmel T89C51CC01
  • Atmel T89C51CC02
  • Atmel T89C51IB2
  • Atmel T89C51IC2
  • Atmel T89C51RB2
  • Atmel T89C51RC2
  • Atmel T89C51RD2

After configuring the watchdog timer, the program runs a continuous loop to allow the timer to reset the microcontroller.

The Debugger displays each reset occurance. A debugger script outputs how many resets have occured.

RX2_WDT.ZIP (7.5K)
Friday, August 31, 2001