EmbDev.net

Forum: ARM programming with GCC/GNU tools howto start develop for AT91SAM7S in linux


von miroslav (Guest)


Rate this post
useful
not useful
Please help me.
I have a whole procesor with minimal external components (crystal .....)

I cant find complete example as "blinking led...." for linux.
(scheme,description,flash,tutorial)

I have good skills in linux, c/c++ programming, ATMEL avr developing
etc.

Thaks

von Martin Thomas (Guest)


Rate this post
useful
not useful
miroslav wrote:
> I have a whole procesor with minimal external components (crystal .....)
>
> I cant find complete example as "blinking led...." for linux.
> (scheme,description,flash,tutorial)

There are some AT91SAM7-examples on my web-pages
http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects
The projects have been made or ported for the GNU-toolchain. Although I
have only tested with WinARM on Win32-systems the code should compile
with all arm-elf-gcc-based toolchains. Maybe some small changes are
needed in the makefiles. I have positive feedback from users who have
compiled my projects on Linux development-computers.

As far as I know gnuarm is available for Linux too so you do not have to
build your own arm-elf toolchain.

For flash-programming: search the at91.com-forum. Someone announced a
Linux-software which can talk to the preinstalled bootloader of
AT91SAM7s (SAM-BA) thru a AT91SAM7 UART. Another option is OpenOCD which
can be used to flash thru the JTAG-interface. I have put a small example
how this can bee done on my web-pages yesterday. Once again I have only
tested with Win32 but OpenOCD is "multiplatform". Information can also
be found in the OpenOCD support-forum. Compiling your your own OpenOCD
from the current SVN-sources should be not problem - everything should
be prepared for the Linux-envirionment.

Hope this helps,
Martin Thomas

von Martin Thomas (Guest)


Rate this post
useful
not useful
I should have mentioned that Rowley's Crossworks is available in a
Linux-version. It's not very expensive and maybe the easiest way to
start since everything is integrated into an IDE. Theres is a (very)
time-limited trial-version available. I expect they have some kind of
flash-programming functions integrated. Maybe they include examples.
I have never used Crossworks (and do not get money for this
"advertisement").

von miroslav (Guest)


Rate this post
useful
not useful
Martin Thomas wrote:

> There are some AT91SAM7-examples on my web-pages
> http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects

Thak you very much  but i dont know how to start (SAM-BA,bootloader..)
Your pages r very good
Thanks

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.