Atmel AVR2070 User Manual

Page of 93
 
70 
AVR2070 
8240B-AVR-06/09 
Note: 
Sometimes the SAM7X will retain old FLASH values such as IP 
addresses. This can be a valuable feature during code reloads to keep 
static variables. To ensure that the memory is purged, the Erase jumper 
on the SAM7X board can be connected to ground. Doing so will 
completely erase the memory and will ensure that reloaded code will 
implement new values. 
D.3 Eclipse IDE 
D.3.1 Required Tools  
Besides the RUM source code, a few external tools are needed. These tools are the 
compiler and associated toolchain, the graphical interface, the emulator interface, and 
the FLASH programming tool.  
D.3.1.1 YAGARTO  
YAGARTO is a GCC compiler distribution. Download the latest version of the 
“YAGARTO GNU ARM toolchain” from 
www.yagarto.de
. Their website also has links 
to other documentation on setting up the toolchain.  
D.3.1.2 Eclipse  
Eclipse is the graphical interface that will be used. Get the C/C++ Edition from 
www.eclipse.org/downloads/
.  
D.3.1.3 J-Link Software and Documentation Pack from Segger  
This provides the GDB-Server that allows the Atmel SAM-ICE to be used for 
debugging. Obtain the software pack from Segger at 
www.segger.com/download_jlink.html
.  
 
D.3.1.4 AT91SAM-ICE (SAM-PROG)  
The SAM-PROG
TM
 utility allows programming the FLASH memory in the SAM7X 
device using the Atmel SAM-ICE. Get the latest version of the “AT91-ISP.exe‟ from 
www.atmel.com/dyn/products/tools.asp?family_id=605
.  
D.3.2 Installing  
Run the provided installers for each tool. With Eclipse there is no install needed – just 
extract the folder and create a shortcut to the eclipse.exe program.  
D.3.3 Building RUM – Step by Step  
Start the Eclipse program; a splash screen should appear. 
If no splash screen appears, there may be a problem with the Java
®
 Runtime 
Environment. Check the Eclipse documentation on eclipse.org for more details. 
Eclipse will then ask for the “workspace”, which is where it stores all its projects.