EmbDev.net

Forum: ARM programming with GCC/GNU tools Embedded.com: Building Bare-Metal ARM Systems with GNU


von Clifford S. (clifford)


Rate this post
useful
not useful
Many of you may be interested in this new series of articles on
embedded.com:
http://www.embedded.com/showArticle.jhtml?articleID=200000632

Clifford

von Clifford S. (clifford)


Rate this post
useful
not useful

von Martin T. (mthomas) (Moderator)


Rate this post
useful
not useful
Thanks for sharing the information.

von Clifford S. (clifford)


Rate this post
useful
not useful
Part 3 deals with the linker script. As arcane as it is I am sure that
many readers will find it useful - especially if working on boards or
devices for which Martin has not already provided a script.

http://www.embedded.com/rss/showArticle.jhtml?articleID=201000339&cid=RSSfeed_embedded_news

BTW I have no connection with the author or the publication in case this
looks like spamming or advertising. Just thought it would be useful to
these wanting to understand the WinARM tools (or other GNU tools for
ARM) or to extend support for other devices.

Clifford

von Jonathan D. (dumarjo)


Rate this post
useful
not useful
Clifford Slocombe wrote:
> Part 3 deals with the linker script. As arcane as it is I am sure that
> many readers will find it useful - especially if working on boards or
> devices for which Martin has not already provided a script.
>
> 
http://www.embedded.com/rss/showArticle.jhtml?articleID=201000339&cid=RSSfeed_embedded_news
>
> BTW I have no connection with the author or the publication in case this
> looks like spamming or advertising. Just thought it would be useful to
> these wanting to understand the WinARM tools (or other GNU tools for
> ARM) or to extend support for other devices.
>
> Clifford

don't worry. It is very useful.

Jonathan

von Andy K. (andykunz)


Rate this post
useful
not useful
This thread ought to be made a sticky so it stays at the top of the
subject list.

Andy

von Clifford S. (clifford)


Rate this post
useful
not useful
Part 4 is available:
http://www.embedded.com/rss/showArticle.jhtml?articleID=201001729&cid=RSSfeed_embedded_news

Deals with compiler options and using C++.

I noticed that "Listing 3" and the subsequent unlabelled listing are in
the wrong order, which might serve to confuse, so watch out for that!

Clifford

von Clifford S. (clifford)


Rate this post
useful
not useful
Part 5 now available:
http://www.embedded.com/rss/showArticle.jhtml?articleID=201200388

There seems to be a continuing quality control issue with this series,
part 4's section on C++ seems to be repeated almost verbatim here, but
with correctly labelled listings this time!

von Clifford S. (clifford)


Rate this post
useful
not useful

von Clifford S. (clifford)


Rate this post
useful
not useful

von Clifford S. (clifford)


Rate this post
useful
not useful

von Clifford S. (clifford)


Rate this post
useful
not useful
There is also currently a series on embedded.com titled "The basics of
programming embedded processors" which may be of interest to many. I'll
leave it as an exercise for the reader to find it (there are currently
links on any of the pages posted above). I can recommend using the RSS
feed if you don't want to miss anything.

Clifford

von Giacomuzzi Mathias (Guest)


Rate this post
useful
not useful
Is there a port of this examples available for lpc2000?

mgiaco

von Clifford S. (clifford)


Rate this post
useful
not useful
Giacomuzzi Mathias wrote:
> Is there a port of this examples available for lpc2000?
>
> mgiaco
Your best bet is probably to contact he author. However all the general
principles apply since they are both ARM7 devices. Differences are
primarily in interrupt architectures, memory map, and on board I/O
devices, with some differences in boot processes as well. You'll
probably have to get down-and-dirty with the technical manuals for the
respective parts - but that is what embedded systems programming is
about, it is seldom handed to you done!

However the WinARM suite comes with examples for both NXP and Atmel
parts, you should be able to work from those as a starting point. This
series of articles is really for those that want to work from scratch
and understand in detail what it takes to do board bring-up. If you were
using custom hardware it would be a useful starting point.

While checking out the author's site I did come across the full set of
articles as PDFs and downloadable code, which is probably more acessible
(and printable) than the web series:
http://www.quantum-leaps.com/resources/papers.htm##GNU-ARM

Clifford

von Clifford S. (clifford)


Rate this post
useful
not useful
Clifford Slocombe wrote:

> While checking out the author's site I did come across the full set of
> articles as PDFs and downloadable code, which is probably more acessible
> (and printable) than the web series:
> http://www.quantum-leaps.com/resources/papers.htm##GNU-ARM
>

The above link no longer works. The whole thing is available as a single
PDF at:
http://www.state-machine.com/arm/Building_bare-metal_ARM_with_GNU.pdf
with the individual parts and the source code available at
http://www.state-machine.com/resources/papers.htm

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.