Forums

LPC2106 Newbie - What setup should I use?

Started by ooggie01 February 6, 2005

I just got a new Philips LPC-MT-2106 development board from Olimex
(http://www.olimex.com/dev/lpc-mt.html) but I'm not sure what
software and hardware to use with it. I got a JTAG programmer
dongle (http://www.sparkfun.com/shop/index.php?shop=1&catt) but I
can't find any free flash programmer software that can use a
parallel port. Maybe I should buy a different dongle.

I'm looking for hardware/software setup recommendations. Any
suggestions would be greatly appreciated.

Thanks!

Thomas



An Engineer's Guide to the LPC2100 Series


I'm facing a similar situation in that, before I can do much of
*anything*, I have to buy *something* (several something's in fact).
Not knowing much about the various products, the array of choices
seems quite large, almost to the point of being overwhelming.

From reading posts in this group, it also appears that there are
some incompatibilities that prevent an XYZ development board from
working with a QRST adapter if you're using the ABCD development
environment. If cost were no object, that wouldn't be a problem. On
the other hand, I hesitate to buy things when I may later discover
that two of the things I've bought just can't work together.

At this point, I'm still wading through datasheets, product
brochures, postings in this group, and various other documentation
trying to sort things out. I have to wonder if there's some minimal,
sure-to-work-together, (reasonably) low-cost development setup to
get started with. Regards, Bob

--- In , "ooggie01" <ooggie01@y...> wrote:
>
> I just got a new Philips LPC-MT-2106 development board from Olimex
> (http://www.olimex.com/dev/lpc-mt.html) but I'm not sure what
> software and hardware to use with it. I got a JTAG programmer
> dongle (http://www.sparkfun.com/shop/index.php?shop=1&catt) but
I
> can't find any free flash programmer software that can use a
> parallel port. Maybe I should buy a different dongle.
>
> I'm looking for hardware/software setup recommendations. Any
> suggestions would be greatly appreciated.
>
> Thanks!
>
> Thomas



----- Original Message -----
From: "Bob_xyz" <>
To: <>
Sent: Sunday, February 06, 2005 3:14 PM
Subject: [lpc2000] Re: LPC2106 Newbie - What setup should I use? >
>
> I'm facing a similar situation in that, before I can do much of
> *anything*, I have to buy *something* (several something's in fact).
> Not knowing much about the various products, the array of choices
> seems quite large, almost to the point of being overwhelming.
>
> From reading posts in this group, it also appears that there are
> some incompatibilities that prevent an XYZ development board from
> working with a QRST adapter if you're using the ABCD development
> environment. If cost were no object, that wouldn't be a problem. On
> the other hand, I hesitate to buy things when I may later discover
> that two of the things I've bought just can't work together.
>
> At this point, I'm still wading through datasheets, product
> brochures, postings in this group, and various other documentation
> trying to sort things out. I have to wonder if there's some minimal,
> sure-to-work-together, (reasonably) low-cost development setup to
> get started with.

I got my own LPC2106 board going with the GNU tools and the Philips flash
loader utility. I then built my own JTAG interface and used it with the
Macraigor OCD Commander utility. Then I got the the Rowley tools, which will
load programs into flash, and works very well with a Wiggler or other
compatible JTAG interface. The Rowley debugger allows debugging of programs
in flash, I don't think that the other debuggers do.

So, for a minimum outlay, you need the GNU software and the Philips flash
loader, and a suitable target board (Olimex's are cheapest). For debugging,
you need a JTAG interface (make your own or buy one from Olimex). The GNU
debugger (GDB or Insight) work either via an RS-232 connection or JTAG. The
Rowley debugger (and the others, presumably) are much easier to use than GDB
or Insight.

Leon
--


Hi,

For a quick start: Try Crossworks for ARM 1.3 from www.rowley.co.uk . It
comes free for 30 days, and it is really a good piece of software. With
MacGraigor wiggler or ARM JTAG from Olimex you will be able to program the
RAM, Flash debug from both

If you are from North America I suggest http://www.optimal-microsystems.com
if you ever need to get any Olimex products.

If you want a free alternative youll have to get the ARM GNU tool chain
working. You can compile it from scratch or get the binaries from
http://www.gnuarm.com/.
One of the reasons why getting the toolchain to work is simply because most
of the development environments use it internally (CrossWorks, Ashling,
Keil). Compiling and running the code is a no-brainer. In addition to the
tool chain youll require the FLASH Utility from Philips that is available
free from their website.
The tricky part is when you want to debug your code using JTAG.
You need the program from MacGraigor (ocdremote). It starts the gdb proxy,
and then gdb (Insight) can attach to it (I like gdb/ddd combo better).
However, it is slow and to you cant just debug from flash like with
CrossWorks.
Hope this helps,
m.

________________________________________
From: Bob_xyz [mailto:]
Sent: Sunday, February 06, 2005 10:15 AM
To:
Subject: [lpc2000] Re: LPC2106 Newbie - What setup should I use? I'm facing a similar situation in that, before I can do much of
*anything*, I have to buy *something* (several something's in fact).
Not knowing much about the various products, the array of choices
seems quite large, almost to the point of being overwhelming.

>From reading posts in this group, it also appears that there are
some incompatibilities that prevent an XYZ development board from
working with a QRST adapter if you're using the ABCD development
environment. If cost were no object, that wouldn't be a problem. On
the other hand, I hesitate to buy things when I may later discover
that two of the things I've bought just can't work together.

At this point, I'm still wading through datasheets, product
brochures, postings in this group, and various other documentation
trying to sort things out. I have to wonder if there's some minimal,
sure-to-work-together, (reasonably) low-cost development setup to
get started with. Regards, Bob

--- In , "ooggie01" <ooggie01@y...> wrote:
>
> I just got a new Philips LPC-MT-2106 development board from Olimex
> (http://www.olimex.com/dev/lpc-mt.html) but I'm not sure what
> software and hardware to use with it. I got a JTAG programmer
> dongle (http://www.sparkfun.com/shop/index.php?shop=1&catt) but
I
> can't find any free flash programmer software that can use a
> parallel port. Maybe I should buy a different dongle.
>
> I'm looking for hardware/software setup recommendations. Any
> suggestions would be greatly appreciated.
>
> Thanks!
>
> Thomas

________________________________________
Yahoo! Groups Links
To




--- In , "Leon Heller" <leon.heller@d...>
wrote:
> ----- Original Message -----
> From: "Bob_xyz" <bob_barr@h...>
> To: <>
> Sent: Sunday, February 06, 2005 3:14 PM
> Subject: [lpc2000] Re: LPC2106 Newbie - What setup should I use?
>
snip
> The Rowley debugger allows debugging of programs
> in flash, I don't think that the other debuggers do.
>
snip
>
> Leon

Several debugger vendors claim debug in FLASH. Do you know who does
not achieve it.

Ian




Re: LPC2106 Newbie - What setup should I use?

Thanks for the tips, guys. That helps clear things up and narrow
them down a bit. Regards, Bob