Yahoo Groups archive

Lpc2000

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

Message

Re: Re: [lpc2100] Re: Interrupt works in Keil simulator but not in target

2003-12-10 by Michael Pont

> If you are using >= 3.31, you should not need the 
> assembly-language interrupt harness (if you are using a
> version before this, you will need the harness).

I'm going to reply to my own post (and be a little more specific...).

When programming in C, I prefer to use ISRs without an assembly-language harness.  With 3.3.1 you can - in my (thus far fairly limited) experience with this compiler - get away with this.  This was not possible with previous versions of GCC that I have tried.

However, this only applies *** with simple ISRs ***.  With non-trivial ISRS (including, for example, function calls) we've run into problems.  If I understand the GCC bug reports correctly, this bug may be fixed in GCC 3.4, sometime next year?

At present, I've gone back to use assembly-language harnesses for all my ISRs.  

Michael.


+======================================+

 Michael J. Pont, PhD
 Embedded Systems Laboratory,
 University of Leicester

 http://www.le.ac.uk/eg/embedded

+======================================+

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.