Richard Duits wrote: >Take a look at the following link: >http://www.keil.com/support/docs/3127.htm > >Keil directed me to this page when I asked if I could use other GCC >binaries. I did not try it myself yet. > > > Definately get away from using Thumb code with gcc-3.4.x. There is some documented problems, under certain conditions, that when an interrupt occurs during a Thumb function execution it can corrupt the stack. This stack corruption was noted in gcc-3.3.x and was finally resolved in gcc-4.0.x. I'm currently using gcc-4.0.2 and the thumb code is running fine under heavy interrupt usage. Regards, TomW BTW, I'm not using the Keil thingy. -- Tom Walsh - WN3L - Embedded Systems Consultant http://openhardware.net, http://cyberiansoftware.com "Windows? No thanks, I have work to do..." ----------------------------------------------------
Message
Re: [lpc2000] Re: GCC compiler generates wrong code for interrupt handler routines
2006-01-31 by Tom Walsh