New Tutorial for Atmel AT91SAM7S Software Development

To fans of the Olimex AT91SAM7S boards. :smiley:

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