ARK-1551 User Manual
68
A.1
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.
out dx,al
mov dx, EC_Data_Port
mov al, 30h ;Set 3 seconds delay time.
out dx,al
mov dx, EC_Command_Port
mov al,89h ; Write EC HW ram.
out dx,al
mov dx, EC_ 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.
out dx,al
.exit
Summary of Contents for ARK-1551
Page 1: ...User Manual ARK 1551 Fanless Embedded Box PC...
Page 10: ...ARK 1551 User Manual x...
Page 39: ...Chapter 3 3 BIOS Settings This chapter details BIOS config uration data set up...
Page 55: ...43 ARK 1551 User Manual Chapter 3 BIOS Settings...
Page 60: ...ARK 1551 User Manual 48 3 2 2 12 CSM Configuration...
Page 62: ...ARK 1551 User Manual 50 3 2 2 13 NVMe Configuration This item shows NVMe device information...
Page 68: ...ARK 1551 User Manual 56...
Page 70: ...ARK 1551 User Manual 58...
Page 72: ...ARK 1551 User Manual 60...
Page 79: ...Appendix A A Watchdog Sample Code...
Page 81: ...Appendix B B SUSI API Introduction...
Page 83: ...71 ARK 1551 User Manual Appendix B SUSI API Introduction...