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
--
___ ____ ___ _ ___
Rod Moffitt / _ \/ __ \/ _ \ (_)__ / _/__
http://rod.info / , _/ /_/ / // / / / _ \/ _/ _ \
rodANTISPAM@... /_/|_|\____/____(*)_/_//_/_/ \___/
=======================================================
~ Where loved ones are remembered http://memoriam.org ~
On Tue, 10 May 2005, balakumar chinuswamy wrote:
>
> When i try to do the IAP in LPC2138.
> I am getting a prefetch abort .
> please let me know if any solutions.
>
> regards
>
> Bala
>
> [Non-text portions of this message have been removed]
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
[Non-text portions of this message have been removed]Message
Re: [lpc2000] Doubt on IAP in LPC2138
2005-05-11 by Rod Moffitt
Attachments
- No local attachments were found for this message.