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

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

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

1,722 Views
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

Labels (1)
0 Kudos
2 Replies

1,562 Views
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,562 Views
sreevishakhkp
Contributor III

Thank you Jiri

0 Kudos