CrossStudio's New Project Wizard simplifies the creation of projects for the MPE ARM 7 Development Kit 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.
CrossStudio for ARM supports the MPE ARM 7 Development running applications from both RAM and FLASH.
The following sections describe the MPE ARM 7 Development Kit support in more detail. See ARM Target Support for more information.
The default memory map file $(StudioDir)/targets/MPE_ARM7DK/MPE_ARM7DK_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 |
SRAM | Internal SRAM | 0x60000000 | 0x600007FF |
FLASH | External FLASH (Segment 1) | 0x01000000 | 0x010FFFFF |
SRAM | External SRAM (Segment 2) | 0x00000000 | 0x0007FFFF |
The default startup code is in $(StudioDir)/targets/MPE_ARM7DK/MPE_ARM7DK_Startup.s. It contains the exception vectors and the default exception handlers. The FLASH version of the code (specified by defining BUILD_FLASH) is also responsible for configuring memory to match the above memory map and copying the exception vectors into RAM.