I had a problem using timer interrupts in the past. I had the interrupt flag set of the timer but ARM core didn't see it! I tried resetting and everyting else but didn't work.......after 2 hours, I repowered the board and everything worked just fine!!! For some reason, reset != power cycleing Gus --- In lpc2000@yahoogroups.com, "Dan Beadle" <dan.beadle@i...> wrote: > You probably want to set MEMMAP=2 BEFORE you download the code to make sure that the vectors are set. > > > > Try setting a breakpoint in the VIC handler. > > > > Obviously, if you have the code working from Flash, the VIC programming is correct. My guess would be that either you are not loading up the vectors correctly at program load or you are corrupting your program when loaded in RAM. > > > > _____ > > From: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com] On Behalf Of soren_t_hansen > Sent: Thursday, June 30, 2005 3:50 AM > To: lpc2000@yahoogroups.com > Subject: [lpc2000] Timer interrupt when executing from RAM > > > > Hi > > I'm having a hard time making the interrupt work, when debugging my > code. When I debug, I run the program from RAM and use the arm-elf- gdb > to debug through a JTAG interface. > > I've have set my MEMMAP = 2 and the code I'm testing works alright > when run from Flash. > > Is there anything else I'm missing out regarding to interrupts when > running from RAM? > > Best Regards > Søren > > > > > > _____ > > YAHOO! GROUPS LINKS > > > > * Visit your group "lpc2000 <http://groups.yahoo.com/group/lpc2000> " on the web. > > * To unsubscribe from this group, send an email to: > lpc2000-unsubscribe@yahoogroups.com <mailto:lpc2000- unsubscribe@yahoogroups.com?subject=Unsubscribe> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . > > > > _____ > > > > [Non-text portions of this message have been removed]
Message
Re: Timer interrupt when executing from RAM
2005-06-30 by Gus
Attachments
- No local attachments were found for this message.