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?


  • In EDA, A Year Of Mergers, Failed And Otherwise
  • 2008 BEST Electronic Design Winners
  • Engineers Rely On Internet For Product Info
  • Rochester Electronics Establishes New Design and Technology Group
  • November 17, 2008
  • Custom Sources Light Way To 22-nm IC Lithography
  • Software Turns Scopes Into Vector RF Signal Analyzers
  • Couple’s $15 Million Gift Advances Rice Engineering Education
    1) Behind The Bright Lights, LED Drivers Evolve To Meet New Requirements
    (735 views today)
    2) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (269 views today)
    3) Wi-Fi Chips Stand Out In A Sea Of Wireless Products
    (210 views today)
    4) What's All This "Adjustable Slew Rate Stuff," Anyhow?
    (188 views today)
    5) Easily Convert Decimal Numbers To Their Binary And BCD Formats
    (187 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.
     
     

    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