beautypg.com

MSI CX700D User Manual

Page 15

background image

1-5

Getting Started

Software code

SIO_IDX equ 4EH
SIO_DTA equ 4FH
Timer equ 10 ;reset after 10 seconds
1. Enter configuration mode
mov dx,SIO_IDX
mov al,87h
out dx,al
out dx,al

2 Set Pin118 to WDTO#
mov dx,SIO_IDX

mov al,2Bh

out dx,al
mov dx,SIO_DTA
in al,dx
and al,not 04h
out dx,al

3. Set to and active LDN 08
mov dx,SIO_IDX
mov al,07h
out dx,al
mov dx,SIO_DTA
mov al,08h
out dx,al

mov dx,SIO_IDX
mov al,30h
out dx,al
mov dx,SIO_DTA
in al,dx
or al,01h
out dx,al

4. Set WatchDog Timer
mov dx,SIO_IDX
mov al,0f4h
out dx,al
mov dx,SIO_DTA
mov al,Timer
out dx,al

5. Exit configuration mode
mov dx,SIO_IDX
mov al,0AAh

out dx,al

This manual is related to the following products: