To fans of the Olimex AT91SAM7S boards.
Atmel has hosted my new tutorial on setting up an Eclipse cross-development environment for the Atmel AT91SAM7 family of microcontrollers.
Go to the Atmel web site: http://www.at91.com
Click on âProductâ followed by âAT91SAM7Sâ then click on âFree Toolâ
The tutorial may be perused by clicking on its name: âUsing Open Source Tools for AT91SAM7S Cross Developmentâ.
The 161 Mb download of ALL necessary and compatible software components can be started by clicking on âToolsâ.
In addition to being directed at the Atmel family of ARM microprocessors, this tutorial addresses the use of the OpenOCD JTAG debugger developed by Dominic Rath and shows examples using the âwigglerâ as well as Amontecâs JTAGKey USB debugger.
Atmel had promised me a chance to do a final review before publication, but their enthusiasm got the best of them. Therefore, there are a few typographical errors to report.
On Page 116, the sequence of start-up GDB commands should be as follows:
target remote localhost:3333
monitor soft_reset_halt
monitor mww 0xFFFFFF00 0x01 <----- corrected line
monitor reg pc 0x00000000 <----- corrected line
monitor ARM7_9 sw_bkpts enable <----- corrected line
break main
load
continue
Page 117, which attempts to explain these commands, has similar errors present. I will submit a revision as soon as possible to Atmel.
This is an Open Source project; I received no compensation for this effort. Atmel did lend me a evaluation board which I will return.
I intend to improve this tutorial very soon. One possibility is to use Michael Fischerâs YAGARTO package which has ânativeâ versions of the GNU ARM toolset and OpenOCD. The other idea I have is to expand the sample program to demonstrate a timer IRQ interrupt and a FIQ interrupt.
I hope you enjoy this tutorial and please feel free to contact me if you spot any difficiencies (lynch007@gmail.com).
Cheers,
Jim Lynch