Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?

[Ideas For Design]

Dual Watchdog Timers Improve Embedded Performance



Shyam Sunder Tiwari  |   ED Online ID #4745  |   September 18, 2000

Article Rating: Not Rated

This idea describes a new concept that utilizes two watchdog timers instead of the typical single watchdog timer found in most embedded systems. One watchdog is the typical hardware type, which handles recovery from absolute firmware failure. The other is a watchdog interrupt that initiates the task of forced housekeeping of vital data prior to an impending system crash.

As shown in the figure, IC1A (74HCT132) supplies a continuous source of slow-rate pulses to the CPU reset input. The time period is selected by resistor R1 and capacitor C1. The second watchdog (SoftDog), which has an active-low output, is a faster rate gated oscillator (IC1B). The faster rate is due to a smaller R2C2 time constant whose output drives a CPU hardware interrupt input.

These pulses are early warning signals to save vital data. Such pulses are counted in a memory counter. When they reach a limit count, all of the vital system data is protected and the CPU is reset via software. If the SoftDog signal fails to execute properly, then the original hardware watchdog will reset the CPU for certain. It’s recommended that the time constant R1*C1 >> 10*R2*C2.

The dual method is superior in small systems where a sudden watchdog reset may cause loss of vital data. The circuit has been used with 8051, PIC, 8085, and 8088 CPUs. Excellent results were observed when noise pulses were injected in the data lines to deliberately cause firmware failure.




Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


  • Network-On-Chip Tools Arrive for The Masses
  • Tackling System Design Challenges Through Early Verification
  • ESL Tools Take Center Stage As Designers Move Up
  • Parasitic Extraction Tool Targets Next-Generation Custom ICs
  • Synopsys Jumps Into ESL-Synthesis Pool
  • Verify Control Systems Before Committing To Hardware
  • You're Using How Many FPGAs?
  • Tool Up For The FPGA Blitz
    1) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (179 views today)
    2) Hot Hands For Some Cool Rock: Motion Sensing Meets Audio Engineering
    (169 views today)
    3) Adjustment-Free Fan Controller For Under $1
    (110 views today)
    4) Science Fiction Meets Science Fact In Today's Robot Research
    (107 views today)
    5) What's All This Transimpedance Amplifier Stuff, Anyhow? (Part 1)
    (105 views today)
    ALL TOP 20







    POST YOUR COMMENTS HERE

    Name:

    Email:
    Rate this article:

     less useful more useful 
    1
    2
    3
    4
    5
    Your Comments:

    Enter the text from the image below




    Please refresh the page if you have trouble reading this text.
    (Acceptable Use Policy)
     
     

    PartFinder

    Find real-time pricing, stock status, same-day/next-day shipping options and more. Brought to you by Digi-Key. Go to PartFinder.    
    GlobalSpec

    PART SEARCH :
    Powered by: GlobalSpec - The Engineering Search Engine
    Sponsored Links

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources