Linux and LPC2000 Development Toolkit

Started by Jean-Jacques Dauchot June 12, 2011
Hi

I know it is not a LPC2000 topic, but can someone recommend an Eclipse based development kit that I can run under Linux for LPC2000 cpus simular than that of Yargato for windows?

Regards

Jean-Jacques

An Engineer's Guide to the LPC2100 Series

--- In l..., "Jean-Jacques Dauchot" wrote:
>
> Hi
>
> I know it is not a LPC2000 topic, but can someone recommend an Eclipse based development kit that I can run under Linux for LPC2000 cpus simular than that of Yargato for windows?
>
> Regards
>
> Jean-Jacques
>
I would never reccommend an Eclipse based enviroment, however that's a personal viewpoint. For the LPC devices you can go to code red for eclipse if you really want it.
http://www.code-red-tech.com/products.php

There is Crossworks for which I have heard good things, looks like there
is a Linux version. Its not free, but there is probably a trial version
if you want to give it a go, and of course you will get support if you
buy it.

Crossworks <%20http://www.rowley.co.uk/arm/index.htm>

I use eclipse, gcc, newlib, openocd under Linux myself. Although you may
have a few problems compiling GCC for Arm, depending on the version. I
use make files so I do not have to use eclipse as any editor will do,
however I like the in built versioning support or eclipse and the local
editing history, just makes life a bit easier.

Ben.

--- In l..., "Jean-Jacques Dauchot"
wrote:
>
> Hi
>
> I know it is not a LPC2000 topic, but can someone recommend an Eclipse
based development kit that I can run under Linux for LPC2000 cpus
simular than that of Yargato for windows?
>
> Regards
>
> Jean-Jacques
>
Hi

I am open to any options.
What are the best tools I can use under Linux for LPC2000 development

Regards

Jean-Jacques

--- In l..., "philyoung63" wrote:
>
> --- In l..., "Jean-Jacques Dauchot" wrote:
> >
> > Hi
> >
> > I know it is not a LPC2000 topic, but can someone recommend an Eclipse based development kit that I can run under Linux for LPC2000 cpus simular than that of Yargato for windows?
> >
> > Regards
> >
> > Jean-Jacques
> >
> I would never reccommend an Eclipse based enviroment, however that's a personal viewpoint. For the LPC devices you can go to code red for eclipse if you really want it.
> http://www.code-red-tech.com/products.php
>

Best can mean many things and depends on what you want.

If you want free, then you can compile your own gcc,binutils and newlib.
It will cost you in time and may be a bit of a learning curve.

You can buy a toolset. This will get you up and running faster but will
cost you money.
There are a few to choose from, Crossworks, Tasking (they use eclipse as
IDE) and probably others. Try googling.

I have had no problems with eclispe,gcc,newlib,binutils myself, although
I am not using JTAG for debugging. Last time I briefly tried I did not
have much success with it though. Some of the stuff I do, I can't use
JTAG for anyway.

--- In l..., "Jean-Jacques Dauchot"
wrote:
> Hi
>
> I am open to any options.
> What are the best tools I can use under Linux for LPC2000 development
>
> Regards
>
> Jean-Jacques
>
> --- In l..., "philyoung63" philipjyoung@ wrote:
> >
> >
> >
> > --- In l..., "Jean-Jacques Dauchot"
wrote:
> > >
> > > Hi
> > >
> > > I know it is not a LPC2000 topic, but can someone recommend an
Eclipse based development kit that I can run under Linux for LPC2000
cpus simular than that of Yargato for windows?
> > >
> > > Regards
> > >
> > > Jean-Jacques
> > >
> > I would never reccommend an Eclipse based enviroment, however that's
a personal viewpoint. For the LPC devices you can go to code red for
eclipse if you really want it.
> > http://www.code-red-tech.com/products.php
>

I use Linux (Ubuntu) and I do NOT like Eclipse. I prefer a nice Editor
(my choice: Scite) and makefiles. My debug method is a simple printf .

With a avr I used the gcc-avr toolchain, available within ubuntu.

With a LPC 2138 I used the toolchain from codesourcery
http://www.codesourcery.com/sgpp/lite/arm/portal/subscription?@template=lite
version EABI IA32 GNU/Linux TAR : do not use the Linux installer, the
tar is easier. Just change /etc/environment to add the "bin" path .

The programmer is lpc21isp. See
http://pygmy.utoh.org/riscy/bootloader.html and the Yahoo discussion group.
I recompiled the program (delete line 23 because __error() is not defined)

I found the makefiles in WinArm , installed on a XP machine. I
downloaded useful examples about the lpc213x_214x, where I found the
startup code and linker script.

The whole test was successfull.

Robert

On 06/12/2011 09:29 AM, Jean-Jacques Dauchot wrote:
>
> Hi
>
> I know it is not a LPC2000 topic, but can someone recommend an Eclipse
> based development kit that I can run under Linux for LPC2000 cpus
> simular than that of Yargato for windows?
>
> Regards
>
> Jean-Jacques
I've used Linux and the GNU tools for many years, and I've tried Eclipse
with Code Red, and it just gets in the way.

Dave S

On Sun, Jun 12, 2011 at 2:06 AM, philyoung63 wrote:

> --- In l..., "Jean-Jacques Dauchot" wrote:
> >
> > Hi
> >
> > I know it is not a LPC2000 topic, but can someone recommend an Eclipse
> based development kit that I can run under Linux for LPC2000 cpus simular
> than that of Yargato for windows?
> >
> > Regards
> >
> > Jean-Jacques
> >
> I would never reccommend an Eclipse based enviroment, however that's a
> personal viewpoint. For the LPC devices you can go to code red for eclipse
> if you really want it.
> http://www.code-red-tech.com/products.php
>
>
>
--- In l..., "Jean-Jacques Dauchot" wrote:
>
> Hi
>
> I know it is not a LPC2000 topic, but can someone recommend an Eclipse based development kit that I can run under Linux for LPC2000 cpus simular than that of Yargato for windows?
>
> Regards
>
> Jean-Jacques
>

Top of the line is CrossWorks with a CrossConnect JTAG dongle. This setup just works! No messing around hunting up config files for OpenOCD. There is a 'personal' version of CrossWorks and there is a new version of the CrossConnect that might be cheaper than the first version. You can use JTAG dongles other than CrossConnect; there are quite a few choices. Try the sample version and see what you think.

For Free: Eclipse for C/C++ development. I'm using it right now on Win7 x64 to write JAL code for a PIC. I really like Eclipse. I use if for PIC, ARM, Blackfin, AVR and PC code. One platform, many targets. Plus it manages my workspace.

There are tutorials for getting OpenOCD to work - Google for them. You can build your own toolchain with the instructions at
http://www.gnuarm.com/support.html
The file versions at the site are seriously OLD - they won't include Cortex-M3 support. You will need to get the latest files from somewhere else but the build process should work fine.

The Keil toolchain has a free, but size limited (32k), version. It's a pretty nice setup.

You might find this site helpful:
http://openhardware.net/Embedded_ARM/
At least the file versions are newer. I'm a little put off by the fact that newlib is built for Thumb and interworking is REQUIRED for ARM code to use it but I try to avoid newlib anyway.

If I was really concerned, I would change the build process.

And, yes, I use YAGARTO from time to time. It's pretty much up to date and everything just works. It's a very nice platform.

Richard

--- In l..., "Jean-Jacques Dauchot" wrote:
>
> Hi
>
> I know it is not a LPC2000 topic, but can someone recommend an Eclipse based development kit that I can run under Linux for LPC2000 cpus simular than that of Yargato for windows?
>
> Regards
>
> Jean-Jacques
>

Here's a link to instructions for creating your own toolchain.

http://blog.engine12.com/?pY

I was using Eclipse, but have since switched over to Codelite. The generated toolchain will work with both, of course.

Mark