4.2.8. Considerations when loading an image

Be aware of the following when loading images:

Automatic loading of source files

If the Home Page is selected when you load an image, the source file containing the image entry point for the image is automatically opened.

If the Disassembly tab is selected when you load an image, no source file is opened. To open the source file that contains the image entry point, do one of the following:

  • Loading a source file using the Home Page tab:

    1. Click the Home Page tab.

    2. Click the Locate PC button on the Debug toolbar. The source file containing the image entry point for the image is opened.

  • Loading a source file using the Disassembly tab:

    1. Right-click in the Disassembly tab to display the context menu.

    2. Select Locate PC in Source from the context menu to open the source file containing the image entry point for the image.

Runtime visualization

As you load an image to your debug target, the Code window Status line shows the progress of the load and gives an indication of the percentage complete.

The Status line also shows the Processor status of the debug target:

  • Where an image is loaded but not executing, the status shows Stopped.

  • Where an image is running, the status shows Running, together with a moving progress indicator.

  • Where the current state of the target is unknown, the status shows Unknown. For example it might have been running when the connection was established or it might be disconnected.

If memory mapping is enabled, then the memory map is updated to show details of the image.

See also

Copyright © 2002-2009 ARM Limited. All rights reserved.ARM DUI 0153K
Non-Confidential