Converting an ELF image to Intel Hex-32 format

Use one of these options to produce Intel Hex-32 format output:

--i32 generates one output file for each load region in the image. --i32combined generates one output file for an image containing multiple load regions.

Note

You must use --output these options.

You can specify the base address of the output with the --base option.

Show/hideExample

To convert the ELF file infile.axf to an Intel Hex-32 format file, for example outfile.bin, enter:

fromelf --i32 --output=outfile.bin infile.axf

To create a single output file,outfile2.bin, from an image file infile2.axf, with two load regions, and with a start address of 0x1000, enter:

fromelf --i32combined --base=0x1000 --output=outfile2.bin infile2.axf

Show/hideSee also

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0477E
Non-ConfidentialID071611