Conversion of .axf to .hex with length 32

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Conversion of .axf to .hex with length 32

Jump to solution
2,773 Views
kaarthick
Contributor II

I am using MCUXpresso IDE. I need to generate output in hex file format with length of 16. How to generate? 

0 Kudos
Reply
1 Solution
2,630 Views
BlackNight
NXP Employee
NXP Employee

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

View solution in original post

1 Reply
2,631 Views
BlackNight
NXP Employee
NXP Employee

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