Strange thing is that it work in the simulator... And I suppose that the program would crash if there is a vector/jump address fault. The rest of the program works just fine. But I will give it a try... //Helge --- In lpc2100@yahoogroups.com, "Curt Powell" <curt.powell@s...> wrote: > Helge, > > Keil uses gnu, correct? There is an issue with the interrupt keyword in > earlier versions of gnu compiler. Are you aware of this? The > workaround is to call an assembler ISR which in turn calls the C > function. Could this be your problem? > > Curt > > -----Original Message----- > From: helgefh2003 [mailto:helge.fabricius@t...] > Sent: Wednesday, December 10, 2003 7:18 AM > To: lpc2100@yahoogroups.com > Subject: [lpc2100] Interrupt works in Keil simulator but not in target > > > Hi, > -------------------------------------- > The example project from Keil running Timer0 as interrupt source, > works in the simulator but in the target there is never an interrupt > generated. Rewriting it, polling the interrupt flag works both in > the simulator and the target. > > http://www.keil.com/download/files/lpc2100_blinky.zip > > Chip used is LPC2106. > > Anyone having a clue? > > //Helge > > > > Yahoo! Groups Sponsor > > ADVERTISEMENT > > <http://rd.yahoo.com/SIG=12cclbrkg/M=267637.4116732.5333197.1261774/D =eg > roupweb/S=1706554205:HM/EXP=1071156002/A=1853618/R=0/*http://www.netf lix > .com/Default?mqso=60178338&partid=4116732> click here > > <http://us.adserver.yahoo.com/l? M=267637.4116732.5333197.1261774/D=egrou > pmail/S=:HM/A=1853618/rand=896117642> > > To unsubscribe from this group, send an email to: > lpc2100-unsubscribe@yahoogroups.com > > > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service > <http://docs.yahoo.com/info/terms/> .
Message
Re: Interrupt works in Keil simulator but not in target
2003-12-10 by Helge Fabricius-Hansen
Attachments
- No local attachments were found for this message.