8.2. Using the Memory/Register Operations menu

Use the Debug menu to carry out read and write operations on memory and registers:

  1. Connect to your target and load an image, for example dhrystone.axf.

  2. Select Debug from the Code window main menu to display the Debug menu.

  3. Select Memory/Register Operations to display the menu shown in Figure 8.1.

    Figure 8.1. Memory/Register Operations menu

    Memory/Register Operations menu

This menu contains:

Set Memory...

Displays the Interactive Memory Setting dialog box where you can walk through memory and make changes where required.

Patch Assembly...

Enables you to patch assembly code during your debugging session. You can enter instructions in assembler format for patching directly into memory. You can use labels, including making new ones, and symbols.

This is only available where supported by the underlying debug target. This option is disabled by default.

Set Register...

Displays the Interactive Register Setting dialog box where you can walk through registers and make changes where required.

Upload/Download Memory file...

Displays the Upload/Download file from/to Memory dialog box where you can locate a specific file, of a given type, and read the contents into an area of memory, or write a memory range into the file for re-use, or verify that a memory range matches the file contents.

Fill Memory with Pattern...

Displays the Fill Memory with Pattern dialog box where you can specify a pattern that is used to write to a given area of memory.

Flash Memory Control...

Displays the Flash Memory Control dialog box where you can erase and write Flash memory. The Flash memory must be opened before trying to use this dialog box.

Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0234B