- 7 -
Appendix
4.5 Watchdog Timer (WDT) Setting
WDT is widely used for industry application to monitoring the activity
of CPU. Application software depends on its requirement to trigger WDT with
adequate timer setting. Before WDT time out, the functional normal system
will reload the WDT. The WDT never time out for a normal system. Then, WDT
will time out and reset the system automatically to avoid abnormal operation.
This board supports 2 levels watchdog timer by software
programming. Below are the source codes written in assembly & C, please
take them for WDT application examples.
Assembly Code
;-- Initial W83627hf --
mov
AX, 2Eh
mov
DX, AX
mov
AL, 87h
out
DX, AX
;
out
DX, AX
; initial W83627HF start
;--
mov
AX, 2Eh
mov
DX, AX
mov
AL, 2Bh
out
DX, AL
; Select CR2B
mov
AL, 00h
inc
DX
out
DX, AL
; Set CR2B bit 4=0, PIN89=WDTO
;--
mov
AX, 2Eh
mov
DX, AX
mov
AL, 07h
out
DX, AL
; Point to Logical Device Selector
mov
AL, 08h
inc
DX
out
DX, AL
; Select Logical Device 8
;--
mov
AX, 2Eh
mov
DX, AX
mov
AL, 30h
out
DX, AL
; select CR30
mov
AL, 01h
inc
DX
out
DX, AL
; update CR30 to 01h
Summary of Contents for EmModule-621E
Page 1: ...EmModule 621E PC 104 CPU Module User s Manual Version 1 0 2009 11 85 85...
Page 2: ...This page is intentionally left blank...
Page 5: ...Introduction 1 Chapter 1 Introduction Chapter 1 Introduction...
Page 11: ...Introduction 1 10 Board Dimensions Unit mm...
Page 12: ...Introduction Unit mm...
Page 13: ...Installation 2 Chapter 2 Installation Chapter 2 Installation...
Page 29: ...25 BIOS 3 Chapter 3 BIOS Chapter 3 BIOS...
Page 47: ...43 BIOS 3 8 PC Health Status Current CPU Temperature CPU MEM VCore VCC3 5V 12V VBAT V 5VSB...
Page 57: ...53 Appendix 4 Chapter 4 Appendix Chapter 4 Appendix...
Page 64: ...60 Appendix This page is intentionally left blank...