[ECOS] Watchdog
Gary Thomas
gary@mlbassoc.com
Fri Dec 17 13:05:00 GMT 2004
Wayne Gemmell said:
> Hi all
>
> The way I understand it the watchdog needs to be reset every >2.5 seconds or
> the hardware gets reset.
This is hardware/platform dependent, but in general, this is how watchdogs work.
>
> Would the best way to implement this be to spread resets all over the program
> or to run a high priority thread that runs reset at the designated interval?
A high priority thread would do, or possibly a separate high priority timer
and service the watchdog in the ISR.
It's probably better to isolate the watchdog service to one location rather
than messing about all over the place.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list