eric.robishaw wrote:
> A warning to all who use the Watchdog (WDT) on the TS7800:
>
> If the dog is enabled, and you change the time backwards more than the feed
> timeout, the dog will immediately reboot the system.
How are you enabling the watchdog?
> I guess this makes sense, you just need to be aware that evidently the
> watchdog is comparing the RTC to the last feed + feed interval.
>
> So, if you want to change the time backwards, be sure to first disable the
> dog. I assume this would also apply if you have a time service enabled that
> automatically sets the time.
I'm looking at the source for ts7800ctl.c
(ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7800-linux/samples/ts7800ctl.c),
and it appears that you call it with the -f option to feed the WDT for 8
seconds. Eddie may know more about how the AVR implements this as he
wrote the code, but I don't think it has access to the RTC or system time.
> Eric
______ Best Regards,
|__ __/ Michael Schmidt
|| Software Engineer
||echnologic Systems (EmbeddedARM.com)
|| (480) 16525 East Laser Drive
|/ 837-5200 Fountain Hills, AZ 85268
http://oz.embeddedarm.com/~michael
------------------------------------
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/
|