µVISION: Creating Intel Hex Files for Arm-Based Devices
Information in this article applies to:
How do I create an Intel HEX file using the Keil µVision IDE?
ANSWER FOR ARM DEVICES
Using the IDE
What's going on here: By setting these options, (if the build succeeds) the the Keil IDE calls the the fromelf Image Converter to create a hex file. Call fromelf.exe directly, rather than the indirectly with the Create HEX File checkbox, to set additional options.
Configure the µVision project to generate the hex automatically as follows:
C:\Keil\ARM\ARMCC\bin\fromelf.exe --hex --output=myprog.bin myprog.axf
...or with key sequences
$K\ARM\ARMCC\bin\fromelf.exe --hex--output=@L.bin !L
You can specify the base address of the output with the
From now on, after a Build, the IDE automatically calls fromelf.exe.
For Older versions of Keil the executable may instead be in the this folder
...where xx is 31 or 40, depending on the software version.
ANSWER FOR 8051, 251 AND 166 DEVICES
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Monday, May 7, 2018
of your data.