tBOX311-820-FL Series User
’
s Manual
Watchdog Timer
69
;Disable WDT:
mov
dx,2Eh
mov
al,30h
out
dx,al
mov
dx,2Fh
mov
al, 00h
;Can be disable at ant time
out
dx,al
Note
:
When
N’s value is 00h, the time base is set second.
M
= 00: Time-out Disable
01: Time-out occurs after 1 second
02: Time-out occurs after 2 seconds
03: Time-out occurs after 3 seconds
FF: Time-out occurs after 255 seconds
Sample of Watchdog application
Assume there is program A which needs to maintain running in a
system. The value of W atchdog Timer must be set bigger than
the running time of program A. Then, after the running time of
program A is finished, either to disable or to reset watchdog
timer.
W hen program A has problems to make system shut down, the
system can be rebooted by W atchdog timer when the value of
watchdog timer is countdowned to 0 .
The below flowchart can be referred to edit program A
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 ...