
A-2
WDT, GPIO, DIO
MS-9A66
WDT Sample Code
SIO_INDEX_Port
equ 04Eh
SIO_DATA_Port
equ 04Fh
SIO_UnLock_Value equ 087h
SIO_Lock_Value
equ 0AAh
WatchDog_LDN
equ 007h
WDT_UNIT
equ 60h
;
60h=second, 68h=minute, 40h=Disabled Watchdog timer
WDT_Timer
equ 30
;
ex. 30 seconds
Sample code:
;Enable config mode
mov
dx, SIO_INDEX_Port
mov
al, SIO_UnLock_Value
out
dx, al
jmp
short $+2
;Io_delay
jmp
short $+2
;Io_delay
out
dx, al
;Change to WDT
mov
dx, SIO_INDEX_Port
mov
al, 07h
out
dx, al
mov
dx, SIO_DATA_Port
mov
al, WatchDog_LDN
out
dx, al
;Acive WDT
mov
dx, SIO_INDEX_Port
mov
al, 30h
out
dx, al
mov
dx, SIO_DATA_Port
in
al, dx
or
al, 01h
out
dx, al
;set timer
mov
dx, SIO_INDEX_Port
mov
al, 0F6h
out
dx, al
mov
dx, SIO_DATA_Port
mov
al, WDT_Timer
out
dx, al
;set UINT
mov
dx, SIO_INDEX_Port
mov
al, 0F5h
out
dx, al
mov
dx, SIO_DATA_Port
mov
al, WDT_UNIT
out
dx, al
;enable reset
mov
dx, SIO_INDEX_Port
mov
al, 0FAh
out
dx, al
mov
dx, SIO_DATA_Port
in
al, dx
or
al, 01h
out
dx, al
;close config mode
mov
dx, SIO_INDEX_Port
mov
al, SIO_Lock_Value
out
dx, al
Summary of Contents for MS-9A66
Page 1: ...i MS 9A66 Industrial Data Machine...
Page 8: ......
Page 19: ...1 11 MS 9A66 Block Diagram MS 9A66 Q87 MS 9A66 C226...
Page 20: ...1 12 Overview Motherboard Jumpers JCMOS1 JAT1 JME1 JCOMP1...
Page 22: ...1 14 Overview ME Overview h h System Dimensions without Wall Mount...
Page 23: ...1 15 MS 9A66 h h System Dimensions with Wall Mount...
Page 24: ...1 16 Overview...
Page 28: ...1 20 Overview h h MS 9A66 C226 PCIe Card Dimensions 9A66 P1 15...
Page 30: ...1 22 Overview P1 17 PCI2 Card Dimension Limitation with 2 HDDs installed...
Page 31: ...1 23 MS 9A66 h h Mounting Brackets...
Page 32: ...1 24 Overview Mounting Bracket Screws Installation 1...
Page 33: ...1 25 MS 9A66 Installation 2...
Page 34: ......
Page 37: ...2 3 MS 9A66 3 Push the top cover gently forward 4 Remove the top cover from the system...
Page 53: ...2 19 MS 9A66 4 Connect the fan power connector to the motherboard...
Page 96: ......
Page 102: ......