Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] gcc problem

2005-07-18 by Bill Knight

On Mon, 18 Jul 2005 16:22:11 +0200, Michal Krestan wrote:

>I'm using LPC2106 in my application with gcc 4.0.0. I've compiled all
>my sources in ARM mode and it works fine, but for IAP routine call I
>had to use -mthumb-interwork flag for gcc. After this, my application
>will crash in few sec (not on IAP call, but inside IRQ function). The
>problem is in IRQ routine. When I'll make call of function inside ISR,
>gcc will generate wrong code without returning address. If i'll not
>use -mthumb-interwork flag, the code is compiled correctly.
>Michal


Check the IAP programming examples (LPC-FlashRoutines-18Feb05.zip)in the
files section of this mailing list on Yahoo.  The routines can be compiled
and run in ARM mode.


Regards
-Bill Knight
R O SoftWare &
http://www.theARMPatch.com

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.