Yahoo Groups archive

Lpc2000

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

Message

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

2003-12-10 by Curt Powell

Helge,
 
It worked in my Ashling development environment for a few hundred
interrupts, then the program would jump to never-never land.  
 
Curt

-----Original Message-----
From: Helge Fabricius-Hansen [mailto:helge.fabricius@...] 
Sent: Wednesday, December 10, 2003 8:44 AM
To: lpc2100@yahoogroups.com
Subject: [lpc2100] Re: Interrupt works in Keil simulator but not in
target


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/> .



Yahoo! Groups Sponsor	
 
<http://rd.yahoo.com/SIG=12c9t832h/M=259395.3614674.4902533.1261774/D=eg
roupweb/S=1706554205:HM/EXP=1071161281/A=1524963/R=0/*http://hits.411web
.com/cgi-bin/autoredir?camp=556&lineid=3614674&prop=egroupweb&pos=HM> 	
 
<http://us.adserver.yahoo.com/l?M=259395.3614674.4902533.1261774/D=egrou
pmail/S=:HM/A=1524963/rand=675410731> 	

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/> .

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.