ts-7000
[Top] [All Lists]

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

To:
Subject: Re: [ts-7000] Warning: TS7800 Watchdog reboots when enabled and time changed
From: Michael Schmidt <>
Date: Fri, 21 Aug 2009 15:46:36 -0700
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/

<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