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)

2,182件の閲覧回数
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 返答(返信)

2,022件の閲覧回数
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 

2,022件の閲覧回数
sreevishakhkp
Contributor III

Thank you Jiri

0 件の賞賛
返信