Intel IB935 user manual C. Watchdog Timer Configuration, EnableAndSetWatchdog

Page 59
C. Watchdog Timer Configuration

APPENDIX

C. 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

push ax

;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

IB935 User’s Manual

55

Image 59
Contents USER’S MANUAL IB935, IB935RFVersion IB935Acknowledgments Realtek HD Code Audio Driver Installation InstallationsBIOS Setup Drivers InstallationThe IB935 CPU Card INTRODUCTION IntroductionProduct Description Reminder ChecklistSpecifications Board Dimensions INSTALLATIONS InstallationsInstalling the CPU DDR2 Module Lock Installing the MemoryLock Setting the Jumpers Page Jumper Locations on IB935Jumpers on IB935 JP5 Power ON Setting JP4 Configure and Recovery Factory use onlyJP11 JP7 ICH9 PCI-E port 1-4 Configuration SettingsJP11 Clear CMOS Contents JP7 SettingConnectors on IB935 Factory use only Connector Locations on IB935CN1, CN2, CN3, CN4 SATA HDD Connector ATX1 ATX 12V Power ConnectorCPUFAN1 CPU Fan Power Connector SYSFAN1, SYSFAN2 SYSTEM Fan Power ConnectorFDD1 IDE1 Primary IDE ConnectorFDC1 Floppy Drive Connector IDE1AutoFeed VGA1 VGA CRT ConnectorJ1 External Audio Connector J2 Parallel Port ConnectorJ5 CD-In Audio Connector J3 Digital I/O Connector 4 in, 4 outJ4 IrDA Connector J7 is a 10-pin header support RS232 COM ports J7 COM1 Serial Ports ConnectorJ8 System Function Connector J6 COM2 Serial PortReset Switch Pins 9 and Speaker Pins 1Power LED Pins 11 ATX Power ON Switch Pins 7 andJ12 Wake On LAN Connector J9 PS/2 Keyboard and Mouse ConnectorJ10, J11 External PS/2 Mouse and Keyboard Connector J16 SPI Debug Tools Port Factory use only J13 USB ConnectorJ14 USB Connector J15, J17 Gigabit LAN RJ45 ConnectorThis page is intentionally left blank BIOS Setup Press DEL to Enter Setup BIOS IntroductionBIOS Setup Standard CMOS Features Date Standard CMOS SetupLanding Zone Landing zone TimeIDE Channel Master/Slave Drive A / Drive BThe system boot will not be halted for any error VideoHalt On Quick Power On Self Test Advanced BIOS FeaturesCPU Feature Hard Disk Boot PriorityBoot Up NumLock Status First/Second/Third Boot DeviceBoot Other Device Boot Up Floppy SeekOS Select for DRAM 64MB Security OptionAPIC Mode MPS Version Control for OSDRAM RAS# to CAS# Delay Advanced Chipset FeaturesDRAM Timing Selectable CAS Latency TimeSystem Memory Frequency System BIOS CacheableVGA Setting Precharge delay tRASIntegrated Peripherals IDE Primary/Secondary Master/Slave PIO IDE DMA Transfer AccessIDE HDD Block Mode OnChip Secondary PCI IDELEGACY Mode Support Power ON FunctionKB Power ON Password Hot Key Power ONUSB 2.0 Controller Parallel Port ModePWRON After PWR-Fail USB 1.0 ControllerACPI Suspend Power Management SetupPower Management ACPI FunctionSuspend Type HDD Power DownVideo Off Method Video Off In SuspendReload Global Timer Events Power On by RingResume by Alarm Init Display First PNP/PCI ConfigurationsPNP OS Installed Reset Configuration DataTemperatures/Fan Speeds/Voltages PC Health StatusShutdown Temperature CPU Warning TemperatureSpread Spectrum Frequency/Voltage ControlAuto Detect PCI Clk Save & Exit Setup Load Fail-Safe DefaultsLoad Optimized Defaults Set Supervisor PasswordIDE Controller Driver Installation……………………………..52 Drivers InstallationIntel Chipset Software Intallation Utility 2. Click IntelR Chipset Software Installation Utility6. When the Setup Progress screen appears, click Next to continue 2. Click IntelR Bearlake Chipset Family Graphics Driver Intel Graphics Driver Installation2. Click Realtek High Definition Codec Audio Driver Realtek HD Code Audio Driver Installation2. Click IntelR PRO LAN Network Drivers Intel PRO LAN Drivers Installation1. The BIOS Setup item “Wake-Up by PCI card” has to be set as Enabled IDE Controller Drivers Installation A. I/O Port Address Map AppendixLevel B. Interrupt Request Lines IRQEnableAndSetWatchdog C. Watchdog Timer Configurationset count mode as second Name UnlockChip IN None Name ReadReg IN CL - register index D. Digital I/O Sample Code void LockW627HF void //===================================================================== void UnlockW627HF void switch to logic device IB935 User’s Manual This page is intentionally left blankAPPENDIX