Conversion of .axf to .hex with length 32

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Conversion of .axf to .hex with length 32

跳至解决方案
2,775 次查看
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 项奖励
回复
1 解答
2,632 次查看
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

在原帖中查看解决方案

1 回复
2,633 次查看
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