home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.realtime
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!ajpo.sei.cmu.edu!griest
- From: griest@ajpo.sei.cmu.edu (Tom Griest)
- Subject: Re: Where to stick the watchdog ?
- Message-ID: <1992Sep3.164554.15410@sei.cmu.edu>
- Keywords: kernals watchdog
- Sender: Tom Griest
- Organization: Software Engineering Institute
- References: <1992Sep03.034229.13095@crs-sys.uucp>
- Date: Thu, 3 Sep 1992 16:45:54 GMT
- Lines: 17
-
- In article <1992Sep03.034229.13095@crs-sys.uucp> crs@crs-sys.UUCP (Chris Gregors) writes:
- >Recently I had an argument (discussion) with some co-workers regarding where
- >is an appropriate place to kick a watchdog timer inside an application program.
- >
-
- The answer to this depends on the type of "Watchdog" you have, and the
- Fail-Stop/Fail-Operational characteristics of your system. A technique
- that I have used is to design the watchdog hardware to allow a very small
- synchronized window for "kicking", and drive the watchdog off of a separate
- oscillator. This will pick up subtle problems like large drifts in
- your clock rate, and will also detect bogus kicking of the watchdog.
- The software uses a high priority periodic interrupt to "kick" the watchdog,
- based on one or more "completion flags". This provides great flexibility
- to program the proper safeguards in how the completion flags are set.
-
- Tom Griest
-
-