S32DS  for PowerPC 1.0 Generate Srec file

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

S32DS  for PowerPC 1.0 Generate Srec file

3,148 Views
jinjingyang
NXP Employee
NXP Employee

Dear Sir,

 

Customer was able to generate S19 (srec) file in S32DS for PowerPC 1.0 when newly create an MPC5746R project.

And customer gradually add more and more .c and .h files into the project and build. Still OK to generate srec file.

After adding more than 100+ files into the project and build, the srec file is missing.

We can still see the elf file and can still download and debug in S32DS IDE. But just not able to generate an srec file.

 

Do  you know of this kind of problem?

 

Regards,

Jason Yang

Labels (1)
3 Replies

2,026 Views
stanish
NXP Employee
NXP Employee

Hi Jason,

Thanks for this report.

Flash image (srec) is created using powerpc-eabivle-objcopy.exe

When "Create flash image" option is enabled (tick it and click on Apply -> new Standard S32DS Create Flash Image settings node appears in the Tools settings)  you should see its output in the build console after the successful build:

pastedImage_2.png

pastedImage_1.png

Is there any error visible in the build console?

They can also try to convert the elf file into s-record using this command line util. manually:

powerpc-eabivle-objcopy.exe -O srec  -v <Path_to_my_elf>\Test_MPC5748G_Z4_0.elf   "Test_MPC5748G_Z4_0.srec"

Can you paste here the console output?

 

Thanks!

Stan

2,026 Views
jinjingyang
NXP Employee
NXP Employee

Stan,

Thank you for your detailed explanation.

Customer did check those options. I will let them check the console response.

Regards,

Jason Yang

0 Kudos
Reply

2,026 Views
jinjingyang
NXP Employee
NXP Employee

Customer checked the console, there is no such message. But after adding the "powerpc-eabivle-objcopy.exe -O srec" command, they are able to generate s19 file. Thank you for your help.

0 Kudos
Reply