3304030 User’s Manual Appendix C
LD8-CRF7- Bit[3..0] : Select IRQ resource for WDT time-out
( Setti ng of 2 selects SMI )
(3) WDT Programmimg guide
Step 1 . E nter extended function mode as mentioned as above.
Step 2 . Program WDT related CR.
(2-1) CR2B-b[4]P[0] ; Set pi n output as WDT function
(2-2) CR07-P08h ; Point to LD8
(2-3) CRF6-P
xyh
; Program WDT time-out period and start
count down . xy = 00 ; No WDT time-out and counting
xy = 01 ; WD T time-out = 30 sec. and starts counti ng .
............
(2-4) Read CRF7-b4 if needed ; 0 : WDT counti ng
1 : WDT time-out happened
Step 3. E xit extended function mode as mentioned as above.
Example (ENABLE WDT A ND SET WDT time-out = 5 mi nutes)
Step 1 .
MOV DX,2EH
MOV
AL,87H
CLI ; disable interrupt
OUT DX,AL
JMP $+2
OUT DX,AL
STI ; enable i nterrupt
Step 2 .
MOV DX,2Eh
MOV
AL,2B H
OUT DX,AL
MOV DX,2Fh
IN
AL,DX ; READ CR2B
AND AL,0EFH
MOV
A H,AL
MOV DX,2Eh
MOV
AL,2B H
OUT DX,AL
MOV DX,2Fh
MOV
AL,A H
OUT DX,AL
;
CR2B-b[4]P[0]
MOV DX,2Eh
MOV
AL,07H
OUT DX,AL
; point to Logical Device Number Register
Watchdog Timer Programming Guide
51
Summary of Contents for 3304030
Page 1: ...3304030 Half size Single Board Computer User s manual Edition 1 0 2005 3 25...
Page 6: ...3304030 User s Manual 6 This Page is Left for Blank This Page is Left for Blank...
Page 12: ...3304030 User s Manual 12 This Page is Left for Blank This Page is Left for Blank...
Page 38: ...3304030 User s Manual This Page is Left for Blank This Page is Left for Blank 38...
Page 48: ...Flash BIOS 47...
Page 49: ...3304030 User s Manual This Page is Left for Blank This Page is Left for Blank 48...