Using the LPC2131 AND LPC2138:
I have been experiencing a problem when running in RAM or ROM with the jlink debugger. Sometimes no interrupts will work at all. All I have to do is unplug the debugger and power from my board. PLug them back in and start over.
I am not sure what is the root cause. IAR is looking in to it.
Dan Beadle <dan.beadle@...> 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]
SPONSORED LINKS
Microcontrollers Microprocessor Intel microprocessors Pic microcontrollers
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "lpc2000" on the web.
To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[Non-text portions of this message have been removed]Message
RE: [lpc2000] Timer interrupt when executing from RAM
2005-06-30 by Keith Wentworth
Attachments
- No local attachments were found for this message.