2.3.8 data.load.elf

Loads an ARM Executable and Linking Format (ELF) file. This format is described in the ARM ELF specification and uses the .axf file extension.

Note:

Loading an ELF image sets the program counter to the entry point of the image, if present.

Syntax

data.load.elf filename [/flag]...

Where:

filename

Specifies the image file.

/flag

Specifies additional flags:

nocode

Do not load code and data to the target.

nosymbol

Do not load symbols.

noclear

Symbol table is not cleared before loading the image.

noreg

Do not set register values, for example, PC and status registers.

Default

By default, this command loads code and data to the target, clears the existing symbol table before loading the new symbols into the symbol table, and sets the registers.

You must use additional flags if you want to modify the default options. For example, you must use /noclear if you want to load the symbols from multiple images.

Example 2-8 Examples

data.load.elf "myFile.axf"                 ; Load image and symbols
data.load.elf "../my directory/myFile.axf" ; Load image and symbols
data.load.elf "myFile.axf" /nosymbol       ; Load image without symbols
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.