Danish Ali wrote: >One trap I fell into was that I was running my code in _user_ mode >rather than _system_ mode on the arm processor. > >In user mode, you can't manipulate the interrupt enable / disable bits. > >The rowley-supplied interrupt enable / disable routines assume you're >in system mode and don't work in user mode. It might be the same for >IAR (I don't know). > >My way out? I now have a SWI routine to feed the watchdog >(IRQ automatically disabled - all you must do is disable FIQ >during the feed). > > > That is a good suggestion, thank you. TomW -- Tom Walsh - WN3L - Embedded Systems Consultant http://openhardware.net, http://cyberiansoftware.com "Windows? No thanks, I have work to do..." ----------------------------------------------------
Message
Re: [lpc2000] Re: LPC2103 watchdog issues
2006-05-19 by Tom Walsh
Attachments
- No local attachments were found for this message.