5.14. Setting up controlled memory map blocks

Define the two controlled memory map blocks named M_FastRAM and M_SlowROM:

  1. Select Target → Connection Properties... from the Code window main menu to open the Connection Properties dialog box.

  2. Expand the (*.bcd) Board/Chip Definitions group.

  3. Expand the ...\EtherRouter.bcd group.

  4. Expand the following groups in turn:

    1. *BOARD=EtherRouter

    2. *Advanced_Information

    3. *ARM

    4. *Memory_Block.

  5. Create the M_FastRAM memory block:

    1. Right-click on the *Memory_block group in the left pane to display the context menu.

    2. Select Make New... from the context menu to open the Enter Name of New object dialog box. The name default is inserted.

    3. Enter the name M_FastRAM.

    4. Click Create.

  6. Change the settings for the M_FastRAM memory block, shown in Figure 5.17:

    1. Select the M_FastRAM group in the left pane.

    2. Set the value of Start to the start address of the memory block, for example, 0x0 (this is the default).

    3. Set the value of Length in memory units for the memory block. For example, 0x80000 bytes for an ARM architecture-based processor.

    4. Set Description to Fast Static RAM.

    5. Set Access to RAM (this is the default).

    Figure 5.17. M_FastRAM memory block

    M_FastRAM memory block

  7. Create the M_SlowROM memory block:

    1. Right-click on M_FastRAM to display the context menu.

    2. Select Make Copy... from the context menu to open the Enter Name of New object dialog box. The name M_FastRAM_1 is inserted.

      Note

      If the name of a memory block you are copying ends with a number, then RealView Debugger increments the number for the new block name.

    3. Change the name to M_SlowROM.

    4. Click Create.

  8. Change the settings for the M_SlowROM memory block, shown in Figure 5.18:

    1. Select the M_SlowROM group in the left pane.

    2. Set Access to ROM.

    3. Set *Description to Slow Boot ROM.

    Figure 5.18. M_SlowROM memory block

    M_SlowROM memory block

  9. Save your changes.

See also:

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0182N
Non-ConfidentialID052111