
Appendix 2
:
Watchdog programmer guide
watchdog reference code
(
ASM
)
:
--------------------------------------------------------------------------------------------------------------
Set the port to realize watchdog function through DEBUG order, so that it can carry out
Watchdog Timer
’s various functions.
port instruction
:
2EH
:
Address register
2FH
:
Data register
Example
:
Set Watchdog Timer for 48 Seconds, DEBUG in DOS
:
C:\>debug
-o 2e 87
-o 2e 87
; Decode
-o 2e 2b
-o 2f e0
; bit4=0, Select watchdog pin
-o 2e 07
-o 2f 08
; Choose register
-o 2e 30
-o 2f 01
; Activation logic devices
-o 2e f5
-o 2f 00
; Set timer units as second / (set as min: o 2f 08)
-o 2e f6
-o 2f 30
; Set Timer Count to 48 sec. (Max support FF = 255, when it set as 00
Watchdog function stop
-o 2fe aa
; locked register
-q
C:\>
-----------------------------------------------------------------
Содержание TC-965
Страница 1: ...TC 965 Embedded MiniPC User s guide ...
Страница 6: ...Chapter 1 General Information ...
Страница 11: ...Chapter 2 Hardware Functionality ...
Страница 23: ...Chapter 3 Hardware Installation ...
Страница 29: ...Chapter 4 BIOS Setup ...
Страница 58: ...Appendix ...
Страница 64: ...LPT Line print terminal The denomination reserved by DOS is used to denote universal parallel ...