tBOX311-820-FL Series User
’
s Manual
Watchdog Timer
67
About Watchdog Timer
Software stability is major issue in most applications. Some embedded
systems are not watched by human for 24 hours. It is usually too slow
to wait for someone to reboot when computer hangs. The systems
need to be able to reset automatically when things go wrong. The
watchdog timer gives us solution.
The watchdog timer is a counter that triggers a system reset when it
counts down to zero from a preset value. It can be set by programming
its value. The software starts counter with an initial value and must
reset it periodically. If the counter ever reaches zero which means the
software has crashed, the system will reboot.
How to Use the Watchdog Timer
A
ssembler Sample Code
;Enable WDT:
mov
dx,2Eh
mov
al,87h
;Un-lock super I/O
out
dx,al
out
dx,al
;Select Logic device:
mov
dx,2Eh
mov
al,07h
out
dx,al
mov
dx,2Fh
mov
al,08h
out
dx,al
Summary of Contents for tBOX311-820-FL Series
Page 1: ...i tBOX311 820 FL Series Embedded System User s Manual ...
Page 16: ...tBOX311 820 FL Series User s Manual Introduction 8 Rear View Rear View drawing CANBUS COM ...
Page 18: ...tBOX311 820 FL Series User s Manual Introduction 10 MEMO ...
Page 36: ...tBOX311 820 FL Series User s Manual Connectors 28 MEMO ...
Page 54: ...tBOX311 820 FL Series User s Manual Phoenix Award BIOS Utility 46 ...
Page 58: ...tBOX311 820 FL Series User s Manual Phoenix Award BIOS Utility 50 ...
Page 59: ...tBOX311 820 FL Series User s Manual Phoenix Award BIOS Utility 51 ...
Page 64: ...tBOX311 820 FL Series User s Manual Phoenix Award BIOS Utility 56 ...
Page 67: ...tBOX311 820 FL Series User s Manual Phoenix Award BIOS Utility 59 ...
Page 71: ...tBOX311 820 FL Series User s Manual Phoenix Award BIOS Utility 63 ...
Page 74: ...tBOX311 820 FL Series User s Manual Phoenix Award BIOS Utility 66 MEMO ...
Page 78: ...tBOX311 820 FL Series User s Manual Watchdog Timer 70 ...
Page 80: ...tBOX311 820 FL Series User s Manual Digital I O 72 MEMO ...
Page 84: ...tBOX311 820 FL Series User s Manual Digital I O Wiring 76 MEMO ...