howto start develop for AT91SAM7S in linux

Guest #1171106
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
Guest #1171107
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").

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

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.