To create a new Atmel EB55  project

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

To build and debug an application running from RAM
To build and debug an application running from FLASH

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

The following sections describe the Atmel EB55 support in more detail.

Memory Map Files

The default memory map file $(StudioDir)/targets/Atmel_EB55/Atmel_EB55_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
RAM External RAM 0x02000000 0x0203FFFF
FLASH External FLASH 0x01000000 0x011FFFFF
RAM Internal RAM 0x00000000 0x00001FFF

Target Startup Code

The default startup code is in $(StudioDir)/targets/Atmel_EB55/Atmel_EB55_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 EB55 Firmware

The FLASH memory on the EB55 is split into standard boot and user sections. The jumper JP1 controls which half of the FLASH memory is visible first in the address map. If the JP1 jumper has been set to SDT rather than USER or the application being downloaded is larger than 0x100000 bytes the EB55's firmware will be overwritten. This is reversible as CrossStudio can be used to re-program the firmware image into FLASH.

To restore the EB55 Firmware