CrossStudio's New Project Wizard simplifies the creation of projects for the ARM Evaluator7T by creating a project with the appropriate project settings, memory map files and startup files. See Creating a New Project for more information on creating projects.

##### To create a new ARM Evaluator7T project

- Select the File | New | New Project menu item.
- Select ARM Evaluator7T Projects from the Project Type list.
- Select the required project template type from the Templates list.
- Set the required project name and location directory.
- Click OK.

CrossStudio for ARM supports the ARM Evaluator7T running applications from both RAM and FLASH.

##### To build and debug an application

- Select the project to work on by using the Project | Set Active Project menu option.
- Select the configuration you require by using the Build | Set Active Build Configuration menu option.
- Build the project by using the Build | Build Project menu option.
- Connect to the appropriate target in the target window.
- Download and start debugging the current project by using Debug | Start Debugging.

Warning: Downloading to FLASH on the Evaluator7T will erase part of the Evaluator7T firmware. See Restoring Evaluator7T Firmware for details of how CrossStudio can be used to restore the Evaluator7T's firmware.

The following sections describe the ARM Evaluator7T support in more detail. See ARM Target Support for more information.

### Memory Map Files

The default memory map file $(StudioDir)/targets/ARM_Evaluator7T/ARM_Evaluator7T_MemoryMap.xml has been provided. This file is used to describe the memory layout of the target and is used for linking and debugging. The placement of program sections within the memory map for both RAM and FLASH configurations is described by the non-target-specific default memory maps $(StudioDir)/targets/flash_placement.xml and $(StudioDir)/targets/sram_placement.xml.

The memory segment layout for both configurations is the same and is described in the following table:

Type | Description | Start Address | End Address
FLASH | 16 bit FLASH bank using ROMCON0 | 0x01800000 | 0x0187FFFF
RAM | 32 bit SRAM bank using ROMCON2 | 0x00040000 | 0x0007FFFF
RAM | 32 bit SRAM bank using ROMCON1 | 0x00000000 | 0x0003FFFF

### Target Startup Code

The default startup code is in $(StudioDir)/targets/ARM_Evaluator7T/ARM_Evaluator7T_Startup.s. It contains the exception vectors and the default exception handlers. The FLASH version of the code (specified by defining __FLASH_BUILD) is also responsible for configuring memory to match the above memory map and copying the exception vectors into RAM.

### Restoring the Evaluator7T Firmware

Downloading applications into FLASH will cause part of the Evaluator7T to be erased and therefore destroy it. This is reversible as CrossStudio can be used to re-program the firmware image into FLASH.

##### To restore the Evaluator7T Firmware

- Download the Eval7t_recover.zip file from http://www.arm.com/support.nsf/html/eval7t_faq!OpenDocument.
- Unzip the Eval7t_recover.zip file, the efi0065c.bin contains the firmware image.
- Select the FLASH Debug configuration by using the Project | Set Build Configuration menu option.
- Open the target window and then select and connect to the target interface to use for download.
- From the target window's context menu select Download File | Download Binary File. When prompted for the file to download, select the efi0065c.bin file in the file browser.
- When prompted for the start address, specify 0x01800000.
- Reset the target.