Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Debugging from flash

2005-10-28 by Tom Walsh

timothymarknorton wrote:

>We've just started making the move to Philips ARM7 (LPC213x).  I have 
>a IAR Kickstart kit and starting my first project with the 32K limit 
>compiler.  We've been toying with the idea of using the GNU compiler.  
>However, from what I've found so far, it looks as though none of the 
>free tools allow you to program and debug from flash.  Is this correct 
>or am I missing something?
>
>  
>
With my project, I have an LPC2106 and LPC2138 on the board.  I went 
with the GNU gcc toolchain running under Linux as the developement 
platform.  Debug is done with Insight-6.1 (patched for register bug) and 
an Abatron BDI2000.  I can debug from Flash as the Insight talks with 
the BDI2000 and they seem to get on well together.

For programming, having set my config file with the binary name to be 
used, I simply open a telnet window to the BDI2000.  From there, I type 
"erase" and then "prog" to put a new program into Flash.  I then reload 
the symbols from Insight: "Run | Disconnect", "File | <most recent>", 
"Run | Connect" and start working with the new program.

The BDI2000 is pricey, compared with the wigglers, but, I don't have to 
worry about if the 0.1uf caps should be on the Wiggler lines, or if my 
wires are too long...


TomW

-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------

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.