1.3.86 load

Loads an image on to the target and records the entry point address for future use by the run and start commands.

The PC register is not set with this command.

Debug information is not loaded with this command. You can use either the add-symbol-file, file, or loadfile command to load debug information.

Syntax

load [filename] [offset]

Where:

filename

Specifies the image. If no filename is specified then the executable image specified by the previous command is loaded. You can use info files to display information about the current image and symbols.

offset

Specifies the offset that is added to all addresses within the image.

Example 1-89 Examples

load "myFile.axf"                         # Load image
load "images\myFile.axf"                  # Load image
load myFile.axf 0x2000                    # Load image with offset 0x2000
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.