2.4.2 Memory view

This section describes the memory debug view.

The Memory view displays a range of memory starting from the base address that the address field (Addr:) specifies. Enter base addresses as decimal numbers or, by using the prefix 0x, as hexadecimal numbers. Other 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

To display the context menu, right click one of the cells in the Memory view. The menu has these 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

Select a memory space and update the Memory view to display the memory contents at the address that the contents of the memory location specify.

Show memory at nnn

Update the Memory view to display the memory contents at the address that the contents of the memory location specify.

Show disassembly at nnn

Update the disassembly view to display the disassembly contents at the address that the contents of the memory location specify.

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 width of the memory window determines the number to display.

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 that is used for each memory row.

Decrement current address

Decrement the start address that is 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 option 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 memory cell. This option 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 …

To load a binary or ASCII file into memory, use the Load File to Memory dialog box.

Save Memory in a File …

To save the contents of memory in a binary or ASCII file, use the Save Memory in a File dialog box.

Memory Display Options

To enable setting column count, view format, endian mode, and MAU per cell, use the Memory Display Options dialog box.

Load File to Memory and Store File to Memory dialog boxes

To load or store the memory contents of the target model, use these dialog boxes.

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. When loading or storing a binary or ASCII file, select the correct button. 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. When loading a file, unless you enter a value here the maximum address of the memory is used.

If any problems occur, a message appears in the Message field.

Non-ConfidentialPDF file icon PDF version100968_1103_00_en
Copyright © 2014–2018 Arm Limited (or its affiliates). All rights reserved.