--- In lpc2100@yahoogroups.com, "Hugh O'Keeffe" <hugh.okeeffe@a...> wrote: > Hi, > > I can confirm problems with GNU ARM interrupt keyword in versions v3.3.1 > and previous. See bugzilla > http://gcc.gnu.org/ml/gcc-bugs/2003-10/msg01184.html for the gory > details. > > The workaround is that you need to do your context save/restore in > assembler before branching to the "C" interrupt handler function (rather > than depending on the GNU compiler to do this when it sees the > "interrupt" keyword. > > Ashling customers can download a GNU example that shows how to do TIMER0 > interrupts from our FAQ page as shown in the below link. The program > toggles a LED that is specific to Ashling's LPC2100 EVBA7 board. > > Leon, I'm prepared to give you the source code to allow you to adapt it > to your own board and post it on your site if you like. Email me > directly. All the code is GNU, however, the build is done using our IDE The Rowley Associates tools come with an example that shows how to do this with the Nohau board. It works with my board, with an LED connected appropriately. Leon
Message
Re: Interrupt works in Keil simulator but not in target
2003-12-10 by leon_heller
Attachments
- No local attachments were found for this message.