How to build different format hex file

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

How to build different format hex file

566 Views
373254598
Contributor II

HI: 

I have two S23D powerpc Project, MPC5607B and MPC5777M,both projects are set to generate hex files.

The hex generated by the MPC5777M project always ends with a Record type of 0x05(Start linear Address Record)

But, the hex generated by the MPC5607B project always ends with a Record type of 0x03(Start SegmentAddress Record): 

How to set the generated Record type to 05 format ???

 

Tags (1)
0 Kudos
Reply
1 Reply

519 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

if the memory is under 1 MB - objcopy uses 03 record type. You can find more details for example here - https://stackoverflow.com/questions/26295776/what-are-the-intel-hex-records-type-03-or-05-doing-in-i... 

 

You can try format output hex by s-rec tool - https://srecord.sourceforge.net/ 

0 Kudos
Reply