Advantech AIMB-766 user manual Watchdog timer overview, Programming the Watchdog Timer

Page 96

The AIMB-766’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 Watchdog timer overview

The watchdog timer is built in to the super I/O controller W83627DHG. It provides the following functions for user programming:

!Can be enabled and disabled by user’s 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.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 write an address value into address port 2E (hex), and then write/read data to/from the assigned register through data port 2F (hex).

AIMB-766 User Manual

84

Image 96
Contents AIMB-766 Copyright Acknowledgements Advantech Customer Services Message to the CustomerDeclaration of Conformity FCCMemory Compatibility Brand Size Speed Type ECC Vendor PN Advantech PN MemoryProduct Warranty 2 years AIMB-766 Feature ComparisonInitial Inspection Viii Contents Bios Operation Appendix a Appendix BTable B.7 Keyboard and Mouse Connector KBMS1 Chapter Introduction Hardware Configuration FeaturesSpecifications SystemMemory Industrial Features Mechanical and Environmental SpecificationsInput/Output Ethernet LANJumpers and Connectors Jumper listUSB78 Board Layout Jumper and Connector Locations Jumper and Connector LocationsAIMB-766 Block Diagram AIMB-766 Block DiagramSafety Precautions Jumper Settings How to set jumpersCmos clear CMOS1 Watchdog timer output JWDT1 Memory Installation Procedures System MemoryCache Memory CPU FSB and memory speedProcessor Installation PCI Bus Routing Table Page Connecting Peripherals Primary IDE1 IDE Connector Connecting Peripherals Floppy Drive Connector FDD1Parallel Port LPT1 LAN1USB12 LAN2USB34 USB56 USB78 VGA Connector VGA1 Serial Ports COM1, COM2, COM3 & COM4 PS/2 Keyboard and Mouse Connector KBMS1 External Keyboard & Mouse KBMS2 CPU Fan Connector CPUFAN1 System FAN Connector SYSFAN1 and SYSFAN2 Front Panel Connectors JFP1, JFP2 & JFP3 Power LED and Keyboard Lock JFP3External Speaker JFP2 pins 1, 3, 5 HDD LED Connector JFP2 pins 2 ATX Soft Power Switch JFP1 pins 1Reset Connector JFP1 pins 3 Line Out, Mic In Connector AUDIO1 14 8-pin Alarm Board Connector VOLT1 Case Open Connector JCASE1 Front Panel LAN Indicator Connector LANLED1 Page PCI Slots PCI 1 ~ PCI PCIe x16 Expansion Slot PCIEX161 PCIEX11 PCIEX12 Auxiliary 4-pin power connector ATX1 TPM connector 20-1 pin TpmslotSPI Flash connectorSPICN1 Page Bios Operation Setup program initial screen Bios Operation Entering SetupMain Setup System time / System dateAdvanced Bios Features Setup Advanced Bios features setup screenCPU Configuration Hardware PrefetcherIDE Configuration IDE Configuration Sata ConfigurationSuper I/O Configuration Floppy aHardware Health Configuration CPU Warning TemperatureAcpi Settings Acpi SettingsGeneral Acpi Configuration Advanced Acpi ConfigurationSouth Bridge Acpi Configuration Apic Acpi SCI IRQAPM Configuration Power Button ModeConfigure Remote Access Type and parameters Remote AccessTrusted Computing 15 Trusted ComputingAdvanced PCI/PnP Settings PCI Latency TimerClear Nvram Plug and Play O/SBoot Settings 17 Boot Setup UtilitySecurity Setup Boot settings ConfigurationAdvanced Chipset Settings 20 Advanced Chipset SettingsNorth Bridge Chipset Configuration 22 Video function configuration Dvmt model selectSouth Bridge Chipset Configuration 23 South Bridge ConfigurationME Subsystem Configuration 24 South Bridge Chipset ConfigurationExit Option Save Changes and ExitDiscard Changes and Exit Load Optimal Defaults Load Fail-Safe DefaultsChipset Software Installation Utility Before you begin Windows XP Driver Setup Page VGA Setup Windows Vista/XP/2000 Driver Setup LAN Configuration Installation Win XP Driver Setup LAN Page AMT Setup Windows XP Intel ME Management Engine Interface Setup Intel AMT OverviewAMT Setup Please click Next to continue the installation Windows XP AMT ME Driver Setup Page AMT Setup Page Appendix a Watchdog timer overview Programming the Watchdog TimerAppendix a Programming the Watchdog Timer Table A.1 Watchdog timer registers Example ProgramsAppendix a Programming the Watchdog Timer Page Appendix a Programming the Watchdog Timer Page Appendix B IDE Hard Drive Connector IDE1 Table B.1 IDE hard drive connector IDE1Appendix B I/O Pin Assignments USB Header USB56, USB78, USB910 USB1112 RS-232 Interface COM1, COM2, COM3 & COM4 External Keyboard Connector KBMS2 Infrared IR connector JIR1 10 CPU/System Fan Power Connector SYSFAN1Power LED and Keyboard Lock JFP3 External Speaker Connector JFP2 Reset Connector JFP1HDD LED Connector JFP2 ATX Soft Power Switch JFP1 16 H/W Monitor Alarm JOBS1SM Bus Connector JFP2 18 USB/LAN ports LAN1USB12 LAN2USB34Front Panel Audio Connector FP Audio 22 8-pin Alarm Board Connector VOLT1Audio Input from CD-ROM CDIN1 Front Panel LAN LED Connector LANLED1 SPICN1 SPI fresh card pin connector TPMSLOT1 TPM module connectorSystem I/O Ports DMA Channel AssignmentsInterrupt Assignments 30 1st MB Memory Map