Olimex sam7x256 example

Moderator #1173063
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

A question of your own? This thread is over 19 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

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.