ADS Technologies AR-B1851 manual Appendix A. Watchdog Timer

Page 35

AR-B1851 User’s Guide

Appendix A. Watchdog Timer

The WDT(Watch Dog Timer)is used to generate a variety of output signals after a user programmable cont. 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.

WATCHDOG TIMER SETTING

The watchdog timer is a circuit that maybe be used from your program software to detect crash or hang up. The watchdog timer is automatically disabled after reset. Once you enabled the watchdog timer, your program should trigger the watchdog timer every time before it times out. After you trigger the watchdogtimer, the timer will be set to zero and start to count again. If your program fails to trigger the watchdog timer before times out, it will generate a reset pulse to reset the system or trigger the IRQ9 signal in order to tell your system that the watchdog time is out.

User could test watch dog function under ’Debug.exe’ program as follows:

WDT Example

Description

 

 

 

o 2e 87

;Extended Functions Enable Register

 

 

 

o 2e 87

;Extended Functions Enable Register

 

 

 

o 2e 07

;EFIR=EFER(Extended Function Index

 

 

 

 

 

Register)point to Logical Device Number Reg.

 

o 2f 08

;EFDR=EFIR+1, select logical device 8

 

 

 

o 2e 30

;select CR30

 

 

 

o 2f 01

;update CR30 with value 01H

 

 

 

o 2e f6

;select CRF6

 

 

 

o 2f 08

;update CRF6 with value 08H,(8sec reset)

 

 

 

g

;go

 

 

 

 

 

 

 

 

 

 

 

AR-B1851

35

 

Image 35
Contents AR-B1851 AR-B18512 @CopyrightContents AR-B18514 Award Bios SetupAR-B18515 SpecificationsAR-B18516 AR-B18517 What You HaveAR-B1851’s Layout Top Placement AR-B18518Bottom Placement AR-B18519 Power Button Setting Jumper description Cmos ResetAR-B185112 JP4 Select COM4 is RS232 or RS422/485Description JP6 Select LCD VoltageAR-B1851 Ultra ATA33/66/100 IDE Disk Drive ConnectorIDE1IDE 1 Secondary IDE Connector 44 Pins AR-B185114 Serial PortsCOM1~4COM2 RS-232 Serial port Pin Header COM1 RS-232 with RS-422/485 Serial portPin HeaderUSB Port ConnectorUSB1~4 Keyboard / Mouse ConnectorMSKB1LAN1/2 LAN RJ45 Connector Fan Connector FAN1LAN RJ45 Connector LAN1/2 FAN1 Fan Connector for CPUAR-B185117 Compact Flash Storage Card SocketCF1CF1 Compact Flash Storage Card Socket pin assignment AUDIO1 Audio Pin Header VGA ConnectorVGA1Audio ConnectorAUDIO1 VGA1 15-pin D-Sub ConnectorDDR Sodimm Socket J1 11 8-BIT Gpio ConnectorGPIO1Speak ConnectorSPK1 Parallel portPRN1 Lvds ConnectorLVDS1PRN1 Parallel Port Connector LVDS1 Lvds Interface ConnectorIntroduction Starting SetupUsing Setup Press DEL to enter SetupAR-B185122 Options Description Main MenuAR-B185124 IDE AdaptersCylinder0 Head0 Precomp0 Landing Zone0 Sector0 Full Screen Logo Show Advanced Bios FeaturesApic Mode Quick Power On Self TestPS/2 Mouse Function Boot DisplayPower Supply Type Pwron After Power-FailIRQ3/4/5/7/9/10/11/12/14/15 assigned to PnP/PCI Configuration SetupResource controlled by IRQ ResourcesOnboard Serial Port 3/Port Uart Mode SelectPeripheral Onboard Serial Port 1/PortAR-B185130 Onboard Parallel PortUSB Controller USB 2.0 ControllerAR-B185131 Shutdown TemperaturePC Health AR-B185132 BootFirst/Second/Third/Other Boot Device Save to Cmos and Exit Y/N? Y Save & Exit SetupLoad Optimized Defaults AR-B185133 Exit SelectingAR-B185134 Load Fail-Safe DefaultsExit Without Saving Quit without saving Y/N? YAppendix A. Watchdog Timer AR-B185136 Appendix B Digital I/OAR-B185137 Appendix C I/O Address Map COM3 AR-B185140 1DFF0000-1DFFFFFFAR-B185141 IRQ Mapping Chart