On Wednesday 11 May 2005 15:01, Rod Moffitt wrote: > I would guess that you tried to enter the IAP from ARM mode. IAP runs in > thumb mode, so you need to either change modes or compile your code to > support automagic switching. > > There are some examples in the downloads section of the the yahoo group. > The easiest method is to pass "-mthumb -mthumb-interwork" to both GCC and > LD. Note that this will bork your interrupt handlers and other routines > that need the 'full' ARM register set (just use "-mthumb-interwork" for > those files). It's wise to do some research before proceeding. > > - Rod IMHO if the rest of your app is in ARM mode then it is easiest to do all this in assembly. You then don't need to fiddle with interworking in the C compiler, libraries etc.
Message
Re: [lpc2000] Doubt on IAP in LPC2138
2005-05-11 by Charles Manning
Attachments
- No local attachments were found for this message.