Arm Tutorials and Guide

Hi!

I recently bought the Sam7p64 board (Olimex) because I want to learn more about ARM.

Since I dont know anything about it I want to know if there are any good tutorials or guides for beginners.

I use Ubuntu so some sort of good guide on setting up a toolchain under Linux would be good.

What books (if there are any recently published) is recomended?

I have programmed Freescale HC12 and ATmega’s in assembler so a C/C++ would be fun so that I could learn something new!

/Henrik

tools are a hard row to hoe using Linux rather than Windows.

You may get bogged down in the tools and get little done on the objective, at least for quite a while.

Sorry.

There is a GNUARM Yahoo group that you could join.

Leon

ok…

After some heavy “google-ing” I have not found any good info either…but to me it seems as there shouldnt be a problem writing any C code depending on wich OS I am using any editor and gdb wilol do, but the problem would be uploading it into the development board with the usb jtag from olimex.

all these things can be for linux (any dist.)

gcc

binutils

newlibs

eclipse

ftdi drivers are included in linux…so why shouldnt there be any make files for upload?

I am getting a feeling that all software is built upon gnu products (mainly for unix clones) but all end software for win users, this is to me very wierd.

For us europeans Linux is becoming more and more used every day, recently the French police force switched to linux as an example…I hope that the future will bring more attention to IDE’s that are non-dependent to a special OS.

I just posted this question to the LPC2000 yahoo forum yesterday.

Apparently there is NO central newbie/get started area for arm7. A shame really, it should as simple as opening a wiki. Maybe I should do this?

Yes, I get a bit peeved when vendors want to charge me $1500+ US Dollars for a GNU toolchain. BUT as you will soon see, theres a lot of work that goes on in setting these things up. And the real value is in the arm libraries that simplify tasks such as SPI or I2C interfacing (tho I am not convinced some of these vendors have any of that either).

I got Yagarto+Eclipse setup under WinXP. Actually under linux, you can just build a arm7 toolchain, and hook up your fav ide(emacs?) to it. Yagarto I think lists all the compiler settings they used.

I grabbed the Procyon arm library for the supporting stuff, theres some help in there. I am actually wondering why there isn’t more work being done to Procyon.

Finally theres a couple of files defining the ‘board’ you have. I am using a Futurlec 2103 board, which I had to twiddle and figure out the settings for.

The LPC2000 group is real friendly and helpful, but a lot of links to what I think are important stuff are dead. A James Lynch is supposed to be a guru, but finding his materials is much harder than it should be. I feel theres a large amount of disorientation among the arm crowd. Maybe its just growing too far too fast.

I agree, the usb jtag and flash programmer would be linux sticking points. But maybe theres something out there that is usable.

Joe

I am going to try using the software though Wine, and see if it works … to be continued…

And yes I would think that a newbie guide would be welcome to the community! I dont have the knowledge but I belive that many others do.

Thanks for the fast replies everyone !

Hello Henrik.

Please take a look at my tutorial “Using Open Source Tools for AT91SAM7 Cross Development” hosted at the Atmel site. While it shows a Windows installation of the GNU tools, I still think you will get a lot of illumination from it since all these tools can be installed in a Linux environment.

The zip file with the tutorial pdf and project examples is here:

http://www.atmel.com/dyn/resources/prod … source.zip

Cheers,

Jim Lynch

GREAT!!! Thank you, I will get going right now!

I also found this:

http://openfacts.berlios.de/index-en.ph … ng_OpenOCD

For us Linux users :wink:

Even better!

In the Synaptic Package Manager I found a debian package of OPENOCD, this togheter with the other needed utilities (also found in Synaptic) gives one all the necessary tools to build the chain.

Great!!!

Now I need to read up on how to use them all :wink:

Guide:

system>

administration>

synaptic.

Click the search field and enter the needed programs and utilities. Click “apply” and swoosch its all done!

/a now a’ days happy swede…