| |||
| Home > Programming Flash with RealView Debugger > Creating a BCD file > Describing the memory map | |||
To describe the memory map for your hardware:
Locate the Memory_block settings
group in your BCD file.
For the Evaluator-7T example:
Expand
the ...\ARM_Eval7T.bcd entry.
Expand the *BOARD=ARM_Eval7T entry.
Expand the Advanced_Information entry.
Expand the Memory_block entry.
Create an entry for each area of memory for your board. To do this:
In the right pane,
right-click on the Memory_block entry to display
the context menu.
Select Make New... from the context menu to display the Enter Value dialog box.
Enter a name for the area of memory you are defining.
For the Evaluator-7T example, enter Eval_App_Flash.
Repeat these steps to create the entries for other memory areas.
For the Evaluator-7T example, create entries with the following names:
SRAM_bank1
SRAM_bank2.
Set the attributes for each memory area entry you created in the previous step.
For the Evaluator-7T example, set the attributes as shown in Table 6.5.
Table 6.5. Memory map attributes
| Attribute | Eval_App_Flash | SRAM_bank1 | SRAM_bank2 |
|---|---|---|---|
Start | 0x01820000 | 0x0 | 0x40000 |
Length | 0x60000 | 0x40000 | 0x40000 |
Access [a] | Flash | RAM | RAM |
Flash_type [b] | Location of the | - | - |
Description | Application Flash 384K | SRAM bank1 256K | SRAM bank2 256K |
Flash_write_mode [c] | Prompt | - | - |
[a] The
default setting is [b] 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. [c] The default setting is | |||
Delete the Default entry:
Right-click on the Default entry
to display the context menu.
Select Delete from the context
menu. The Default entry is deleted.
Select Save Changes from the File menu to save your changes.