Thanks to all those who replied. Sorry for the delay in replying, finally got back to working on this again. Just a quick question, yes I am in User mode all the time which means doing a software interrupt to change mode to disable/enable interrupts. This is all a bit too slow. We are not using an RTOS, so are there any drawbacks with staying in Supervisor mode as you suggest? many thanks Simon --- In lpc2000@yahoogroups.com, Robert Adsett <subscriptions@a...> wrote: > At 03:22 PM 2/27/05 +0000, itsjustimpossible wrote: > >When I kick the watchdog I am disabling all the interrupts using the > >VIC. Do I have to jump to system mode and disable the global IRQ and > >FIQ flags? This would probably be too slow... > > What mode are you normally in? You can't disable interrupts in user mode, > but there is really no reason to ever be in user mode. > > 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
Message
Re: Watchdog and external Interrupt problem
2005-03-15 by itsjustimpossible
Attachments
- No local attachments were found for this message.