9.8. Editing a memory map entry

You can edit any memory map entry except for those that have default mapping. If the memory map is defined in a BCD file, then the changes are not applied to the related BCD file.

To edit a memory map entry:

  1. Right-click on the required map entry in the Memory Map tab to display the context menu.

    For example, if you have created the temporary memory map as described in Setting up a temporary memory map, right-click on the Area after image entry.

  2. Select Edit Map Entry... to open the Edit Map Entry dialog box. Figure 9.12 shows an example. The current settings for the chosen map entry are inserted into the appropriate fields.

    Figure 9.12. Edit Map Entry dialog box

    Edit Map Entry dialog box

  3. Specify the starting location for the map entry in the Start Addr field.

  4. Specify the size for the map entry in the Size field.

    By default, this specifies the size of the memory block being edited. To specify the end address rather than the block size:

    1. Deselect the Size is inclusive Length (vs. Addr) check box.

    2. Enter the required address in the Size field. For example, enter 0xFFFFFFF0.

    RealView Debugger automatically sets the size you specify. If the computed size does not fall on a page boundary an error dialog box is displayed and you must re-enter the block size.

    If you enter a value of 0x0, all memory from the starting address is remapped.

  5. Select the access type in the Access list.

    For example, select ROM - Read Only Memory.

  6. Select the memory type to be allocated from the Type list. The options listed depend on your target.

  7. If you selected Flash - FLASH/EEPROM Updateable as the Access type, then you must specify the appropriate Flash MEthod (FME) file to use for your development platform. Otherwise, skip this step.

    To specify the FME file to use for Flash programming:

    1. Click the file browser button for the FLASH Programming Method File (FLASH Only) field.

    2. Select <Select File ...> from the menu to open the Select File dialog box.

    3. Locate the required FME file.

    4. Click Open.

      The FME file and path are inserted into the FLASH Programming Method File (FLASH Only) field.

    You can optionally set the FLASH write mode to one of the following:


    Causes the Flash Memory Control dialog box to be displayed so that you can manually perform a Flash write operation.


    Causes RealView Debugger to perform Flash write operations automatically.

    Also, set the FLASH Auto-write clock frequency in Hz field to the correct speed.

    In this mode, the write operation is complete when RealView Debugger displays the Flash Memory Control dialog box. Also, messages are displayed in the Cmd tab of the Output view, depending on the feature used to perform the write operation.

  8. Enter a description for the new memory map block, for example New test memory entry.

  9. Click OK to confirm your new settings and to update the Memory Map tab.


    If you have entered any values that are inconsistent, for example a mismatch on start and end addresses, RealView Debugger displays a warning. Correct these entries and click OK. When all entries are valid, the dialog box closes and RealView Debugger updates the Memory Map tab.

See also:

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0153N