Curtis AR-B1682 operation manual Watchdog Timer Enabled

Page 30

The factor of the watchdog timer time-out constant is approximately 1 MINUTES. The period for the watchdog timer time-out is between 1 to FF timer factors.

If you want to reset your system when watchdog times out, the following table listed the relation of timer factors between time-out period. The formula of Time-Out Period is 30+60x(Time Factor -1). For example, if the time factor is 10. The Time-out period is calculated as 30+60x(10-1)= 570.

Time Factor

 

Time-out Period (Seconds)

1

 

30

2

 

90

3

 

150

4

 

210

5

 

270

 

 

 

FF

 

 

Time out setting

3-3-2. Watchdog Timer Enabled

To enable the watchdog timer, you have to output a byte of timer factor to the watchdog. The following is a Turbo C++ program, which demonstrates how to enable the watchdog timer and set the time-out period at 24 seconds.

#Include “ stdio. H” #include “WATCHDOG.H” main( )

{

char WD_TIME=oxo1; printf (“ Enable watchdog” );

//Set watchdog Timer Output is 30 seconds _enable_wd (WD_TIME);

}

3-3-3. Watchdog Timer Trigger

After you enable the watchdog timer, your program must write the same factor as enabling to the watchdog register at least once every time-out period to its previous setting. You can change the time-out period by writing another timer factor to the watchdog register at any time, and you must trigger the watchdog before the new time-out period in the next trigger. Below is a Turbo C++ program which demonstrates how to trigger the watchdog timer:

#include “ stdio.H” #include “WATCHDOG.H” main( )

{

char WD_TIME=oxo1; printf (“ Trigger watchdog” );

//Set watchdog Timer Output is 30 seconds _enable_wd(WD_TIME);

}

~ Page 24 ~

Image 30
Contents Version ~ Page ii ~ Copyright Notice Acknowledgements ~ Page iv ~ U㿺 薅薅薅薅薅薅薅薅薅薅薅薅薅薅薅薅薅薅薅薅薅薅薅薅薅薅薅薅薅薅薅薅藜薅耟薅薅薅薅薅 庆蚽强栾头学 Introduction About this Manual IntroductionSystem Specification Safety Precautions Hardware Configuration Jumper & Connector Quick Reference Table Switch & JumperConnector HOW to SET Jumpers Component LocationsJumpers and CAP DOC Memory Mapping Selection JP6, JP7 System Clock Select and CPU SettingDOC Memory DOC 2000 SEG SW1OFF Disable DC00H OFFCOM1 COM1 Connector, DB9 male connector COM1 CONNECTORCN24COM2 CONNECTORCN12 COM2 COM2 ConnectorPower LED & Keylock CONNECTORCN13 External Keyboard & Mouse CONNECTORCN23Reset SWITCHCN18 IR CONNECTORCN5FDD Floppy Disk Drive Connector Floppy Disk Drive CONNECTORCN6Hard Disk Drive Connector IDE1 Hard Disk Drive ConnectorCN1SA1 IDE2 Hard Disk Drive ConnectorCN7SA2 HD LED a Not UsedCN9 PIN Assignment GND Shfclk FLM LCD Connector 24BITCN9LCD Connector 36BITCN9+CN11 GND Enablk VEE~ Page 15 ~ External Speaker HEADERCN20 VGA CRT CONNECTORCN19Watchdog CONNECTORCN17 PIN Function Assignment TPTX+ Not Used Tprx TPRX+Power on Connector for ATX Power SUPPLYCN15 Printer CONNECTORCN2System FAN Power CONNECTORCN27 Power Control CONNECTORCN4Scsi CONNECTORCN3 Universal Serial BUS Connector CN14CPU FAN Power CONNECTORCN26 Clear Cmos FUNCTIONJ4 DOC 32pin Disk-on-chip SocketMemory Installing Dram Bank Configuration Dimm Total MemorySoftware Utilities WIN NT Scsi Driver Setup WIN95 VGA SetupWIN 95 Scsi Driver Setup RemarkWatchdog Timer Configuration PIIX4 Driver SetupWatchdog Timer Enabled Watchdog Timer Disabled ~ Page 26 ~ AMI Bios Setup ~耟Page 28 ~ Bios Setup Overview Amibios Hiflex Setup Utility VersionFloppy Setup Standard Cmos SetupDate & Time Setup Hard Disk SetupTry Other Boot Devices Advanced Cmos SetupQuick Boot Floppy Access ControlPassword Check HDD Access ControlBootUp Num-Lock Boot to OS/2 64MBExternal Cache Hit ‘DEL’ Message DisplayInternal Cache Cache Bus ECCAdvanced Chipset Setup USB Function ATX Power Supply ControllerMemory Hole at 15-16 MB USB Keyboard/Mouse Legacy SupportPower Management Throttle Slow Clock Ratio Restore on AC/Power LossSuspend Time Outminute Modem Use IO PortPCI/PLUG and Play DMA & IRQ PCI VGA Palette SnoopPCI IDE BusMaster Reserved Memory SizePeripheral Setup Reset, Power, Sleep Button Password SettingLoad Default Setting AUTO-DETECT Hard DisksBios Exit Bios Update~ Page 43 ~ Appendix a IRQ10 PIN Assignment GND CH CHK MEMCS16 Sbhe ResetComponent Side IRQ9Picmg BUS PIN Assignment ~ 47 ~耟 Appendix B Interrupt MAP IRQ AssignmentRTC & Cmos RAM MAP Code AssignmentDMA Channel Map Timer & DMA Channels MAPTimer Channel Map IBM SdlcI/O & Memory MAP Memory MapMap ~ Page 53 ~ Trouble Shooting Reboot Error Memory Address ErrorMemory Verifying Error Memory Size has Changed