Advantech MIC-3318 manual Programming the Watchdog Timer

Page 62

A.1 Overview

The MIC-3318's watchdog timer can be used to monitor system software operation and take corrective action if the software fails to function after the programmed period. This section describes the operation of the watchdog timer and how to program it.

The watchdog timer is built-in the super I/O controller W83627HF. 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 after 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 assign the address of register by writing address value into address port 2E(hex), then write/read data to/from the assigned register through data port 2F (hex).

Figure A-1: Procedure of programming the watchdog timer

5 4 MIC-3318 User's Manual

Image 62
Contents MIC-3318 CE Notification Product Warranty Packing List Contents Software Configuration Programming the Watchdog Timer Figures Hardware Configuration Introduction High Performance Intel Pentium 4 Processor-MSpecifications Standard SBC functionsMechanical and Environmental Specifications DisplayFunction Block Diagram MIC-3318 function block diagramBoard Dimensions MIC-3318 board dimensionsJumper Settings Assembling / Disassembling MIC-3318Jumper Locations Number FunctionJumper Settings Open ClosedCompactFlash master/slave selection1F-JP5, pin 1,2 Clear Cmos JP1, pin 2,4,6Serial Ports COM1 and COM2 Mode RS-232/ 422/485 Connectors HDD LEDMIC-3318 connector locations 1F Front Panel Connectors and Indicators Safety PrecautionsInstalling Sdram SODIMMs Page Connecting Peripherals CompactFlash Interface 1F-CN2 VGA Display Connector 1F-CN7IDE Device 2F-CN8, CN9 PS/2 Keyboard and Mouse Conn F-CN1Serial Ports 2F-CN3, CN5, CN4, CN6 Ethernet Configuration 2F-RJ1, RJ2USB Connector 1F-CN15, CN16 Card Installation Install a card by forcing it into the chassisInstalling/removing the MIC-3318 into/from the chassis Page Software Configuration Overview Intel Chipset Software Installation Utility Utilities and DriversIDE Drivers Intel Application Accelerator USB Drivers /Utility USB driver Watchdog Timer WDT DriverInstalling the Driver for the MIC-3318 Watchdog Timer Software Configuration Page Software Configuration How to Use the MIC-3318 Watchdog Timer Software Configuration Page Award Bios Setup Initial screen of the setup program Entering Setup Standard Cmos SetupAdvanced Bios Features Setup Advanced Bios features setup screenCPU L1 & L2 Cache Default value is On Default is Enabled Advanced Chipset Features Setup Advanced Chipset Features setup screenUser can select 3 options DDR200, DDR266, Auto Default System Bios Cacheable Integrated Peripherals setup screens Integrated PeripheralsOn-Chip Primary/Secondary PCI IDE Init Display First Power Management Setup Parallel Port Mode6 PNP/PCI Configuration Setup PNP/PCI configuration screenReset Configuration Data Load Optimized Defaults PC Health StatusExit Without Saving Set PasswordSave & Exit Setup Programming the Watchdog Timer Programming the Watchdog Timer Figure A-1 Procedure of programming the watchdog timerAddress Register 2E Attribute Description Enable watchdog timer and set 10 sec. as timeout interval Example ProgramsAppendix a Programming the Watchdog Timer Page Appendix a Programming the Watchdog Timer Enable watchdog timer to be reset by mouse Appendix a Programming the Watchdog Timer Enable watchdog timer to be reset by keyboard Appendix a Programming the Watchdog Timer Page Pin Assignments PS/2 Keyboard and Mouse Port 1F-CN1 GND PDD3 PDD11 PDD4 DB-15 VGA Port 1F-CN7 USB 1.1/2.0 Ports 1F-CN15 and 1F-CN16 COMport 2F-CN3, 2F-CN5, 2F-CN4,2F- CN6 Parallel Port 2F-CN7,2F-CN8 For front panel 2F-CN7Secondary IDE Connector for 2.5 HDD 2F-CN9, 2F-CN17 For direct installation 2F-CN9 For wiring out 2F-CN17IRQ15 SDA1 S66DET SDA0 SDA2 SDCS#1 SDCS#3 Hddled GND Gigabit LAN Port 2F-RJ1,2F-RJ2