Setup embedded work under Linux PC

OP #1174465
Hi,,,

I have an embedded board with ARM7 LPC uC and my new PC is with Linux OS
- Ubuntu80.04.
I need to start embedded work. What are my options for compilers,
debugger, IDE, etc.. to install them on Linux PC? bcoz till now I used
to work with KEIL under Windows.

NOTE: I am not doing Embedded Linux

Thanks
Raed
Raed Abu-sanad wrote:
> I need to start embedded work. What are my options for compilers,
> debugger, IDE, etc.. to install them on Linux PC? bcoz till now I used
> to work with KEIL under Windows.
>
> NOTE: I am not doing Embedded Linux

The obvious choice (and given the nature of this forum, the obvious
answer) is to use a GNU toolchain. Building a cross-toolchain from the
GNU source is not for the faint-hearted or impatient. A simpler (and
probably a safer) approach is to use a pre-build toolchain such as that
at http://www.codesourcery.com/gnu_toolchains/arm/portal/release567

The 'Lite' in the title refers to the fact that these are command line
tools only - no IDE. Also you will find that they are target agnostic,
you won't get target specific header files or I/O simulators and the
like as you might with Keil. The headers you can build yourself, or use
examples from Martin Thomas's WinARM tools.

If you want an IDE, then you could use Eclipse amongst others. If using
Eclipse I suggest that you use EasyEclipse for C/C++
http://www.easyeclipse.org/site/distributions/cplusplus.html . However
to make it a truly integrated environment for embedded systems rather
than just a text editor and SVN front-end, you need to tweak it to get
the debugger and Flash programming to work with your hardware. One way
to do that is described here:
http://www.eetasia.com/ARTICLES/2007JUN/PDF/EEOL_2007JUN01_EMS_INTD_TA.pdf


You may also find this useful
http://www.state-machine.com/arm/Building_bare-metal_ARM_with_GNU.pdf
The examples use an Atmel part, but much of it is relevant to the
LPC2xxx parts also (being an ARM7 core device). As always familiarity
with the user manual is essential. Free LPC2xxx specific information is
available at http://www.hitex.co.uk/download.html (select the "Insider's
Guides" link in the side-bar).

Of course you might find that the Keil tools run under WINE or you could
install Windows on a Virtual Machine.

Clifford
OP
Hi Clifford

thanks for ur reply.
i just got eclipse on my Ubuntu PC.
could u please post an LED_blinking code (with the required headers,
makefiles, etc..)to be compiled on eclipse Linux, for ARM 23xx uC.

thanks
Raed Abu-sanad wrote:
> Hi Clifford
>
> thanks for ur reply.
> i just got eclipse on my Ubuntu PC.
> could u please post an LED_blinking code (with the required headers,
> makefiles, etc..)to be compiled on eclipse Linux, for ARM 23xx uC.
>
> thanks

The target is the target. The host makes no difference to the target
code, so you can use the examples provided with the WinARM tools for
example. Or any of the projects at
http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/

Reply

A question of your own? This thread is over 18 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.