Advantech AIMB-766 user manual Appendix a Programming the Watchdog Timer

Page 99

Inc dx In al,dx

And al,not 08h Out dx,al

;-----------------------------------------------------------

Dec dx ; Set timeout interval as 10 seconds and start counting Mov al,0f6h

Out dx,al Inc dx Mov al,10 Out dx,al

;-----------------------------------------------------------

Dec dx ; lock W83627DHG Mov al,0aah

Out dx,al

Enable watchdog timer and set 5 minutes as the timeout interval

;-----------------------------------------------------------

Mov dx,2eh ; unlock W83627DHG Mov al,87h

Out dx,al Out dx,al

;-----------------------------------------------------------

Mov al,07h ; Select registers of watchdog timer Out dx,al

Inc dx Mov al,08h Out dx,al

;-----------------------------------------------------------

Dec dx ; Enable the function of watchdog timer Mov al,30h

Out dx,al Inc dx Mov al,01h Out dx,al

;-----------------------------------------------------------

Dec dx ; Set minute as counting unit Mov al,0f5h

Out dx, al Inc dx In al,dx Or al, 08h Out dx,al

;-----------------------------------------------------------

Dec dx ; Set timeout interval as 5 minutes and start counting Mov al,0f6h

Appendix A Programming the Watchdog Timer

87

AIMB-766 User Manual

Image 99
Contents AIMB-766 Copyright Acknowledgements Message to the Customer Advantech Customer ServicesFCC Declaration of ConformityBrand Size Speed Type ECC Vendor PN Advantech PN Memory Memory CompatibilityAIMB-766 Feature Comparison Product Warranty 2 yearsInitial Inspection Viii Contents Bios Operation Appendix B Appendix aTable B.7 Keyboard and Mouse Connector KBMS1 Chapter Introduction Features Hardware ConfigurationSpecifications SystemMemory Ethernet LAN Industrial FeaturesMechanical and Environmental Specifications Input/OutputJumper list Jumpers and ConnectorsUSB78 Jumper and Connector Locations Board Layout Jumper and Connector LocationsAIMB-766 Block Diagram AIMB-766 Block DiagramSafety Precautions Jumper Settings How to set jumpersCmos clear CMOS1 Watchdog timer output JWDT1 CPU FSB and memory speed Memory Installation ProceduresSystem Memory Cache MemoryProcessor Installation PCI Bus Routing Table Page Connecting Peripherals Primary IDE1 IDE Connector Floppy Drive Connector FDD1 Connecting PeripheralsParallel 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 Entering Setup Bios OperationSystem time / System date Main SetupAdvanced Bios features setup screen Advanced Bios Features SetupHardware Prefetcher CPU ConfigurationIDE Configuration Sata Configuration IDE ConfigurationFloppy a Super I/O ConfigurationCPU Warning Temperature Hardware Health ConfigurationAcpi Settings Acpi SettingsAdvanced Acpi Configuration General Acpi ConfigurationApic Acpi SCI IRQ South Bridge Acpi ConfigurationPower Button Mode APM ConfigurationRemote Access Configure Remote Access Type and parameters15 Trusted Computing Trusted ComputingPlug and Play O/S Advanced PCI/PnP SettingsPCI Latency Timer Clear Nvram17 Boot Setup Utility Boot SettingsBoot settings Configuration Security Setup20 Advanced Chipset Settings Advanced Chipset Settings22 Video function configuration Dvmt model select North Bridge Chipset Configuration23 South Bridge Configuration South Bridge Chipset Configuration24 South Bridge Chipset Configuration ME Subsystem ConfigurationExit Option Save Changes and ExitDiscard Changes and Exit Load Fail-Safe Defaults Load Optimal 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 Intel AMT Overview Windows XP Intel ME Management Engine Interface SetupAMT Setup Please click Next to continue the installation Windows XP AMT ME Driver Setup Page AMT Setup Page Appendix a Programming the Watchdog Timer Watchdog timer overviewAppendix a Programming the Watchdog Timer Example Programs Table A.1 Watchdog timer registersAppendix a Programming the Watchdog Timer Page Appendix a Programming the Watchdog Timer Page Appendix B Table B.1 IDE hard drive connector IDE1 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 LAN2USB34 18 USB/LAN ports LAN1USB12Front Panel Audio Connector FP Audio 22 8-pin Alarm Board Connector VOLT1Audio Input from CD-ROM CDIN1 Front Panel LAN LED Connector LANLED1 TPMSLOT1 TPM module connector SPICN1 SPI fresh card pin connectorDMA Channel Assignments System I/O Ports30 1st MB Memory Map Interrupt Assignments