EmbDev.net

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


Author: miroslav (Guest)
Posted on:

Rate this post
0 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

Author: Martin Thomas (Guest)
Posted on:

Rate this post
0 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

Author: Martin Thomas (Guest)
Posted on:

Rate this post
0 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").

Author: miroslav (Guest)
Posted on:

Rate this post
0 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

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.