beautypg.com

Watch dog timer setting, Watch dog timer setting -2 – MSI I3-945GSE User Manual

Page 56

background image

4-2

System Resources

w

atch

d

og

t

iMer

S

etting

Software code
SIO_IDX equ

2Eh

SIO_DTA equ

2Fh

Timer equ 10; reset after 10 seconds

1. Enter configuration mode

mov dx,SIO_IDX
mov al,87h
out dx,al
mov al,01h
out dx,al
mov al,55h
out dx,al
out dx,al

2. Set to LDN 07

mov dx,SIO_IDX
mov al,07h
out dx,al
mov dx,SIO_DTA
mov al,07h
out dx,al

3. Set WatchDog Timer

mov dx,SIO_IDX
mov al,073h
out dx,al
mov dx,SIO_DTA
mov al,Timer
out dx,al

4. Exit configuration mode

mov dx,SIO_IDX
mov al,02h
out dx,al
mov dx,SIO_DTA
out dx,al