I am still trying to solve my problems with the watchdog. I have now scaled away most stuff of my application and can see that the problem occurs when either of three interrupts occur (UART0/UART1/I2C0) in the system. Without the watchdog everything works fine but if I enable the watchdog everything crashes. I have tried to just enable and trig one of the interrupts in turn but the situation is the same. I'm totally out of clues at the moment so any (also things that might be considered dumb) are very welcome. Regards /Ake Ake Hedman, eurosource wrote: > 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 > > > > > SPONSORED LINKS > Microprocessor > <http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=4&s=93&.sig=tsVC-J9hJ5qyXg0WPR0l6g> > Microcontrollers > <http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=4&s=93&.sig=DvJVNqC_pqRTm8Xq01nxwg> > Pic microcontrollers > <http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=4&s=93&.sig=TpkoX4KofDJ7c6LyBvUqVQ> > > 8051 microprocessor > <http://groups.yahoo.com/gads?t=ms&k=8051+microprocessor&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=4&s=93&.sig=1Ipf1Fjfbd_HVIlekkDP-A> > > > > ------------------------------------------------------------------------ > YAHOO! GROUPS LINKS > > * Visit your group "lpc2000 > <http://groups.yahoo.com/group/lpc2000>" on the web. > > * To unsubscribe from this group, send an email to: > lpc2000-unsubscribe@yahoogroups.com > <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/>. > > > ------------------------------------------------------------------------ > -- --- 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 [Non-text portions of this message have been removed]
Message
Re: [lpc2000] Problem with watchdog
2005-12-07 by Ake Hedman, eurosource
Attachments
- No local attachments were found for this message.