ts-7000
[Top] [All Lists]

Re: [ts-7000] Warning: TS7800 Watchdog reboots when enabled and time ch

To:
Subject: Re: [ts-7000] Warning: TS7800 Watchdog reboots when enabled and time changed
From: Eric Robishaw <>
Date: Fri, 21 Aug 2009 18:12:10 -0500


I'm using the same code as 6s7800ctl.c, though in my own lib file that I call from an embedded app.

It's possible there was some other coincidence that caused this, but the last line of code before the reboot was to set the time back about 5 seconds.

Eric



On Fri, Aug 21, 2009 at 5:46 PM, Michael Schmidt <> wrote:
 

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



__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU