5.7.1. Loading an image directly

To load an image directly to your debug target:

  1. Select the menu option Target ? Load Image....

    Alternatively, click the blue Click to Load Image to Target hyperlink in the File Editor pane.

    The Load File to Target dialog is displayed.


    Do not change any default settings in the Load File to Target dialog box.

  2. Locate the dhrystone.axf image in your Tutorial directory (see Starting the tutorial):


  3. Click Open. The image is loaded to the debug target.

In the Code window Text Coloring is enabled by default. To turn on line numbering select Edit ? Advanced ? Show Line Numbers from the Code window main menu.

When you load an image, the debugger:

If an image is compiled to generate debug information, that is using the --debug switch, loading the image enables RealView Debugger to gather debug information about the image and the associated source files. In the dhrystone example project, this opens the source file dhry_1.c into the Src tab when you load the image because it has the context. See Using the code views for more details.

Copyright © 2002-2005 ARM Limited. All rights reserved.ARM DUI 0181G