Advantech AIMB-210 user manual Programming the Watchdog Timer, Watchdog Timer Overview

Page 74

A.1 Programming the Watchdog Timer

The AIMB-210's watchdog timer can be used to monitor system software operation and take corrective action if the software fails to function within the programmed period. This section describes the operation of the watchdog timer and how to pro- gram it.

A.1.1 Watchdog Timer Overview

The watchdog timer is built into the super I/O controller W83627DHG. It provides the following user-programmable functions:

!Can be enabled and disabled by user program

!Timer can be set from 1 to 255 seconds or 1 to 255 minutes

!Generates an interrupt or resets signal if the software fails to reset the timer before time-out

A.1.2 Programming the Watchdog Timer

The I/O port address of the watchdog timer is 2E (hex) and 2F (hex). 2E (hex) is the address port. 2F (hex) is the data port. You must first assign the address of register by writing an address value into address port 2E (hex), then write/read data to/from the assigned register through data port 2F (hex).

AIMB-210 User Manual

62

Image 74
Contents AIMB-210 Copyright Acknowledgements Advantech Customer Services Message to the CustomerDeclaration of Conformity FCCMemory Compatibility Brand Size Speed Vendor PN Advantech PN MemoryProduct Warranty 2 years Ordering InformationInitial Inspection Viii Contents Chipset Software Installation Utility Appendix a Table B.24System I/O Ports Chapter Cost effective 945GSE chipset supports 533 Front side bus FeaturesIntroduction Specifications Mechanical and environmental specifications Jumpers and ConnectorsIndustrial features ConnectorsUSB56 Board layout Jumper and Connector Locations Jumper and Connector LocationAIMB-210 Board Diagram AIMB-210 Board DiagramSafety Precautions Cmos Clear CMOS1 Jumper SettingsHow to Set Jumpers CMOS1COM2 RS 232/422/485 Mode Selector JSETCOM2 3 COM2 RS 232/422/485 Mode Selector JSETCOM24 JLV1/JLV2 LCD Power 3.3 V/5 V Selector JLV1/JLV2 LCD Power 3.3 V/5 V SelectorJPSON1 ATX, AT Mode Selector JPSON1 ATX, AT Mode SelectorJWDT1 Watchdog Timer Output Option JWDT1 Watchdog Timer Output OptionMemory Installation Procedures System MemoryConnecting Peripherals Parallel Port LPT1 Connecting Peripherals Primary IDE1 IDE ConnectorLAN LED Indicator USB Ports LAN1USB12/LAN2USB34/USB56/ USB78TV-Out Connector TVOUT1 TV-Out Connector TVOUT1VGA Connector VGA1 Serial Ports COM1~COM6 PS/2 Keyboard and Mouse Connector KBMS1 CPU Fan Connector CPUFAN1 System FAN Connector CHAFAN1 Reset JFP1 / Reset Front Panel Connectors JFP1/JFP2/JFP3ATX soft power switch JFP1 / Pwrsw HDD LED JFP2 / HddledPower LED and keyboard lock connector JFP3 / Pwrled ATX power supply LED status No support for AT powerLine In, Line Out, Mic In Connector AUDIO1 Serial ATA Interface SATA1, SATA2 14 PCI Front Headphone Connector FPAUD1 ATX Power Connector EATXPWR1 SPI Flash connectorSPICN1 LCD Inverter Connector INV1 & INV2 Optional Lvds Connector LVDS1 & LVDS2 Optional Digital I/O Connector DIO1 Page Bios Operation Bios Setup Control KeysMain Menu Standard Cmos Features Advanced Bios Features Advanced Chipset Features System Memory Frequency Auto Dvmt Mode DvmtBoot Display PCI Express Root port Func Press EnterOnboard Device Integrated PeripheralsOnChip IDE Device ECP Mode Use DMA Parallel Port Mode ECP+EPPEPP Mode Select EPP1.9 Super IO DeviceUSB Device Setting Security Chip Configuration Optional Item TPM Support Power Management Setup PowerOn by Modem Enabled Suspend Mode DisabledPowerOn by LAN Enabled USB KB WakeUp From S3 DisabledResources Controlled By AutoESCD 10 PnP/PCI ConfigurationsReset Configuration Data Disabled PC Health Status Frequency/Voltage ControlLoad Setup Defaults Set Password Bios Operation Save & Exit Setup Quit without SavingChipset Software Installation Utility Before You Begin Windows XP Driver Setup Page VGA Setup Windows Vista/XP/2000 LAN Configuration Installation Win XP/Vista Driver Setup Realtek RTL8111CAppendix a Programming the Watchdog Timer Programming the Watchdog TimerWatchdog Timer Overview Appendix a Programming the Watchdog Timer Table A.1 Watchdog Timer Registers Address of Register 2E AttributeExample Program Page Appendix a Programming the Watchdog Timer Page Appendix B Table B.2 USB Header USB56 USB Header USB56, USB78Table B.1 Parallel Port LPT1 Table B.4 RS-232 Interface COM1~COM4 Table B.3 VGA Connector VGA1RS-232 Interface Table B.5 RS-232/422/485 Setting Interface JETCOM2 RS-232/422/485 Setting Interface JETCOM2SPICN1 SPI Fresh Card Pin Connector Table B.6 SPICN1SPI Fresh Card Pin ConnectorTable B.8 CPU Fan Power Connector CPUFAN1 CPU Fan Power Connector CPUFAN1Table B.7 PS/2 Keyboard and Mouse Connector KBMS1 Table B.9 System Fan Power Connector SYSFAN1/SYSFAN2 System Fan Power Connector CHAFAN1Power LED & Keyboard Lock Connector JFP3 Table B.10 Power LED & Keyboard Lock Connector JFP3Table B.11 External Speaker Connector JFP2/SPEAKER Table B.12 Reset Connector JFP1/ ResetTable B.14 USB Port Table B.13 ATX Power Connector ATX214 USB/LAN ports LAN1USB12/LAN2USB34 Table B.15 Ethernet 10/100 Mbps RJ-45 Port18 AC-97 Audio Interface FPAUD1 17 AT/ATX Mode PSON1Serial ATA0/1 SATA1/SATA2 Table B.19 AT/ATX Mode PSON1 Gpio Pin Header GPIO1Table B.20 LVDS1 Connector Optional Table B.22 Lvds Power Jumper Lvds Power Jumper JLV1, JLV2Table B.21 LVDS2 Connector Optional System I/O Ports Table B.23 Lvds Power JumperLvds Invert INV1 & INV2 Optional Table B.24 System I/O Ports26 1st MB Memory Map DMA Channel AssignmentsInterrupt Assignments Appendix B I/O Pin Assignments