| |||
| Home > DS-5 Debug perspective and views > Memory view | |||
This view enables you to:
Modify memory content.
Specify the start address for the Memory view, either
as an absolute address or as an expression, $pc.
Previous entries are listed in the drop-down list. This list is
cleared when you exit Eclipse.
Specify the display size of the Memory view in bytes, either as an offset value from the start address, or as an address held in a register by dragging and dropping the register from the Registers view into the Memory view.
Specify the format of the memory cell values. The default is hexadecimal.
Set the width of the memory cells in the Memory view. The default is four bytes.
Display the ASCII character equivalent of the memory values.
Freeze the selected view to prevent the view being updated by a running target.
The Memory view only provides the facility to modify how memory is displayed in this view. It is not possible to specify the use of byte, half-word, word or double read/write instructions to access memory from the Memory view. To control the memory access width you can use:
the memory command to configure access widths for a region of memory, followed by the x command to read memory according to those access widths and display the contents
the memory set command to write to memory with an explicit access width.
The following options are available from the toolbar or context menu:
contextLinks this view to the selected connection in the Debug Control view. This is the default. Alternatively you can link the view to a specific connection. If the connection you want is not shown in the drop-down list you might have to select it first in the Debug Control view.
Navigates through the history list.
Addresses and expressions you specify in the Address field are added to the drop down box, and persist until you clear the history list or exit Eclipse. If you want to keep an expression for later use, add it to the Expressions view.
Click to cycle through the memory cell widths in the Memory view, or select a width from the drop-down menu. The default is four bytes.
Click to cycle through the memory cell formats, or select a format from the drop-down menu. The default is hexadecimal.
Toggles the display of ASCII character equivalents for the memory values.
Enter
the address where you want to start viewing the target memory. Alternatively,
you can enter an expression that evaluates to an address. $PC+256.
Addresses and expressions you specify are added to the drop down list, and persist until you exit Eclipse. If you want to keep an expression for later use, add it to the Expressions view.
Context menu options are available for editing this field.
The number of bytes to display.
Context menu options are available for editing this field.
Searches through debug information for symbols.
The following View Menu options are available:
Displays a new instance of the Memory view.
Toggles the display of tooltips on memory cell values.
Selects the byte order of the memory. The default is Auto(LE).
Clears the list of addresses and expressions in the History drop-down box.
Reads data from a file and writes it to memory.
Reads data from memory and writes it to a file.
Refreshes the view.
Toggles the freezing of data in the current view. This also disables or enables the Address and Size fields and the Refresh option.
The following options are available on the context menu when you select a memory cell value, the Address field, or the Size field for editing:
Copies and deletes the selected value.
Copies the selected value.
Pastes a value that you have previously cut or copied into the selected memory cell or field.
Deletes the selected value.
Reverts the last change you made to the selected memory cell or field. This is disabled for the Address field.
Selects all the address.
Sets or removes a breakpoint at the selected address.
Resolves a pending breakpoint at the selected address.
Enables the breakpoint at the selected address.
Disables the breakpoint at the selected address.
Sets or removes a trace start point at the selected address.
Sets or removes a trace stop point at the selected address.
Starts a trace trigger point at the selected address.
ARM® DS-5™ Using Eclipse:
ARM® DS-5™ Using Eclipse:
ARM® DS-5™ Debugger Command Reference: