| |||
Home > Memory Mapping > Viewing the memory map > Working with the Map tab |
To view the memory map:
Connect to a suitable debug target.
Enable memory mapping (see Enabling and disabling memory mapping).
Load an image, for example dhrystone.axf
Select View → Pane Views → Memory Map to display the Process Control pane and bring the Map tab to the front.
Click on the plus signs to expand the entries, shown in Figure 6.4.
The Map tab displays a tree-like structure for each component of the memory map. There is an entry for each memory area defined in the image or for the processor. Each memory area shows the following information:
Start
Start address of the memory area.
Size
Size of the memory area.
The access rules
for the memory area. This can be one of RAM
, ROM
, WOM
, NOM
, Auto
, Prompt
,
or Flash
. See Memory map configuration for more details.
Filled
This shows if a range within the memory area contains data loaded from an application program. For example:
File scatter.axf: ER_RO 0x00008000..+0x2DB4 ER_RW 0x0000ADB4..+0x0004 ER_ZI 0x0000AF40..+0x0188
A one-line text description can also be included, and is displayed in the Value column opposite the Access rule.
The way that memory is shown depends on your debug target because RealView Debugger populates this tab from:
built-in knowledge about the processor
target configuration information
the description in the execution vehicle.
Colored icons are used to show the type of memory defined, see Display colors.
With an image loaded, the Map tab is updated from details in the image itself. The memory map is also automatically updated if any registers change that affect memory mapping.