3.5.1. Loading an image directly

To load an image directly to your debug target:

  1. Click Load Image... in the Home Page to display the Select Local File to Load dialog box.

    Note

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

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

    install_directory\RVDS\Examples\...\Tutorial\Debug

  3. Click Open.

    The image is loaded to the debug target.

Note

In the Code window Text Coloring and source code line numbering are enabled by default.

When you load an image, the debugger updated the Code window with the image details, shown in Figure 3.6:

Figure 3.6. Code window with image loaded

Code window with image loaded

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, the source file dhry_1.c is opened into a source tab when you load the image because it has the context.

See also

Copyright © 2002-2007 ARM Limited. All rights reserved.ARM DUI 0181I
Non-Confidential