2.4.2 Memory

The Memory view displays a range of memory starting from the base address specified in the address field (Addr:). Enter base addresses as decimal numbers or, by using the prefix 0x, as hexadecimal numbers. Additional fields allow for selection of the address space (Space:) and physical memory block (Block:).
Figure 2-32 Memory view
Memory view

Context menu for Memory view

Right-click one of the cells the Memory view to display the context menu. The menu has the following options:
Insert Breakpoint
Insert a breakpoint on the selected memory location.
Enable Breakpoint
Enable the breakpoint at the selected memory location.
Breakpoint Properties
If a breakpoint is present on the selected memory location, selecting this option displays the Breakpoint properties dialog box.
Edit Value
Edit the contents for the selected memory location.
Select and show memory at nnn
Display a dialog box to select a memory space and update the Memory view to display the memory contents at the address specified by the contents of the memory location.
Show memory at nnn
Update the Memory view to display the memory contents at the address specified by the contents of the memory location.
Show disassembly at nnn
Update the disassembly view to display the disassembly contents at the address specified by the contents of the memory location.
Copy
Copy the contents of the selected memory location.
Add to Watch
Add the selected memory location to the Watch view.
Endian
Select the memory model to use to display memory contents. The options are: Default Endian, Little Endian, and Big Endian.
Format
Choose the number base to use to display the memory contents. The options are Default Format, Unsigned Decimal, Signed Decimal, Hexadecimal, Binary, Float, or ASCII.
Fixed column count
Display a fixed number of memory values per row. The number to be displayed is determined by the width of the memory window.
Increment column count
Increment the number of memory values to display per row.
Decrement column count
Decrement the number of memory values to display per row.
Increment current address
Increment the start address used for each memory row.
Decrement current address
Decrement the start address used for each memory row.
Increment MAU per cell
Increase the size of the word, that is, the Minimum Addressable Unit (MAU), to be displayed in each memory cell. This also changes the memory access size. If the chosen access size is not supported, Model Debugger defaults to a size of a single MAU.
Decrement MAU per cell
Decrease the size of the word, meaning MAU, to be displayed in each in each memory cell. This also changes the memory access size. If the chosen access size is not supported, Model Debugger defaults to a size of a single MAU.
Load File to Memory …
Open Load File to Memory dialog box to load a binary or ascii file into memory.
Save Memory in a File …
Open Save Memory in a File dialog box to save the contents of memory in a binary or ascii file.
Memory Display Options
Display the Memory Display Options dialog box to enable setting column count, view format, endian mode, and MAU per cell.

Load File to Memory dialog box/Store Memory in a File

Use these dialog boxes to load or store the memory contents of the target model. They have the same look for loading and storing.
Figure 2-33 Load File to Memory dialog box
Load File to Memory dialog box

Enter the file name into the top field of the dialog box. You can use the button next to it to browse for the file. Select if a binary or ascii file is to be loaded or stored. The Memory Space and Start Address fields are filled automatically from the memory view where you opened the dialog box. You can change the values. Put an end address into the bottom field. If you do not enter a value here - only when loading a file - the max address of the memory is used.
Click Store/Load button for store/load of the file. If any problems occur a message appears in the Message field.
Non-ConfidentialPDF file icon PDF versionARM DUI0314Q
Copyright © 2007-2014 ARM. All rights reserved.