| |||
| Home > Using fromelf > Converting an ELF image to Intel Hex-32 format | |||
Use one of these options to produce Intel Hex-32 format output:
--i32
--i32combined
--i32 generates
one output file for each load region in the image. --i32combined generates
one output file for an image containing multiple load regions.
You must use --output these options.
You can specify the base address of the output with the --base option.
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