Re: About VxWorks watchdog



My base line is:
If the task responsible for petting the HW watchdog running at the
highest priority could not pet the dog as expected, system stuck may
happen...

Just as Moto said, to spawn a task, so in your system, how to use in
this way? In which priority?
Furthermore, I agree using a timer is not a good way.

Michael R. Kesti wrote:
LarryC wrote:

Yes... Spawning a new task running a corresponding low priority (say 0)
to pet HW watchodg is good method.

Priority 0 would be a high priority task. Not sure either extreme is
what you want.

Right. In VxWorks, 0 is the highest task priority and HW watchdog maintenance
should probably not be a real time system's highest priority. If it is then
I would suspect that the dog's time constant is probably too short.

What is more, using a timer to schedule HW watchdog maintenance is probably
not an optimal approach. The idea is to generate a reset if the system's
mission is not being accomplished and, in most real time systems, the
ability to respond to a periodic timer is probably not highest on the
list of mission critical accomplishments. Instead, one would do well to
perform HW watchdog maintenance as the last step of a high priority task,
ideally after it has shown to have met its deadline.

--
========================================================================
Michael Kesti | "And like, one and one don't make
| two, one and one make one."
mrkesti at hotmail dot com | - The Who, Bargain

.



Relevant Pages

  • Re: USB Mass storage device and Watchdog Timer reset
    ... Bruce Eitman (eMVP) ... help decide the priority of the thread that handles the hardware watchdog. ... When plugging in my Kingston Data Traveler 4GB USB memory stick it ...
    (microsoft.public.windowsce.platbuilder)
  • Re: USB Mass storage device and Watchdog Timer reset
    ... I've tried reducing the priority on the hardware watchdog ... The IST priority in my USB host driver is set at around 100. ... decide the priority of the thread that handles the hardware watchdog. ... When plugging in my Kingston Data Traveler 4GB USB memory stick it ...
    (microsoft.public.windowsce.platbuilder)
  • Re: USB Mass storage device and Watchdog Timer reset
    ... decide the priority of the thread that handles the hardware watchdog. ... priority with longer timeouts, if that makes sense in your application. ... When plugging in my Kingston Data Traveler 4GB USB memory stick it ... LaCie USB devices are an example." ...
    (microsoft.public.windowsce.platbuilder)
  • Re: USB Mass storage device and Watchdog Timer reset
    ... I've tried reducing the priority on the hardware watchdog ... The IST priority in my USB host driver is set at around 100. ... decide the priority of the thread that handles the hardware watchdog. ... When plugging in my Kingston Data Traveler 4GB USB memory stick it ...
    (microsoft.public.windowsce.platbuilder)
  • Re: About VxWorks watchdog
    ... Priority 0 would be a high priority task. ... my PPC8280 has a built-in HW watchdog that works as ... Asserts a reset or NMI interrupt, ... watchdog timer for a certain period of time (for example, ...
    (comp.os.vxworks)