CrossStudio's New Project Wizard simplifies the creation of projects for the Revely RMS100 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 Revely RMS100 project

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

To build and debug an application

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

Memory Map Files

The default memory map file $(StudioDir)/targets/Revely_RMS100/Revely_RMS100_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 External FLASH 0x40000000 0x403FFFFF
SRAM External SRAM 0x44000000 0x4401FFFF
SRAM Internal SRAM 0x60000000 0x60003FFF
SRAM TCM SRAM 0x80000000 0x80003FFF

The internal SRAM is also mapped to address 0x00000000 in both RAM and FLASH configurations in order to allow the exception vectors to be modified at runtime.

Target Startup Code

The default startup code is in $(StudioDir)/targets/Revely_RMS100/Revely_RMS100_Startup.s. It contains the exception vectors, target specific startup code and the default exception handlers.