Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Problem with watchdog

2005-12-07 by Ake Hedman, eurosource

Dan Beadle wrote:

> Are  you "tickling" the watchdog?  Once enabled, you must reset the 
> timer regularly - to tell the WDT that life is good.  Otherwise it 
> will bite you by resetting (in a loop)
>
Hej Dan,

yes I feed the dog. I have also just tried to write a loop where I do 
nothing else then feeding the watchdog but I'm still seem to have the 
problem. Initialized with the largest watchdog timeout value (about 5 
minutes) I should have no problem with this for the first time. But in 
my case nothing works after the initialization.

As no one seem not to have problems with this I must do something 
stupid. I must be missing something.

The program works perfect until I initialize the watchdog BTW. 

/Ake

-- 
 ---
Ake Hedman (YAP - Yet Another Programmer)
eurosource, Brattbergavägen 17, 820 50 LOS, Sweden
Phone: (46) 657 413430 Cellular: (46) 73 84 84 102
Company home: http://www.eurosource.se      
Kryddor/Te/Kaffe: http://www.brattberg.com
Personal homepage: http://www.eurosource.se/akhe
Automated home: http://www.vscp.org

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.