I am using MCUXpresso IDE. I need to generate output in hex file format with length of 16. How to generate?
Solved! Go to Solution.
The IDE uses the GNU objcopy utility (see MCUXpresso IDE: S-Record, Intel Hex and Binary Files | MCU on Eclipse ) to generate Intel Hex (and other files). The objcopy does not have an option to control the line length (to my knowledge), so I'm using the srec_cat to do this kind of things. The steps/commands are described in Generating Intel Hex Files with a given Length using srec_cat | MCU on Eclipse .
I hope this helps,
Erich
The IDE uses the GNU objcopy utility (see MCUXpresso IDE: S-Record, Intel Hex and Binary Files | MCU on Eclipse ) to generate Intel Hex (and other files). The objcopy does not have an option to control the line length (to my knowledge), so I'm using the srec_cat to do this kind of things. The steps/commands are described in Generating Intel Hex Files with a given Length using srec_cat | MCU on Eclipse .
I hope this helps,
Erich