At 10:58 AM 12/8/05 +0100, Ake Hedman, eurosource wrote: >This is the right approach surely. I'm at that state now and have no >other alternative then to back a bit and go through this "the right >way". I just have myself to blame. Have used watchdogs for many years on >PIC, AVR and other processors and expected no problem there except for >the usual forgetting to feed it in certain places. Oh well it's my first >project on this processor family so this makes me learn useful stuff >just as you write (just a bit hard to appreciate that right now ;-) ). >Really need the watchdog to work in this application though so there is >no shortcut. One thought that occurs to me, and I have no idea whether it is an issue with this processor, is that some watchdogs must be cleared before they are enabled or you run the risk of them firing as soon as you enable them. Whether or not they do depends on when you start them and how the registers initialize etc... Robert " 'Freedom' has no meaning of itself. There are always restrictions, be they legal, genetic, or physical. If you don't believe me, try to chew a radio signal. " -- Kelvin Throop, III http://www.aeolusdevelopment.com/
Message
Re: [lpc2000] Re: Problem with watchdog
2005-12-09 by Robert Adsett
Attachments
- No local attachments were found for this message.