Watchdog timer

Watchdog timer

A watchdog timer (or computer operating properly (COP) timer) is a computer hardware or software timer that triggers a system reset or other corrective action if the main program, due to some fault condition, such as a hang, neglects to regularly service the watchdog (writing a "service pulse" to it, also referred to as "kicking the dog", “petting the dog”, "feeding the watchdog"[1] or "waking the watchdog"). The intention is to bring the system back from the unresponsive state into normal operation.

Watchdog timers can be more complex, attempting to save debug information onto a persistent medium; i.e. information useful for debugging the problem that caused the fault. In this case a second, simpler, watchdog timer ensures that if the first watchdog timer does not report completion of its information saving task within a certain amount of time, the system will reset with or without the information saved. The most common use of watchdog timers is in embedded systems, where this specialized timer is often a built-in unit of a microcontroller.

Even more complex watchdog timers may be used in running untrusted code in a sandbox by placing an upper bound on the CPU time available to the untrusted code and thus preventing some types of denial-of-service attack.[2]

Watchdog timers may also trigger fail-safe control systems to move into a safety state, such as turning off motors, high-voltage electrical outputs, and other potentially dangerous subsystems until the fault is cleared.

For those embedded systems that cannot be constantly watched by a human, watchdog timers may be the solution. For example, most embedded systems need to be self-reliant, and it is not usually possible to wait for someone to reboot them if the software hangs. Some embedded designs, such as space probes, are simply not accessible to human operators. If their software ever hangs, such systems are permanently disabled. In cases similar to these, a watchdog timer can help in solving the problem.

The watchdog timer is a chip external to the processor. However, it could also be included within the same chip as the CPU; this is done in many microcontrollers. In either case, the watchdog timer is tied directly to the processor's reset signal. Expansion card based watchdog timers exist and can be fitted to computers without an onboard watchdog.

See also

References

  1. ^ United States Patent 5694444
  2. ^ "The Grenade Timer: Fortifying the Watchdog Timer Against Malicious Mobile Code" by Frank Stajano and Ross Anderson (2000) -- gives most of the benefits of "protected mode" hardware to "very low-cost microcontrollers" that don't have protected mode hardware, using "very frugal hardware resources".

External links


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Watchdog timer — Сторожевой таймер (контрольный таймер, англ. Watchdog timer) аппаратно реализованная схема контроля за зависанием системы. Представляет собой таймер, который периодически сбрасывается контролируемой системой. Если сброса не произошло в течение… …   Википедия

  • Watchdog timer — Chien de garde (informatique) Pour les articles homonymes, voir Chien de garde (homonymie). Un chien de garde, encore désigné sous l anglicisme watchdog, est un circuit électronique ou un logiciel utilisé en électronique numérique pour s assurer… …   Wikipédia en Français

  • watchdog timer —    A timer set by a program to interrupt the processor after a given period of time. Ensures that a system does not lose track of buffers and communication lines because of a hardware error …   IT glossary of terms, acronyms and abbreviations

  • Watchdog — A watchdog is a dog who provides protection by watching for or guarding against intruders. ;In computing * Watchdog timer, a device in computer systems * Event Log Watchdog, a freeware software program * Watchdog Event Log, created by Windows… …   Wikipedia

  • Watchdog — Сторожевой таймер (контрольный таймер, англ. Watchdog timer) аппаратно реализованная схема контроля за зависанием системы. Представляет собой таймер, который периодически сбрасывается контролируемой системой. Если сброса не произошло в течение… …   Википедия

  • Oscillator start-up timer — An Oscillator start up timer (OST) is a module used by some microcontrollers to keep the device reset until the crystal oscillator is stable. When a crystal oscillator starts up it s frequency is is not constant, which causes the clock frequency… …   Wikipedia

  • Command Loss Timer Reset — Command Loss Timer Reset(s) are part of the CCSDS communications system to spacecraft either in Earth orbit or beyond Earth orbit. The Command Loss Timer Reset, if it is not received in a timely manner by the spacecraft generally forces the… …   Wikipedia

  • WDT — Watchdog Timer (Computing » General) Watchdog Timer (Computing » Assembly) * Weather Decision Technologies (Business » Firms) * Weather Decision Technologies (Academic & Science » Meteorology) * Watertown Daily Times (Community » Media) *… …   Abbreviations dictionary

  • WDOG — Watchdog timer (Computing » Hardware) * AM 1460, FM 93.5, Allendale, South Carolina (Community » Radio Stations) …   Abbreviations dictionary

  • MSP430 — Der MSP430 ist ein 16 Bit RISC Microcontroller der Firma Texas Instruments. Er wurde in Freising, Deutschland entwickelt. Der Microcontroller ist für Anwendungen mit niedrigstem Stromverbrauch optimiert. Der Prozessorkern ist einfach und… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”