Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[51] role of watchdog timer

Status
Not open for further replies.

Sudhp

Member level 4
Member level 4
Joined
Oct 11, 2013
Messages
69
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Location
India
Visit site
Activity points
528
Hi....
can anybody tell me about watchdog timer.....
and what is the role of it....
 

Watchdog timer, essentially, prevent processor from stall states, if something goes wrong with some instruction or some operation he reset the machine at the initial state. For that reason he have to be refilled periodically by the software for keep it far from zero (that means machine stuck) and is mainteined in infinite count.

You can disable it, but in this case you don't have advises of machine stucks and if some instruction goes wrong the processor simply stall remaining in this state until manual reset.
 

how can we enable watchdog in programming....??
Is there any procedure about how does it work....?
Is there a major drawback if I don't use it......??
 

Usually depends on your uController, in PIC Microchip there are option in the configuration words, in AVR Atmel there a fuses.

U can decide of switch it off, it's like working without protection... maybe 99% of times it's useless, but in some critical application, without watchdog, the process simply stuck and without a manual reset u can't get ride of it.
 
  • Like
Reactions: Sudhp

    Sudhp

    Points: 2
    Helpful Answer Positive Rating
Thanks for reply......
I am working on At89S52.....
how can I use it for this....???
 

Sorry but i'm not experienced in 8051 architectures, i think u can find something from your IDE, i don't know what kind of language do you use (C, Assembly), or if u use Keil nor IAR, try to google "watchdog <yourIDEname>".

Sorry never worked with 8051.

Regards
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top