|ARM Technical Support Knowledge Articles|
Applies to: RealView Development Suite (RVDS)
RVDS includes instruction accurate Real-Time System Models (RTSMs) of ARM development boards.
RVDS 4.1 adds an RTSM model for the Cortex-M3 Microcontroller Prototyping System (MPS) board from ARM. Please see the RVDS 4.1 RTSM User Guide for model details.
The default memory map of the Cortex-M3 MPS model provides 64MB of Flash at address 0x0 and 4MB of SSRAM at address 0x10000000. RVD cannot load an application image directly into the flash memory (only RAM). If you want to map RAM to address 0x0, please see the article here.
In order to load a binary image into flash, please follow the instructions below:
In the "Connect to Target" window in RVD, right-click on your RTSM configuration (for the MPS model) and select "Configure...". This will open the "Model Configuration Utility" window as shown below.
The specified file will be loaded into flash memory at address 0x0 once you connect to the model in RVD.
Note: If your application was not linked to start from address 0x0 (e.g. 0x8000), the binary image requires padding bytes from address 0x0 because the flash loader will always load the file contents starting at address 0x0. Creating a suitable binary file is outside the scope of this article.
If you wish to load symbolic information for this image, you need to perform a "Symbols Only" image load in RVD. Open the "Target" menu and select "Load Image...". Select the ELF image and tick the "Symbols Only" box followed by "Open".
You will now be able to debug the application from flash memory with source level debug information.
Article last edited on: 2010-05-26 15:11:52
Did you find this article helpful? Yes No
How can we improve this article?