EmbeddedRelated.com
Forums

lpc2103 & rowley crossworks 1.6

Started by bkaan_ugur May 3, 2007
Hello,
I am trying to debug some pice of code using Rowley crossworks and
2103.Olimex Wiggler is used.flash Debug built configuration is used.But
always getting messages below.Flash cannot be programmed.I have Keil
Demo board with LPC2138.It is working proper with same configuration.
Does someone have comments about it?
Regards
Bilge

Executing reset script FLASHReset()
Loading target script file C:\Program Files\Rowley Associates
Limited\CrossWorks for ARM 1.6
\targets\Philips_LPC210X\Philips_LPC210X_Target.js
Downloading "Loader_rpc.elf" to Macraigor Wiggler (20 Pin)
Programming completed in 265 ms 17,298 bytes/sec
Programming 4.4 KB of addresses 40000000 400011e7
Download complete
Verifying "Loader_rpc.elf" on Macraigor Wiggler (20 Pin)
Verifying completed in 219 ms 20,931 bytes/sec
Verifying 4.4 KB of addresses 40000000 400011e7
Verify complete
Downloading "Executable_1.elf" to Macraigor Wiggler (20 Pin) 1 error
Erasing completed in 281 ms 7,516 bytes/sec
Programming
Programming 2 KB of addresses 00000000 0000083f
Download failed

An Engineer's Guide to the LPC2100 Series

bkaan_ugur wrote:
> Hello,
> I am trying to debug some pice of code using Rowley crossworks and
> 2103.Olimex Wiggler is used.flash Debug built configuration is used.
> Does someone have comments about it?

No other comments except that Olimex wiggler + Crossworks ARM 1.6 +
LPC2103 are working fine for me. Also with a home-made wiggler.
Not very helpful, though. :)

Sam
--- In l..., "bkaan_ugur" wrote:
>
> Hello,
> I am trying to debug some pice of code using Rowley crossworks and
> 2103.Olimex Wiggler is used.flash Debug built configuration is used.But
> always getting messages below.Flash cannot be programmed.I have Keil
> Demo board with LPC2138.It is working proper with same configuration.
> Does someone have comments about it?
> Regards
> Bilge
>
> Executing reset script FLASHReset()
> Loading target script file C:\Program Files\Rowley Associates
> Limited\CrossWorks for ARM 1.6
> \targets\Philips_LPC210X\Philips_LPC210X_Target.js
> Downloading "Loader_rpc.elf" to Macraigor Wiggler (20 Pin)
> Programming completed in 265 ms 17,298 bytes/sec
> Programming 4.4 KB of addresses 40000000 400011e7
> Download complete
> Verifying "Loader_rpc.elf" on Macraigor Wiggler (20 Pin)
> Verifying completed in 219 ms 20,931 bytes/sec
> Verifying 4.4 KB of addresses 40000000 400011e7
> Verify complete
> Downloading "Executable_1.elf" to Macraigor Wiggler (20 Pin) 1 error
> Erasing completed in 281 ms 7,516 bytes/sec
> Programming
> Programming 2 KB of addresses 00000000 0000083f
> Download failed

Do you mean that the board is working with the software it was
supplied with, and download doesn't work? You might have damaged the
JTAG inputs. Did you connect the Wiggler before powering up the board?
That can sometimes damage them, although it is rare.

Leon
Hello Leon,
Thanks for your comments.
I have Keil Demo board with LPC2138 and working proper with Rowley
1.6.
But I have LPC2103 board
(http://www.futurlec.com/ARM2103_Controller.shtml) but it is not
working proper with Rowley.What I understood from the output console
below is I cannot write to program to flash although it is erased
properly.If Jtag inputs are really damaged , Loader_rpc.elf download
must failed.Sometimes I am getting timeout messages while
programming, I played timeout values on Rowley IDE(flash write
timeout ...etc) ,but nothing changed.
Regards
Bilge

--- In l..., "Leon Heller" wrote:
>
> --- In l..., "bkaan_ugur" wrote:
> >
> > Hello,
> > I am trying to debug some pice of code using Rowley crossworks
and
> > 2103.Olimex Wiggler is used.flash Debug built configuration is
used.But
> > always getting messages below.Flash cannot be programmed.I have
Keil
> > Demo board with LPC2138.It is working proper with same
configuration.
> > Does someone have comments about it?
> > Regards
> > Bilge
> >
> > Executing reset script FLASHReset()
> > Loading target script file C:\Program Files\Rowley Associates
> > Limited\CrossWorks for ARM 1.6
> > \targets\Philips_LPC210X\Philips_LPC210X_Target.js
> > Downloading "Loader_rpc.elf" to Macraigor Wiggler (20 Pin)
> > Programming completed in 265 ms 17,298 bytes/sec
> > Programming 4.4 KB of addresses 40000000 400011e7
> > Download complete
> > Verifying "Loader_rpc.elf" on Macraigor Wiggler (20 Pin)
> > Verifying completed in 219 ms 20,931 bytes/sec
> > Verifying 4.4 KB of addresses 40000000 400011e7
> > Verify complete
> > Downloading "Executable_1.elf" to Macraigor Wiggler (20 Pin) 1
error
> > Erasing completed in 281 ms 7,516 bytes/sec
> > Programming
> > Programming 2 KB of addresses 00000000 0000083f
> > Download failed
>
> Do you mean that the board is working with the software it was
> supplied with, and download doesn't work? You might have damaged the
> JTAG inputs. Did you connect the Wiggler before powering up the
board?
> That can sometimes damage them, although it is rare.
>
> Leon
>
Leon : Do you mean that the board is working with the software it was
supplied with, and download doesn't work?
bkaan_ugur -->Board was blanked,i tried to download my own software
to test it.

--- In l..., "bkaan_ugur" wrote:
>
> Hello Leon,
> Thanks for your comments.
> I have Keil Demo board with LPC2138 and working proper with Rowley
> 1.6.
> But I have LPC2103 board
> (http://www.futurlec.com/ARM2103_Controller.shtml) but it is not
> working proper with Rowley.What I understood from the output
console
> below is I cannot write to program to flash although it is erased
> properly.If Jtag inputs are really damaged , Loader_rpc.elf
download
> must failed.Sometimes I am getting timeout messages while
> programming, I played timeout values on Rowley IDE(flash write
> timeout ...etc) ,but nothing changed.
> Regards
> Bilge
>
> --- In l..., "Leon Heller" wrote:
> >
> > --- In l..., "bkaan_ugur" wrote:
> > >
> > > Hello,
> > > I am trying to debug some pice of code using Rowley crossworks
> and
> > > 2103.Olimex Wiggler is used.flash Debug built configuration is
> used.But
> > > always getting messages below.Flash cannot be programmed.I have
> Keil
> > > Demo board with LPC2138.It is working proper with same
> configuration.
> >
> >
> > > Does someone have comments about it?
> > > Regards
> > > Bilge
> > >
> > > Executing reset script FLASHReset()
> > > Loading target script file C:\Program Files\Rowley Associates
> > > Limited\CrossWorks for ARM 1.6
> > > \targets\Philips_LPC210X\Philips_LPC210X_Target.js
> > > Downloading "Loader_rpc.elf" to Macraigor Wiggler (20 Pin)
> > > Programming completed in 265 ms 17,298 bytes/sec
> > > Programming 4.4 KB of addresses 40000000 400011e7
> > > Download complete
> > > Verifying "Loader_rpc.elf" on Macraigor Wiggler (20 Pin)
> > > Verifying completed in 219 ms 20,931 bytes/sec
> > > Verifying 4.4 KB of addresses 40000000 400011e7
> > > Verify complete
> > > Downloading "Executable_1.elf" to Macraigor Wiggler (20 Pin)
1
> error
> > > Erasing completed in 281 ms 7,516 bytes/sec
> > > Programming
> > > Programming 2 KB of addresses 00000000 0000083f
> > > Download failed
> >
> > Do you mean that the board is working with the software it was
> > supplied with, and download doesn't work? You might have damaged
the
> > JTAG inputs. Did you connect the Wiggler before powering up the
> board?
> > That can sometimes damage them, although it is rare.
> >
> > Leon
>
----- Original Message -----
From: "bkaan_ugur"
To:
Sent: Thursday, May 03, 2007 11:04 AM
Subject: [lpc2000] Re: lpc2103 & rowley crossworks 1.6
Leon : Do you mean that the board is working with the software it was
supplied with, and download doesn't work?
bkaan_ugur -->Board was blanked,i tried to download my own software
to test it.
That is what I thought you meant. Looks like it is faulty, then.

Leon
----- Original Message -----
From: "bkaan_ugur"
To:
Sent: Thursday, May 03, 2007 11:01 AM
Subject: [lpc2000] Re: lpc2103 & rowley crossworks 1.6
Hello Leon,
Thanks for your comments.
I have Keil Demo board with LPC2138 and working proper with Rowley
1.6.
But I have LPC2103 board
(http://www.futurlec.com/ARM2103_Controller.shtml) but it is not
working proper with Rowley.What I understood from the output console
below is I cannot write to program to flash although it is erased
properly.If Jtag inputs are really damaged , Loader_rpc.elf download
must failed.Sometimes I am getting timeout messages while
programming, I played timeout values on Rowley IDE(flash write
timeout ...etc) ,but nothing changed.

Sounds like the board is faulty, I don't have any problems using the LPC2103
with CrossWorks.

Leon
Hi Bilge,

Note that LPC21xx devices cannot be debugged out of reset. The program
in flash runs after reset and the debugger has to stop the processor.
Consequently the device may be in a state which defeats the flash
loader - in the worst case it turns off the jtag pins.

Can you erase the flash of the device using ISP and see if this helps.

Regards
Michael

>
> Hello,
> I am trying to debug some pice of code using Rowley crossworks and
> 2103.Olimex Wiggler is used.flash Debug built configuration is used.But
> always getting messages below.Flash cannot be programmed.I have Keil
> Demo board with LPC2138.It is working proper with same configuration.
> Does someone have comments about it?
> Regards
> Bilge
>
> Executing reset script FLASHReset()
> Loading target script file C:\Program Files\Rowley Associates
> Limited\CrossWorks for ARM 1.6
> \targets\Philips_LPC210X\Philips_LPC210X_Target.js
> Downloading "Loader_rpc.elf" to Macraigor Wiggler (20 Pin)
> Programming completed in 265 ms 17,298 bytes/sec
> Programming 4.4 KB of addresses 40000000 400011e7
> Download complete
> Verifying "Loader_rpc.elf" on Macraigor Wiggler (20 Pin)
> Verifying completed in 219 ms 20,931 bytes/sec
> Verifying 4.4 KB of addresses 40000000 400011e7
> Verify complete
> Downloading "Executable_1.elf" to Macraigor Wiggler (20 Pin) 1 error
> Erasing completed in 281 ms 7,516 bytes/sec
> Programming
> Programming 2 KB of addresses 00000000 0000083f
> Download failed
>