This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Watchdog


On Friday 17 December 2004 15:05, Gary Thomas wrote:
> 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.
Thanks :-)

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]