12.9.1. Examining memory in the Memory pane

To examine the contents of memory in the Memory pane:

  1. Connect to your target (see Connecting to a target).

  2. Load your image (see Loading an executable image), for example, dhrystone.axf.

  3. Select View ? Memory to display the Memory pane as a floating pane, shown in Figure 12.27, if it is not already visible. No memory locations are displayed when you first connect to a target.

    Figure 12.27. Memory pane

    Memory pane
  4. Right-click in the address column in the Memory pane to display the context menu.

    Note

    You can also set start addresses using in-place editing.

  5. Select Set Start Address...from the context menu to display the dialog box shown in Figure 12.28.

    Figure 12.28. Memory start address selection box

    Memory start address selection box

    Note

    For targets that support TrustZone®, addresses must be prefixed with either S: for Secure memory or N: for Normal memory (for example, S:0x1000).

  6. Enter the required location.

    You can specify the start address as:

    • an address in hexadecimal, for example 0x00088A4

    • a C/C++ expression that RealView Debugger computes to obtain the starting address, for example Int_Glob+64

    • a macro that returns an address, for example thisaddr()

    • any valid expression using constants and symbols.

    You can also use the drop-down arrow to select an expression from a browser or to re-use a value entered previously. The drop-down also gives access to your list of personal favorites where you can store a memory address for re-use in this, or future, debugging sessions.

  7. Click Set to update the Memory pane, shown in Figure 12.29. See Display colors in the Memory pane for a description of the display colors used in the Memory pane.

    Figure 12.29. Memory pane showing address contents

    Memory pane showing address contents
Copyright © 2002-2006 ARM Limited. All rights reserved.ARM DUI 0153H
Non-Confidential