4.12.4. Describing the memory map

To describe the memory map for your hardware:

  1. In the left-hand pane, right-click on the entry for your board/chip file, and select Expand whole Tree from the context menu.

    For the Evaluator-7T example, right-click on the ...\ARM_Eval7T.bcd entry.

  2. Select the Memory_block entry.

  3. Create an entry for each area of memory for your board (see Gathering information about your target). To do this:

    1. In the right-hand pane, right-click on the Default entry, and select Make Copy... from the context menu.

    2. In the dialog box, enter a name for the area of memory you are defining.

      For the Evaluator-7T example, enter Eval_App_Flash.

    3. Repeat steps a and b to create the entries for other memory areas.

      For the Evaluator-7T example, create entries with the following names:

      • SRAM_bank1

      • SRAM_bank2.

  4. For each memory area entry you created in step 3, set the attributes of each memory area.

    For the Evaluator-7T example, set the attributes as shown in Table 4.7.

    Table 4.7. Memory map attributes

    AttributeEval_App_FlashSRAM_bank1SRAM_bank2
    Start0x018200000x00x40000
    Length0x600000x400000x40000
    Access [1]FlashRAMRAM
    Flash_type [2]

    Location of the Flash_Eval7T.fme file [3]

      
    DescriptionApplication Flash 384KSRAM bank1 256KSRAM bank2 256K

    [1] The default setting is RAM.

    [2] When this is set, RealView Debugger displays the Flash Memory Control dialog box when you write to a Flash memory location. For example, when you load an binary image into Flash.

  5. Right-click on the Default entry, and select Delete from the context menu.

  6. Select File ? Save and Close to close the Connection Properties window and save your changes.

Copyright © 2002-2005 ARM Limited. All rights reserved.ARM DUI 0182G
Non-Confidential