Intel PMB-531LF user manual Watchdog Timer Configuration, Example Code

Page 50

Chapter 3 Software Configuration

3-9. WATCHDOG TIMER CONFIGURATION

The Watch-dog Timer has a programmable time-out ranging from 1 to 255 minutes with one minute resolution, or 1 to 255 seconds with 1 second resolution. The units of the WDT timeout value are selected via bit[7] of the WDT_TIMEOUT register, which is located on I/O Port address 0x865h. The WDT time-out value is set through the WDT_VAL Runtime register, which is located on I/O Port address 0x866h. Setting the WDT_VAL register to 0x00 disables the WDT function Setting the WDT_VAL to any other non-zero value will cause the WDT to reload and begin counting down from the value loaded. Setting the Register located on I/O address 0x867h and 0x868h as 00h to finish timer configuration.

Example Code

(1)

 

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

 

Enable Watch-Dog Timer

 

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

 

mov dx,(800h + 65h)

;Time counting Unit minute or second

mov al,80h

;al = 00h : unit minute

out dx,al

;al = 80h : unit second

 

mov dx,(800h + 66h) ;

 

mov al,20

;al = Watch dog Timer Second(s), 20 sec(s)

out dx,al

 

mov dx,(800h + 67h)

 

mov al,00h

 

out dx,al

 

mov dx,(800h + 68h)

;Start Watch Dog Timer

mov al,00h

 

out dx,al

 

(2)

 

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

 

Disable Watch-Dog Timer

 

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

 

mov dx,(800h + 66h)

;Disable Watch Dog Timer

 

 

 

 

PMB-531LF USERS MANUAL

Page:3-11

Image 50
Contents USER’S Manual PMB-531LF Intel Core Duo/Solo FCC Notice Table of Contents Appendix Expansion BUS Introduction Hardware Configuration About this ManualSystem Specifications CPUIDE Interface Irda Port Safety Precautions Hardware Jumper & Connector Quick Reference Table JKBMS1PMB-531LF Connector, Jumper and Component locations Component LocationsHOW to SET the Jumpers Jumpers and CapsJumper Diagrams Jumper SettingsCOM Port Connector RS-232 RS-422 RS-485DCD3 COM3/4 RI & Voltage Selection COM4 Jumper Settings Function Pin closed Illustrations RS232/422/485 COM2 SelectionJPANEL1 13, 15 Reset Connector PS/2 Keyboard and Mouse ConnectorReset Connector External Speaker Connector Hard Disk Drive LED ConnectorATX Power Button JPANEL1 14, 16 ATX Power ButtonKeep Cmos Power LED ConnectorClear Cmos Data Selection CPU FAN Connector System FAN ConnectorHard Disk Drive Connector PIN AssignmentVGA Connector Serial ATA Connector Universal Serial BUS Connector USB&LAN Connector MDI3NIrda Connector ATX Power ConnectorSound Connector Audio CD-IN Connector Lvds ConnectorInverter Connector Lvds Panel Voltage SelectionFSB Frequency Selection Power State Selection Selections Jumper Setting Jumper IllustrationsRESET/ NMI Selections Selections Jumper Setting Jumper IllustrationCF Card MASTER/SLAVE Selections CloseTotal memory size TV OUT ConnectorMemory Installation Software Utilities Introduction Filename Purpose Assume that CD ROM drive is DInstallation of VGA Driver VGA Driver UtilityTo update VGA Bios for LCD Flat Panel Display Flash Bios UpdateSystem Bios Update Page3-5 LAN Driver Utility IntroductionInstallation Procedure for Windows 2000/XP/2003 Sound Driver UtilityIntel Chipset Software Installation Utility Installation of Utility for Windows 2000/XP/2003USB2.0 Software Installation Utility Installation of Utility for Windows 2000/XPRAID Software Installation Utility Installation of Utility for Windows 2000/2003/XPWatchdog Timer Configuration Example CodePage3-12 Award Bios Setup Introduction Entering Setup Setup program initial screenStandard Cmos Features Cmos Setup screenTime Base Memory VideoHalt on Extended MemoryHard Disk Attributes Award Hard Disk Type TableAdvanced Bios Features Bios Features Setup ScreenExecute Disable Bit CPU FeatureDelay Prior to Thermal Thermal Management The used Thermal Monitor C1E FunctionSecurity Option Hard Disk Boot PriorityFIRST/SECOND/ THIRD/ Other Boot Device Chipset Features Setup Screen Advanced Chipset FeaturesApic Mode MPS Version Control for OSCAS Latency Time Dram RAS# to CAS# DelayDram Timeing Selectable Dram RAS# Precharge TimeDvmt Mode System Bios CacheableVideo Bios Cacheable Boot DisplayIntegrated Peripherals Setup Screen Integrated PeripheralsOnchip IDE Device IDE HDD Block ModeIDE DMA Transfer Access OnChip Primary PCI IDESecondary Master/Slave PIO Sata ModePata IDE Mode Primary Master/Slave Udma Secondary Master/Slave UdmaUSB 2.0 Controller Onboard DeviceUSB Controller USB Keyboard SupportWatchdog Support Super IO DeviceOnboard Serial Port Acpi Function Power Management SetupPower Management Setup Screen SOFT-OFF by PWR-BTTNReset Configuration Data PNP/PCI ConfigurationPNP/PCI Configuration Setup Screen Init Display FirstIRQ Resources IRQ-n Assigned toPC Health Status Shutdown TemperatureCurrent CPU Temperature VcoreLoad FAIL-SAFE Defaults Load Optimized DefaultsTo Disable the Password Password SettingTo SET a Password Save & Exit Setup Exit Without Saving Expansion BUS MINI-PCI BUS Connector PIN Assignment A-2A-3 Compact Flash Card Connector PIN Assignment PIN AssignmentTechnical Summary Block Diagram Interrupt MAP IRQ AssignmentRTC & Cmos RAM MAP Code AssignmentDMA Channel Map Assignment Timer & DMA Channels MAPTimer Channel Map Assignment Map Memory MAPMemory Map