Tom Walsh wrote: > > I've been following this thread with interest as I expected to use the > watchdog in my application. The old design used a MAX690 where you > would toggle the input to keep the watchdog happy. This worked well for > us as the foreground software would set the pin high and the interrupt > routines would reset it low. This ensured that both sections of the > program were operating okay. Foreground did non-time-critical tasks > while the background serviced realtime critical tasks & communications > over RS485. > > I had expected to do something similar with the LPC2000 parts. Feed the > watchdog with 0xaa from the interrupt layer and then feed it with 0x55 > from the foreground. It was expected that even if the watchdog received > something like this, it would still be fine: > > 0xaa, 0xaa, 0xaa, 0x55, 0xaa, 0xaa, 0xaa, 0xaa, 0x55 .... > > > What value is a watchdog that requires you to carefully feed it, it > sounds as if the watchdog is very fragile? I noticed that Philips > Applications people studiously stayed out of this thread about the > watchdog! I suspect that the watchdog is severly broken and they did > not want to comment on it? > > > Regards, > > TomW At least I would say that its a bit strange behavior for a watchdog. Anyway there is a work around and it appears to work well (at least in my case). I have only noticed this on the LPC2138 part so I don't know if the same "problem" appears on other silicon. If it is that would have been nice to now though. /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
Message
Re: [lpc2000] Re: Problem with watchdog
2005-12-11 by Ake Hedman, eurosource
Attachments
- No local attachments were found for this message.