Intel IB865, 865G user manual Watchdog Timer Configuration, Sample Code

Page 32

INSTALLATIONS

Watchdog Timer Configuration

The WDT is used to generate a variety of output signals after a user programmable count. The WDT is suitable for use in the prevention of system lock-up, such as when software becomes trapped in a deadlock. Under these sort of circumstances, the timer will count to zero and the selected outputs will be driven. Under normal circumstance, the user will restart the WDT at regular intervals before the timer counts to zero.

SAMPLE CODE:

This code and information is provided "as is" without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

;[]================================================

;Name : Enable_And_Set_Watchdog

;IN : AL - 1sec ~ 255sec

;OUT : None ;[]================================================ Enable_And_Set_Watchdog Proc Near

pushax

;save time interval

call Unlock_Chip

 

mov cl, 2Bh

 

call Read_Reg

 

and al, NOT 10h

 

call Write_Reg

;set GP24 as WDTO

mov cl, 07h

 

mov al, 08h

 

call Write_Reg

;switch to LD8

mov cl, 0F5h

 

call Read_Reg

 

and al, NOT 08h

 

call Write_Reg

;set count mode as second

pop ax

 

mov cl, 0F6h

 

call Write_Reg

;set watchdog timer

28

IB865 User’s Manual

Image 32
Contents USER’S Manual VersionAcknowledgments Table of Contents IB865 User’s Manual Checklist IntroductionProduct Description Specifications CPUBoard Dimensions Installations Installing the CPU ATX Power Installation Installing the MemorySetting the Jumpers Jumper Locations on IB865 JP1 Clear Cmos Contents JP5/6/7/8/9/10/11 CRT VGA Signal SelectJP13 Primary LAN Enable/Disable JP14 DiskOnChip Address SelectJP2 Panel Voltage Setting J4 TV out ConnectorJP1 TV Type Select JP2 Lvds Panel Power SelectJ2, J3 Lvds Connectors 2nd channel, 1st channel Jumper and Connectors on IBA110 J1 Tmds Panel Connector J2 CRT2 / TV-Out ConnectorJ3 Panel Inverter Power Connector J4 VGA Chipset Fan Power ConnectorJ5, J6 Lvds Connectors 2nd channel, 1st channel JP1 Lvds Panel Power SelectSW1 Lvds Resolution Select Connectors on IB865 Connector Locations on IB865 IDE1, IDE2 Eide Connectors IRQ15FDD1 Floppy Drive Connector CN1 ATX 12V/+12V Power ConnectorCN2, CN3 USB Connectors J3 CPU Fan Power ConnectorJ7 External ATX Power Connector J8, J9 System Fan Power ConnectorJ1 System Function Connector Speaker Pins 1SMI/Hardware Switch Pins 6 J2 Parallel Port Connector J4, J5 COM1 and COM2 Serial Ports ConnectorJ10 Wake On LAN Connector J11 External Audio ConnectorJ12 CD-In Audio Connector J13, J14 Serial ATA Sata ConnectorsJ17 IrDA Connector J15 VGA CRT ConnectorJ16, J18 External PS/2 Keyboard and Mouse Connector J19 PS/2 Keyboard and Mouse Connector J20 Primary RJ45 ConnectorJ21 Gigabit LAN RJ45 Connector AGP1 MicroAGP Connector for IBA110 / IBA120Watchdog Timer Configuration Sample CodeName DisableWatchdog None Name LockChip None Bios Setup Bios Introduction Bios SetupPhoenix AwardBIOS Cmos Setup Utility Standard Cmos Setup DateDrive a / Drive B TimeIDE Primary HDDs / IDE Secondary HDDs Video Halt OnAdvanced Bios Features CPU FeatureHard Disk / CD-ROM Boot Priority Virus WarningQuick Power On Self Test First/Second/Third Boot DeviceBoot Other Device Boot Up Floppy SeekTypematic Delay Msec Apic ModeTypematic Rate Chars/Sec Security OptionAdvanced Chipset Features Active to Precharge DelayDram RAS# to CAS# Delay Dram Timing SelectableAGP Aperture Size Boot Display Video ConnectorOn-Chip VGA On-Chip Frame Buffer SizeIntegrated Peripherals IDE HDD Block Mode OnChip Primary/Secondary PCI IDEIDE Primary/Secondary Master/Slave PIO IDE Primary/Secondary Master/Slave UdmaUart Mode Select Parallel Port ModePower After PWR-Fail Onboard Lan Boot ROMAcpi Function Power Management SetupPower Supply Type Power Management Suspend ModeHDD Power Down Video Off MethodPower On by Ring Resume by AlarmReload Global Timer Events CPU THRM-ThrottlingPNP/PCI Configurations PNP OS InstallReset Configuration Data Resources Controlled byCPU Warning Temperature Temperatures/Fan Speeds/VoltagesShutdown Temperature Temperature/CPU/Chassis Fan Failure WarningSpread Spectrum Frequency/Voltage ControlAuto Detect PCI Clk Load Fail-Safe Defaults Load Setup DefaultsSet Supervisor/User Password Save & Exit SetupDrivers Installation Intel 865G Chipset Software Intallation Utility Drivers Installation Drivers Installation Intel 865G Chipset Graphics Driver Drivers Installation Realtek AC97 Codec Audio Driver Installation Intel PRO LAN Drivers Installation