I have had problems with the code for interrupt functions generated by gcc for the ARM over many versions of the compiler. The problems have shown up with registers being used for local variables not being saved and problems with returning to interrupted Thumb mode code. A while back I created a set of MACROS for entering and leaving interrupt routines that I now use on a routine basis. I do not know if gcc 3.4.1 generates fully functional interrupt code but the MACROS should work with it anyway. The code is in the files section on Yahoo in UT040803A.zip. Regards -Bill Knight www.theARMPatch.com
Message
[lpc2000] problem with interrupts
2004-10-10 by Bill Knight