JTAG flash programming of LPC21xx parts?

Started by urbite July 28, 2007
I just finished the excellent tutorial by Jim Lynch on using open
source tools to develop for the Atmel AT91SAM7S parts. Jim's tutorial
describes using both OpenOCD and the Segger J-Link JTAG hardware for
both debugging and loading flash images. I have the Atmel AT91SAM7S-
EK, and I was able to get both the Olimens and Segger hardware to
work as advertised in the tutorial.

I also want to use both the Olimex OpenUSBJTAG and the J-Link JTAG
hardware as my development interface and for programming the NXP
parts. I've googled and haven't found a solution. I would be shocked
if it were not possible to program the NXP LPC21xx flash using both
of these JTAG tools and the same Eclipse/GCC environment described by
Jim.

Would someone please point out my naivete and show me what I have
obviously missed.

BTW, after reading the many compaints on comp.arch.embedded about the
NXP website, I see the problem. What a wholly unusable and s-l-o-w
website. Do the marketing and web design folks realize that their
customers are engineers who need and answers and results, not fancy
guis that look great but don't work worth a cr*p?
TIA
Urb

An Engineer's Guide to the LPC2100 Series

--- In l..., "urbite" wrote:
>
> I just finished the excellent tutorial by Jim Lynch on using open
> source tools to develop for the Atmel AT91SAM7S parts. Jim's tutorial
> describes using both OpenOCD and the Segger J-Link JTAG hardware for
> both debugging and loading flash images. I have the Atmel AT91SAM7S-
> EK, and I was able to get both the Olimens and Segger hardware to
> work as advertised in the tutorial.
>
> I also want to use both the Olimex OpenUSBJTAG and the J-Link JTAG
> hardware as my development interface and for programming the NXP
> parts. I've googled and haven't found a solution. I would be shocked
> if it were not possible to program the NXP LPC21xx flash using both
> of these JTAG tools and the same Eclipse/GCC environment described by
> Jim.
>
> Would someone please point out my naivete and show me what I have
> obviously missed.
>
> BTW, after reading the many compaints on comp.arch.embedded about the
> NXP website, I see the problem. What a wholly unusable and s-l-o-w
> website. Do the marketing and web design folks realize that their
> customers are engineers who need and answers and results, not fancy
> guis that look great but don't work worth a cr*p?
> TIA
> Urb
>
Hi,

there is no doubt that the hardware components you list will work with
any of the LPC2000 devices. I am talking about Olimex boards and
J-Link debuggers. We used them and JTAG programming works.

I do not know whether http://www.yagarto.de supports the LPC2000 but
in the link section, there are project with LPC22xx, so I guess there
is a good chance it does.

As for the website, you want to start on www.nxp.com/microcontrollers
and your chances of finding what you are looking for increase
tremendously.

Bob
urbite wrote:
>
> BTW, after reading the many compaints on comp.arch.embedded about the
> NXP website, I see the problem. What a wholly unusable and s-l-o-w
> website. Do the marketing and web design folks realize that their
> customers are engineers who need and answers and results, not fancy
> guis that look great but don't work worth a cr*p?
>

Apparently not, they are probably venture capitalists that want to show
the pretty website, of the company they just bought, to impress women.

It is pretty useless, parametric search is non-existent.
[click-click-click--click-[...]]

You want to see another useless website, take a look at
http://www.mouser.com, now that is useless. They sell electronic
components and apparently pander to the purchasing agents. This does
nothing for the engineer that is looking for "something in an SOT-5 or
SOT-3, fixed linear regulator, 1.8volts, at around 40ma or so". Their
search engine sucks big-time! Now, goto http://www.digikey.com, their
webisite lacks polish but they have a killer search engine and lots of
pdf datasheets.

Guess who I purchase all my parts from? heh.
TomW

--
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net http://cyberiansoftware.com http://openzipit.org
"Windows? No thanks, I have work to do..."
----------------
----- Original Message -----
From: "Tom Walsh"
To:
Sent: Saturday, July 28, 2007 7:12 PM
Subject: Re: [lpc2000] JTAG flash programming of LPC21xx parts?
> urbite wrote:
>>
>> BTW, after reading the many compaints on comp.arch.embedded about the
>> NXP website, I see the problem. What a wholly unusable and s-l-o-w
>> website. Do the marketing and web design folks realize that their
>> customers are engineers who need and answers and results, not fancy
>> guis that look great but don't work worth a cr*p?
>> Apparently not, they are probably venture capitalists that want to show
> the pretty website, of the company they just bought, to impress women.
>
> It is pretty useless, parametric search is non-existent.
> [click-click-click--click-[...]]
>
> You want to see another useless website, take a look at
> http://www.mouser.com, now that is useless. They sell electronic
> components and apparently pander to the purchasing agents. This does
> nothing for the engineer that is looking for "something in an SOT-5 or
> SOT-3, fixed linear regulator, 1.8volts, at around 40ma or so". Their
> search engine sucks big-time! Now, goto http://www.digikey.com, their
> webisite lacks polish but they have a killer search engine and lots of
> pdf datasheets.
>
> Guess who I purchase all my parts from? heh.

Farnell and RS are even better:

http://www.farnell.com

http://rswww.com

Leon
--- In l..., "Leon" wrote:
>
> ----- Original Message -----
> From: "Tom Walsh"
> To:
> Sent: Saturday, July 28, 2007 7:12 PM
> Subject: Re: [lpc2000] JTAG flash programming of LPC21xx parts?
> > urbite wrote:
> >>
> >> BTW, after reading the many compaints on comp.arch.embedded about the
> >> NXP website, I see the problem. What a wholly unusable and s-l-o-w
> >> website. Do the marketing and web design folks realize that their
> >> customers are engineers who need and answers and results, not fancy
> >> guis that look great but don't work worth a cr*p?
> >>
> >
> > Apparently not, they are probably venture capitalists that want to
show
> > the pretty website, of the company they just bought, to impress women.
> >
> > It is pretty useless, parametric search is non-existent.
> > [click-click-click--click-[...]]
> >
> > You want to see another useless website, take a look at
> > http://www.mouser.com, now that is useless. They sell electronic
> > components and apparently pander to the purchasing agents. This does
> > nothing for the engineer that is looking for "something in an
SOT-5 or
> > SOT-3, fixed linear regulator, 1.8volts, at around 40ma or so".
Their
> > search engine sucks big-time! Now, goto http://www.digikey.com,
their
> > webisite lacks polish but they have a killer search engine and
lots of
> > pdf datasheets.
> >
> > Guess who I purchase all my parts from? heh.
>
> Farnell and RS are even better:
>
> http://www.farnell.com
>
> http://rswww.com
>
> Leon

Farnell isn't bad, and includes the one important thing DK doesn't -
order results by price. The main problem with their parametric search
is that a lot of the data has been entered rather haphazardly, often
producing multiple entries for the same thing ( e.g. 5V DC, 5V, 5.0V
etc.) This is something DK have pretty much got right, apart from some
duplication in package styles in places.

But RS - you're kidding, right? a completely useless joke. Searches
that result in zillions of irrelevant entries, many of which are out
of stock or discontinued products ( with no option to filter these
out), no ability to select multiple items in their already poor
parametric searh. And when you do eventually find those SOT-23 parts
you were after and order 20, they come in up to 20 bags of
individually cut tape.