77
Appendix B
EBC575 User’s Manual
Initialize the SQW of RTC (set SQW output period = 0.5 second)
To initialize the SQW of RTC processor is to set the SQW signal which is output period = 0.5 second. It offers
the basic frequency of the WDT counter.
The following is an example of initializing the SQW signal program in Intel 8086 assembly language.
Clear the WDT
Repeatedly read WDT Configuration Port and the interval cannot be longer than the preset time, otherwise,
the WDT will generate NMI or Reset signal for the system. The following is an example of clear the WDT
program in Intel 8086 assembly language.
Note:
Before running WDT, you must clear WDT working mode. The initial value of WDT Control Register
is shown as follows:.
WDT Control Register (Write to WDT configuration port)
You can set the WDT Control Register to control the WDT working mode.
The initial value of the WDT Control Register is as the following:
; (General SQW = 0.5 Sec.)
Mov dx, 70h
Mov ax, 0Ah
Out dx, al
; Out port 70h = 0Ah
Mov dx 71h
Mov as 2Fh
Out dx, al
; Out port 71h = 2Fh
; (enable the SQW output)
Mov dx, 70h
Mov ax, 0Bh
Out dx, al
; Out port 70h = 0Bh
Mov dx, 71h
Mov ax, 0Ah
Out dx, al
; Out port 71h = 0Ah
; (Clear the WDT)
Mov dx, F2h
; Setting the WDT configuration port
In
al, dx
; Setting the WDT Control Register as AL
Mov
al, 0h
; Setting initial value = 0 for the WDT Control
Register
Summary of Contents for EBC575 Series
Page 5: ...5 Chapter 1 General Information ...
Page 12: ...12 Chapter 2 Jumper Setting ...
Page 20: ...20 Chapter 3 Capability Expanding ...
Page 29: ...29 Chapter 4 Award BIOS Setup ...
Page 54: ...54 Chapter 5 Driver Installation ...
Page 67: ...67 Appendix ...