Intel AR-B1760 user manual Watchdog Timer Configuration, Sample Code

Page 30

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

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

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

mov

al, 01h

 

mov

cl, 30h

 

call

Write_Reg

;watchdog enabled

call

Lock_Chip

 

ret

 

 

 

 

 

 

26

AR-B1760 User’s Manual

Image 30
Contents USER’S Manual VersionAcknowledgments Table of Contents This page is intentionally left blank Product Description RemarksChecklist AR-B1760 Specifications CPU TypeBoard Dimensions Installations Installing the CPU Installing and Removing Memory Modules Installing the MemorySupported Ddrm Dimm Configurations LockSetting the Jumpers Jumper Locations on AR-B1760 JP2 Gigabit LAN Enable/Disable Configuring the CPU FrequencyJP1 Lvds Panel Power Select JP3 Compact Flash Slave/MasterJP4 Clear Cmos Contents JP8 COM1 RS232 +5V / +12V Power SettingJP11 COM4 RS232 +5V / +12V Power Setting JP9 COM2 RS232 +5V / +12V Power SettingJP10 COM3 RS232 +5V / +12V Power Setting JP12JP16 Processor Operating Frequency JP16Connectors on AR-B1760 Connector Locations on AR-B1760 Connectors on AR-B1760IDE1, IDE2 Eide Connectors FAN1, FAN2 System Fan Power ConnectorFAN3 CPU Fan Power Connector IDE1 Primary IDE Connector Signal Name Pin #IDE2 Secondary IDE Connector Signal Name Pin # J1 CD-In Audio ConnectorCN2 AT H2/+5V Power Connector Signal Name Pin J2 External Audio ConnectorCN3 Digital 4-in 4-out I/O Connector J3 Wake On LAN ConnectorSpeaker Pins 1 J4 Gigabit LAN Connector used with ID240/optionJ5 System Function Connector Power LED PinsReset Switch Pins 7 ATX Power on Switch Pins 5SMI/Hardware Switch Pins 6 Hard Disk Drive LED Connector Pins 8J8 VGA CRT Connector J6 Tmds Connector optionJ7 10/100Mbit Ethernet Connector Pin Signal Name +5VJ10 Floppy Drive Connector J14 Panel Inverter Power Connector J15, J16 USB ConnectorsJ17 Parallel Port Connector J20 IrDA Connector Pin # Signal Name RS-232Pin # Signal Name RS-232 R2-422 RS-485 J18 Serial PortsJ21 ATX Power Supply Connector J23 PS/2 Keyboard/Mouse ConnectorWatchdog Timer Configuration Sample CodeClear watchdog timer OUT Digital I/O Sample Code W627HFLOCKInstallations Switch to logic device This page is intentionally left blank Bios Setup Bios Introduction Bios SetupPhoenix AwardBIOS Cmos Setup Utility Standard Cmos Setup DateTime IDE Primary HDDs / IDE Secondary HDDsDrive a / Drive B Video Halt OnHard Disk Boot Priority Advanced Bios FeaturesCPU Feature Virus WarningBoot Other Device Quick Power On Self TestFirst/Second/Third Boot Device Boot Up Floppy SeekSecurity Option Typematic Delay MsecApic Mode MPS Version Control for OSDram RAS# to CAS# Delay Advanced Chipset FeaturesActive to Precharge Delay Dram Timing SelectableVideo Bios Cacheable Dram Data Integrity ModeSystem Bios Cacheable Delayed TransactionOn-Chip VGA Boot DisplayAGP Aperture Size On-Chip Frame Buffer SizeIntegrated Peripherals OnChip Primary/Secondary PCI IDE IDE HDD Block ModeOnboard Sata chip Mode IDE Primary/Secondary Master/Slave PIOUSB Keyboard Support USB ControllerUSB 2.0 Controller USB Mouse SupportUart Mode Select Parallel Port ModePwron After PWR-Fail Power Management Power Management SetupPower Supply Type Acpi FunctionVideo Off Method Suspend ModeHDD Power Down Video Off In SuspendPower On by Ring Resume by AlarmReload Global Timer Events Resources Controlled by PNP/PCI ConfigurationsReset Configuration Data PCI/VGA Palette SnoopShutdown Temperature CPU Warning TemperatureTemperatures/Voltages PC Health StatusFrequency/Voltage Control Auto Detect PCI ClkSpread Spectrum Modulated Set Supervisor Password Load Fail-Safe DefaultsLoad Optimized Defaults Save & Exit SetupThis page is intentionally left blank Drivers Installation Click IntelR Chipset Software Installation Utility Intel Chipset Software Intallation UtilityDrivers Installation VGA Drivers Installation Click IntelR 855GME Chipset Family Graphics DriverAC97 Codec Audio Driver Installation Click Realtek AC97 Codec Audio DriverIntel PRO LAN Drivers Installation Click Install Base Software to continueO Port Address Map Address Device DescriptionInterrupt Request Lines IRQ Level Function