EmbDev.net

Forum: ARM programming with GCC/GNU tools Olimex sam7x256 example


Author: Drazen Petrovecki (drazen)
Posted on:

Rate this post
0 useful
not useful
Hi,

I recently bought olimex board,I am beginner, I have install Winarm,
where can i get example project for this processor, because I don't now
to change sam7s project to sam7x.

Thanks

Author: Martin Thomas (mthomas) (Moderator)
Posted on:

Rate this post
0 useful
not useful
Drazen Petrovecki wrote:
> I recently bought olimex board,I am beginner, I have install Winarm,
> where can i get example project for this processor, because I don't now
> to change sam7s project to sam7x.

Sorry, WinARM does not include a AT91SAM7x example and there are no
examples for it on my web-pages since I do not own a board with such a
controller for tests (A manufacturer once offered to send such a board
for tests but I have never received it and never got an answer on the
question why they did withdraw the offer). Anyway: try google with
AT91SAM7S256 gcc and you should get some hits (i.e. make magazine,
NUT/OS, FreeRTOS). It's not too difficult to port a simple SAM7S-example
like a "LED-blink" to SAM7X: adjust the memory-sizes in the
linker-script, adjust the init-code if needed (see examples from Atmel
for other compilers) and modify the lines which access the
GPIO-registers to reflect the hardware-connections on your board.

Martin Thomas

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.