![Advantech ARK-7060 User Manual Download Page 104](http://html.mh-extra.com/html/advantech/ark-7060/ark-7060_user-manual_3047957104.webp)
ARK-7060 User Manual
92
A.1
EC Watchdog Timer Sample Code
EC_Command_Port = 0x29Ah
EC_Data_Port = 0x299h
Write EC HW ram = 0x89
Watch dog event flag = 0x57
Watchdog reset delay time = 0x5E
Reset event = 0x04
Start WDT function = 0x28
====================================================
.model small
.486p
.stack 256
.data
.code
org 100h
.STARTup
mov dx, EC_Command_Port
mov al,89h ; Write EC HW ram.
out dx,al
mov dx, EC_Data_Port
mov al, 5Fh ; Watchdog reset delay time low byte (5Eh is high byte) index, Timebase:
100ms
out dx,al
mov dx, EC_Data_Port
mov al, 64h ;Set 10 seconds delay time.
out dx,al
mov dx, EC_Command_Port
mov al,89h ; Write EC HW ram.
out dx,al
mov dx, EC_Data_Port
mov al, 57h ; Watch dog event flag.
out dx,al
mov dx, EC_Data_Port
mov al, 04h ; Reset event.
out dx,al
mov dx, EC_Command_Port
mov al,28h ; start WDT function. (Stop: 0x29, Reset: 0x2A)
out dx,al
.exit
END
Summary of Contents for ARK-7060
Page 1: ...User Manual ARK 7060 Embedded Box PC ...
Page 10: ...ARK 7060 User Manual x ...
Page 19: ...Chapter 2 2 Hardware Configuration ...
Page 24: ...ARK 7060 User Manual 12 2 2 6 Jumper Locations ...
Page 38: ...ARK 7060 User Manual 26 ...
Page 39: ...Chapter 3 3 BIOS Settings ...
Page 47: ...35 ARK 7060 User Manual Chapter 3 BIOS Settings ...
Page 73: ...61 ARK 7060 User Manual Chapter 3 BIOS Settings IIO Error Enabling ...
Page 76: ...ARK 7060 User Manual 64 PCIe Error Enabling ...
Page 103: ...Appendix A A Watchdog Timer Sample Code ...
Page 105: ...93 ARK 7060 User Manual Appendix A Watchdog Timer Sample Code ...