9.7. Creating a temporary memory map entry

You might have a memory map defined for the connected target (for example, in a BCD file) that does not exactly match the memory map of that target. In this situation, you can create a temporary memory map entry in the existing memory map. This enables you to see the effects of the memory map addition before you modify the BCD file. The temporary changes are not applied to any assigned BCD files.

To create a temporary memory map entry:

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

  2. Select Create Map Entry... to open the Create Map Entry dialog box. Figure 9.8 shows an example.

    The current settings for the chosen map entry are inserted into the appropriate fields.

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

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

    By default, this specifies the size of the memory block to be defined. 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 RAM - Read/Write Memory.

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

  7. If required, select the size of memory accesses in bytes from the Access Size.

  8. 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:

    Prompt

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

    Auto

    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.

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

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

    Note

    If you have entered any values that are inconsistent, for example there is 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
Non-ConfidentialID052111