How to generate .hex file in s32design studio with extended linear address(Record type 04)

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

How to generate .hex file in s32design studio with extended linear address(Record type 04)

1,889 次查看
sreevishakhkp
Contributor III

As we are trying to generate .hex file, default its generating with record type as Extended segment address( type 2) .We need .hex file with extended linear address(type 4).Please let me know any changes need to be done.

Thanks in Advance.

Sreevishakh

标签 (1)
标记 (3)
0 项奖励
回复
2 回复数

1,729 次查看
jiri_kral
NXP Employee
NXP Employee

Hi Sreevishakh,

it looks that arm-none-eabi-objcopy can generate only Type 2 intel hex or at least I didn't find way how to force i32hex output. As a workaround you can use external srecord tool: 

SRecord 1.64 

and convert .hex output to i32hex by: 

srec_cat.exe test.hex -intel -o i32_test.hex -Intel

console command. 

Here is result example - on the left is .hex file generated by S32DS - on the right output from srec_cat tool: 

pastedImage_2.png

Hope it helps. 

Jiri 

1,729 次查看
sreevishakhkp
Contributor III

Thank you Jiri

0 项奖励
回复