EmbDev.net

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


von Drazen P. (drazen)


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

von Martin T. (mthomas) (Moderator)


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

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.