EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Newbee: help with Embedded Artists LPC2103 education board

Started by Dennis Clark January 21, 2009
Hi all,

I'm a total newbee on the ARM platform. I got the Embedded Artists
LPC2103 educational board when I got their seasonal Christmas Tree
LPC2103 based board. I am at sea here and would like an "arm" up
(sorry, I couldn't resist it.)

My platform of choice is the Mac OS X 10.4 and 10.5 system running
Eclipse Europa and the GNUARM Eclipse plugin. After I installed the
plugin, with some help I found that I don't know how to configure the
hardware. The "Quick Start" setup that comes with the EA boards only
installs on a Windows PC, oops, I expected a more generic setup.

There are currently these problems for me:

1) I hand to ln -s the files from /usr/local/arm/bin to /usr/bin for
the Eclipse platform to find them. Where are the path configuration
settings for the GNUARM plugin? I'm pretty sure that the include and
lib files will not be in the correct place for the compiler either...

2) How do I and where do I get configuration files for the ARM chips?
I sort of expected them to come with my arm-elf install - BTW, I have
GNUARM 4.2.0 with newLib 1.15 and their associated toolchain that I
got from the GNUARM site pre-configured for the Mac OS X PPC platform.

3) How do I download code to the LPC2103 boards? I know that they
have bootloaders in them, but again, I have chosen the hard path and
I've only seen Windows downloader code. Is there any OS X code out
there? I also have an IAR J-Link ARM USB JTAG programmer (version 6)
is there any way to use this with an ARM board? (I got it at a seminar.)

4) Is there a simple "blink the LED" startup program that someone can
point me to to help me get started, after I get all the above issues
solved?

Many and most generously applied thanks,
DLC

An Engineer's Guide to the LPC2100 Series

--- In l..., "Dennis Clark"
wrote:
>
> Hi all,
>
> I'm a total newbee on the ARM platform. I got the Embedded
Artists
> LPC2103 educational board when I got their seasonal Christmas Tree
> LPC2103 based board. I am at sea here and would like an "arm" up
> (sorry, I couldn't resist it.)
>
> My platform of choice is the Mac OS X 10.4 and 10.5 system running
> Eclipse Europa and the GNUARM Eclipse plugin. After I installed the
> plugin, with some help I found that I don't know how to configure
the
> hardware. The "Quick Start" setup that comes with the EA boards
only
> installs on a Windows PC, oops, I expected a more generic setup.
>
> There are currently these problems for me:
>
> 1) I hand to ln -s the files from /usr/local/arm/bin to /usr/bin for
> the Eclipse platform to find them. Where are the path configuration
> settings for the GNUARM plugin? I'm pretty sure that the include
and
> lib files will not be in the correct place for the compiler
either...
>
> 2) How do I and where do I get configuration files for the ARM
chips?
> I sort of expected them to come with my arm-elf install - BTW, I
have
> GNUARM 4.2.0 with newLib 1.15 and their associated toolchain that I
> got from the GNUARM site pre-configured for the Mac OS X PPC
platform.
>
> 3) How do I download code to the LPC2103 boards? I know that they
> have bootloaders in them, but again, I have chosen the hard path and
> I've only seen Windows downloader code. Is there any OS X code out
> there? I also have an IAR J-Link ARM USB JTAG programmer (version
6)
> is there any way to use this with an ARM board? (I got it at a
seminar.)
>
> 4) Is there a simple "blink the LED" startup program that someone
can
> point me to to help me get started, after I get all the above issues
> solved?
>
> Many and most generously applied thanks,
> DLC
>

I used the Jim Lynch "ARM Cross Development with Eclipse" tutorials to
get started but that was about 2 years ago. I'm pretty sure you can
find a tutorial assuming Cygwin and another assuming Yagarto. I'm sure
other people in this forum have more up to date info on this than I
do.

The tutorials will likely help you get paths setup correctly, etc. I
wouldn't have gotten the tools to work without them. In addition, they
will help you get the LED blink program running. There are numerous
code examples that you should be able to find with a little searching.

I ended up using FreeRTOS and it has some LPC2106 "demos" that were
helpful. I think you will also find some of the tool vendors offer
some demo code with their trial versions. They are useful even if you
decide to stay with Eclipse/GNU (which is what I did).

TC
tcirobot wrote:
> --- In l..., "Dennis Clark"
> wrote:
>> Hi all,
>>
>> I'm a total newbee on the ARM platform. I got the Embedded
> Artists
>> LPC2103 educational board when I got their seasonal Christmas Tree
>> LPC2103 based board. I am at sea here and would like an "arm" up
>> (sorry, I couldn't resist it.)
>>
>> My platform of choice is the Mac OS X 10.4 and 10.5 system running
>> Eclipse Europa and the GNUARM Eclipse plugin. After I installed the
>> plugin, with some help I found that I don't know how to configure
> the
>> hardware. The "Quick Start" setup that comes with the EA boards
> only
>> installs on a Windows PC, oops, I expected a more generic setup.
>>
>> There are currently these problems for me:
>>
>> 1) I hand to ln -s the files from /usr/local/arm/bin to /usr/bin for
>> the Eclipse platform to find them. Where are the path configuration
>> settings for the GNUARM plugin? I'm pretty sure that the include
> and
>> lib files will not be in the correct place for the compiler
> either...
>> 2) How do I and where do I get configuration files for the ARM
> chips?
>> I sort of expected them to come with my arm-elf install - BTW, I
> have
>> GNUARM 4.2.0 with newLib 1.15 and their associated toolchain that I
>> got from the GNUARM site pre-configured for the Mac OS X PPC
> platform.
>> 3) How do I download code to the LPC2103 boards? I know that they
>> have bootloaders in them, but again, I have chosen the hard path and
>> I've only seen Windows downloader code. Is there any OS X code out
>> there? I also have an IAR J-Link ARM USB JTAG programmer (version
> 6)
>> is there any way to use this with an ARM board? (I got it at a
> seminar.)
>> 4) Is there a simple "blink the LED" startup program that someone
> can
>> point me to to help me get started, after I get all the above issues
>> solved?
>>
>> Many and most generously applied thanks,
>> DLC
>> I used the Jim Lynch "ARM Cross Development with Eclipse" tutorials to
> get started but that was about 2 years ago. I'm pretty sure you can
> find a tutorial assuming Cygwin and another assuming Yagarto. I'm sure
> other people in this forum have more up to date info on this than I
> do.
>
> The tutorials will likely help you get paths setup correctly, etc. I
> wouldn't have gotten the tools to work without them. In addition, they
> will help you get the LED blink program running. There are numerous
> code examples that you should be able to find with a little searching.
>
> I ended up using FreeRTOS and it has some LPC2106 "demos" that were
> helpful. I think you will also find some of the tool vendors offer
> some demo code with their trial versions. They are useful even if you
> decide to stay with Eclipse/GNU (which is what I did).
>
> TC

Thanks for your help! The Jim Lynch tutorials (I have a V.3 and V.4
one) are several years old and talk about needing a special Zylin CDT
plugin to handle GDB to a remote client. Is this still needed? I would
have thought by now that the Eclipse folks would have gotten the CDT
plugin more generically functional by now. Inquiring minds want to know! ;)

Have fun,
DLC

--
-------------
Dennis Clark TTT Enterprises
www.techtoystoday.com
-------------

--- In l..., dlc wrote:

>
> Thanks for your help! The Jim Lynch tutorials (I have a V.3 and V.4
> one) are several years old and talk about needing a special Zylin CDT
> plugin to handle GDB to a remote client. Is this still needed? I
would
> have thought by now that the Eclipse folks would have gotten the CDT
> plugin more generically functional by now. Inquiring minds want to
know! ;)
>
> Have fun,
> DLC

I think the plug-in is included in the Ganymede release for C++/C
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/ganymede/SR1/eclipse-cpp-ganymede-SR1-linux-gtk-x86_64.tar.gz

See http://www.eclipse.org/downloads/ or the package details
http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/ganymedesr1

I don't use GDB so I can't be certain but I think everything you need
is included. You might try this:
http://www.makingthings.com/documentation/tutorial/debug-with-openocd/configure-eclipse

In Eclipse look into Run->Debug Configurations

Richard


The 2024 Embedded Online Conference