Olimex sam7x256 example

Moderator #1173063
Rate this post
• ▲ 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

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.