Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Software Interrupts

2004-10-12 by Robert Adsett

At 03:22 PM 10/12/04 +0000, you wrote:
>Can someone point out a short quick example on how to get software
>interrupts to work.  I'm using the Keil's toolset, but I can probably
>figure it out if it works w/ GNU.
>
>Basically what I am trying to do is get back into supervisor mode so I
>can enable/disable IRQs and FIQs.  I have the enable/disable code
>already, but it doesn't do anything since I'm not in supervisor mode.

Just a question, why did you switch to user mode (rather than staying in 
supervisor or switching to system mode) on startup?

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

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.