Embedded / RTOS

Moderators: None (Apply to moderate this forum)
Number of threads: 373
Number of posts: 682

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
What does a watch dog timer do? Why do I have to pet it frenquently? Posted by AntZ on 21 Oct 2002 at 8:49 PM
I am programming a switch using a SingleStep and I have to disable the watchdog timer on the board when I am debugging. And when my code is running, I have to pet the dog frequently.

What does exactly a watch dog timer do? What kind of issues I have to pay attention when I am dealing with it?

Thank you!
Report
Re: What does a watch dog timer do? Why do I have to pet it frenquentl Posted by jeffpost on 1 Nov 2002 at 6:08 PM
: I am programming a switch using a SingleStep and I have to disable the watchdog timer on the board when I am debugging. And when my code is running, I have to pet the dog frequently.
:
: What does exactly a watch dog timer do? What kind of issues I have to pay attention when I am dealing with it?
:
:
The purpose of a watchdog timer is to get the software's attention if it is not functioning properly. By "petting" it at regular intervals, you are telling the system that everything is running smoothly. If it doesn't get "petted", it's because the main control software has gone out to lunch. The watchdog timer code then takes corrective action, although in many cases, the only possible corrective action is to restart the system.





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.