
User’s Manual
239
gram consistency checking or because a part of the program that should be executing peri-
odically is not executing and the watchdog times out.
The Virtual Driver’s periodic interrupt hits the hardware watchdog timer with a 2 second
time-out. If the periodic interrupt stops working, then the watchdog will time out after 2
seconds. The Virtual Driver provides a number of additional “virtual” watchdog timers for
use in other parts of the code that must be entered periodically. The user program must hit
each virtual watchdog periodically.
The best practice is to let the periodic interrupt hit the hardware watchdog exclusively, and
use virtual watchdogs for other code that must be run periodically. If hits to the hardware
watchdog are scattered through a program, then it may be possible for the code to enter an
endless loop where the watchdog is hit, and therefore rendered useless for detecting the
endless loop condition. If no virtual watchdogs are used, an undetected endless loop con-
dition could still occur since the periodic interrupt can still hit the hardware watchdog.
If any of the virtual watchdogs times out, then hits are withheld from the hardware watch-
dog and it times out, resulting in a hardware reset. Virtual watchdogs may be allocated,
deallocated, enabled and disabled. The advantage of the virtual watchdogs is that if any of
them fail an error is detected.
The
Dynamic C Users’s Manual
chapter on the Virtual Driver provides more details on
virtual watchdogs.
Summary of Contents for Rabbit 2000
Page 2: ...Rabbit 3000 Microprocessor User s Manual 019 0108 040731 O ...
Page 9: ...Rabbit 3000 Microprocessor ...
Page 29: ...20 Rabbit 3000 Microprocessor ...
Page 64: ...User s Manual 55 5 PIN ASSIGNMENTS AND FUNCTIONS ...
Page 79: ...70 Rabbit 3000 Microprocessor ...
Page 80: ...User s Manual 71 6 RABBIT INTERNAL I O REGISTERS ...
Page 123: ...114 Rabbit 3000 Microprocessor ...
Page 137: ...128 Rabbit 3000 Microprocessor ...
Page 157: ...148 Rabbit 3000 Microprocessor ...
Page 207: ...198 Rabbit 3000 Microprocessor ...
Page 249: ...240 Rabbit 3000 Microprocessor ...
Page 255: ...246 Rabbit 3000 Microprocessor ...
Page 277: ...268 Rabbit 3000 Microprocessor ...
Page 343: ...334 Rabbit 3000 Microprocessor ...
Page 345: ......