Eurotech Appliances CPU-1461 user manual What is a Watch Dog?, How to use the Watch Dog

Page 44
What is a Watch Dog?

44

PC/104-PlusCPU-1461 Module

 

 

 

 

What is a Watch Dog?

The Watch Dog is a hardware countdown timer (2-255 sec./min.) that can be used to automatically restart the system in case of system or program execution failure.

Once enabled the Watch Dog must be refreshed (reloaded with the starting timeout value) by the application software before the timeout expires.

If the program execution stops, the application software will not refresh the Watch Dog anymore. A hardware reset will be generated when the timeout expires.

The Watch Dog is implemented using the National PC87364 SPIO Watch Dog feature.

How to use the Watch Dog

To enable, disable and refresh the Watch Dog you can:

Use the System BIOS INT52h functions.

Directly access Watch Dog I/O mapped registers.

Use the System BIOS INT 52h functions

This method can be used only with operating systems that preserve BIOS functions after boot (like DOS). Watch Dog timeout is fixed at 2 seconds.

How to turn the Watch Dog ON

Make a call to INT52h with AH=00Ch. The Watch Dog will be enabled to a fixed timeout of 2 seconds. Then the Watch Dog must be periodically (before 2 seconds) refreshed to avoid a hardware reset.

Assembler code example:

MOV AH,00Ch

INT 052h

How to refresh Watch Dog

Make a call to INT52h with AH=00Eh. The Watch Dog counter will be reloaded with a fixed timeout of 2 seconds.

Assembler code example:

MOV AH,00Eh

INT 052h

Image 44
Contents CPU-1461 EmbeddedDNAUser’s Manual COPYRIGHT 1994-2005 Eurotech S.p.A. All Rights ReservedPC/104-Plus - CPU-1461 Module Environmental safety ConventionsImportant features or IconPage Contents Multifunction Connector SectionContents Connectors DescriptionChapter 5 Watch Dog Timer Chapter 6 TroubleshootingChapter 4 The Set-up Program AppendixChapter 1 Product Overview Product Definition BIOS FlashPower Supply ArchitectureChapter 2 Jumper Description Jumper Layout and Configuration DefaultJumper # TypeChapter 3 Connectors Description Connectors Layout Note in figure 2, a red square pad indicates pin 1 of each connectorJ14 J16 J17 J4J5Page Carrier Module J4 for Multifunction and VGACPU-1461 Multifunction Connector Section The Eurotech Multifunction Adapter ƒ System resetƒ External Battery ƒ SpeakerVGA Section Supported CRT-VGA Video ResolutionsJ5 IDE Connector IDE/DOMJ7 for USB 2.0 Ports 5 and USBJ9 Auxiliary Power Connector PowerPower button input AuxiliaryJ14 for USB 1.1 Ports 7 and 8 and Audio-CODEC The Eurotech USB & AC97-Audio Codec AdapterTo J14 CPU Board Connector Aux IN CD INAux IN SpkPhone IN/OUTJ16 for USB 2.0 Ports 1to J17 for SERIAL1 and SERIAL2 J20 for Ethernet EthernetRJ45 Connector The Eurotech Ethernet TransceiverTo CPU Board NetConnector Chapter 4 The Set-up Program Press the “ESC” key to return to the items of the Main menu Select “Quit” to exit from the Setup programUse the cursor arrow keys to move the highlight to other options The follow screen will be displayed The Set-up pages General PageQuick Boot TimeDate Floppy disksFloppy Controller Devices PageBoot Try Sequence Primary and secondary EIDE Video ControllerAC97 Controller NetworkCommunications Page Serial Ports 1 andParallel Port Mode Parallel PortVP2000 and VT100 Primary and Secondary ATAPI Page ATAPI unit typePIO Mode Translation ModeCylinders HeadsAdvanced page Detect NowLatency Time Devices PCI Advanced PageISA IRQ Error Handling Page ISA BusError on Keyboard Error on VideoError on Floppy Disks Error on Fixed DisksPage Chapter 5 Watch Dog Timer This chapter explains how to use the Watch Dog timerWhat is a Watch Dog? How to use the Watch DogUse the System BIOS INT 52h functions How to turn the Watch Dog ONUse the following code to Enable Watch Dog Directly accessing Watch Dog I/O mapped registersHow to turn the Watch Dog OFF Use following code to refresh the Watch Dog Chapter 6 Troubleshooting Common Problems and Solutions Troubleshooting a PC/104 SystemTechnical/Sales Assistance CPU Module doesn’t workReturning For Service ftp//ftp.eurotech.itPage Company Name Page Appendix A.1 Electrical and Environmental Specifications Operating CharacteristicsElectrical Operating Characteristics Backup Battery CharacteristicsAbsolute Maximum Ratings MTBF Mean Time Between FailuresA.2 Mechanical Dimensions The CPU-1461 mechanical dimensions are shown in the following picture¾ Dimensions 90 X 96 mm 3.6”X3.8” CPU-1461 Board dimensionsUSB Audio Codec Dimensions Ethernet Adapter DimensionsA.3 Safety Summary Multifunction Adapter Dimensions62.0 12.0Use Caution When Exposing or Handling the CRT Observe Dangerous Procedure WarningsGround the Instrument Do Not Operate in an Explosive AtmosphereLife Support Policy Disclaimer of WarrantyReliability Glossary B BIOSA ATA ATAPIC CELLULAR G GPS M MIDI MPEGN NDIS NTSCR RAM S SCSISECAM SMBusV VGA W WANAcronyms and Abbreviations Page ftp//ftp.eurotech.it Technical & Sales Assistancetechsupp@eurotech.it