Hi Eric,
How ofter are you feeding the watchdog?
In my application I'm feeding the watchdog very frequently, with an 8s timeout.
I would need to miss hundreds/thousands of feeds one after another to have an
issue.
Regards,
PJE
--- In "eric.robishaw" <> wrote:
>
> --- In Kevin Cozens <kevin@> wrote:
> >
> > On 09/11/2009 02:34 AM, eric.robishaw wrote:
> > > I keep getting failure feeding the watchdog during serial activity
> > > on ttts5...
> > [snip]
> > > It only happens about 1/500 times, but when it does fail, I have to
> > > assume that the watchdog feed failure is going to immanently cause a
> > > reboot, so I quickly shutdown my app when I fail to feed the dog.
> >
> > If the timer was set to 1 minute and you only feed it once a minute, you
> > could be in danger of a reboot. If the timer was set to 5 minutes and
> > you fed it every 1 minute, you could miss 3 or 4 feeding times and still
> > be ok.
> >
> > --
> >
> > Cheers!
> >
> > Kevin.
> >
> > http://www.ve3syb.ca/ |"What are we going to do today, Borg?"
> > Owner of Elecraft K2 #2172 |"Same thing we always do, Pinkutus:
> > | Try to assimilate the world!"
> > #include <disclaimer/favourite> | -Pinkutus & the Borg
> >
>
>
> That would be great if the watchdog could go that long, but as I understand
> it, the max timeout is 8 seconds.
>
> That means if I miss for more than 3 seconds, I only have 5 seconds in which
> to quickly shutdown my app and close files before the restart.
>
> Is it possible there is more than an 8second timeout? the documentation on
> the watchdog is completely lacking (documentation >> NULL) well, unless you
> count "Run ts7800ctl with no arguments for an explanation of usage" as
> documentation. The ts7800ctl only shows how to set,disable and feed, and the
> only feed values specified are 250ms, 2s and 8s.
>
> #define WDT_OFF 0
> #define WDT_250ms 1
> #define WDT_2s 2
> #define WDT_8s 3
>
> Should I infer that every increment of WDT_n will quadruple the timeout?
>
> Does a value of 4 = 32s, 5=128s, 6=512s ???
>
> Or is the maximum limit 8s?
>
>
> Eric
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|