Yahoo Groups archive

Lpc2000

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

Message

Re: JTAG Flashing of LPC2148 through openOCD

2006-03-23 by sixtyfivebit

On the other hand, when I reset the chip, the program no longer runs.

It seems that although I set my configuration to be "Flash" or "ARM
Flash Release" or anything that has "Flash" in it, it still stores to
the RAM!?

Is there something I missing? Does the CrossWorks project
configuration itself need to be configured somewhere?

Thanks sixtyfivebit

--- In lpc2000@yahoogroups.com, "sixtyfivebit" <sixtyfivebit@...> wrote:
>
> Richard,
> 
> I just used the LPC2138 memory map file, which has the same flash
> memory bounds as the LPC2148. I flashed with "CrossLoad" and my LED
> now blinks!
> 
> Thanks a lot, I'm glad I can finally get my code running on this chip,
> especially with this convenient program.
> 
> Thanks, sixtyfivebit.
> 
> --- In lpc2000@yahoogroups.com, "sixtyfivebit" <sixtyfivebit@> wrote:
> >
> > I found a program called "CrossLoad" apart of the CrossWorks ARM
> > Kickstart 32k version. It seems to do everything I need it to do:
> > 
> > c:\Program Files\Rowley Associates Limited\CrossWorks for ARM
> > 1.5\bin>crossload -target wiggler20 -solution
> > Externally_Built_Executable_1.hzp -project
> > Externally_Built_Executable_1 -config Flash main.hex
> > 
> > Programming completed in 141.0 milliseconds (26326.2 bytes/sec)
> > Erasing completed in 360.0 milliseconds (2166.7 bytes/sec)
> > Programming completed in 47.0 milliseconds (16595.7 bytes/sec)
> > Verifying completed in 46.0 milliseconds (16956.5 bytes/sec)
> > 
> > Externally_Built_Executable_1 are dummy solutions/projects. Even
> > though it seems to have flashed successfully, the program doesn't
run: 
> > 
> > When I made the dummy solution/projet I chose the target device to be
> > LPC2104. The solution file has references to the memory map and other
> > device-specific information of the LPC2104, so I'm sure this is what
> > the program crossload looks to when flashing. 
> > 
> > Does anyone know if Rowley have these definitions for LPC2148?
> > 
> > Thanks-sixtyfivebit.
> > 
> > --- In lpc2000@yahoogroups.com, "rtstofer" <rstofer@> wrote:
> > >
> > > --- In lpc2000@yahoogroups.com, "sixtyfivebit" <sixtyfivebit@>
wrote:
> > > >
> > > > > Why are you looking at RAM addresses if the program is to run
> out of
> > > > > flash?
> > > > > 
> > > > > Or, are you using the RAM demo?
> > > > 
> > > > I was flashing the demo2148_blink_flash, but I was unaware I was
> > > > looking in the RAM addresses... Sorry about that. I must have
loaded
> > > > the code in the RAM at some point when I was messing with
> > > > ocdcommander, or mayber OpenOCD puts the data in the RAM before
> > > > flashing it. Anyway, I'll look up the flash addresses and
check for
> > > > the program there (you can do this right, read back from the
flash?)
> > > 
> > > I haven't tried OpenOCD although I did download it.  With
CrossConnect
> > > you definitely can read flash or RAM.
> > > 
> > > > 
> > > > In that case, please disregard the links...
> > > > 
> > > > Thanks for the info Richard. I'll also check out CrossWorks.
> > > > 
> > > > Thanks-sixtyfivebit.
> > > >
> > >
> >
>

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.