
EMB-3706 User's Manual
43
Appendix 2
:
Watchdog Programming Guide
-----------------------------------------------------------------------------------------------------------------------------
We can operate the port to operate the watchdog. Under the DEBUG command,
you can write data to the corresponding port to operate the port and realize different
functions of Watchdog Timer.
Port specification
:
2EH
:
Address register
2FH
:
Data register
Example
:
Set Watchdog
Timer as 30 seconds
Running DEBUG
command in DOS mode
:
C:\>debug
-o 2E 87
; Decode
-o 2E 87
-o 2E 2b
; Choose watchdog pin
-o 2f C0
-o 2E 07
; Select logical device
-o 2f 08
-o 2E 30
; Start logical device
-o 2f 01
-o 2E F5
-o 2f 00
; Set the time unit as second / (set minute o 2f 08
)
-o 2E F6