load

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

Note

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.

Show/hideSyntax

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.

Show/hideExample

Example 77. load

load "myFile.axf"                         # Load image
load "images\myFile.axf"                  # Load image
load myFile.axf 0x2000                    # Load image with offset 0x2000

Show/hideSee also

Copyright © 2010-2014 ARM. All rights reserved.ARM DUI 0452T
Non-ConfidentialID102414