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
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:
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
Stan,
Thank you for your detailed explanation.
Customer did check those options. I will let them check the console response.
Regards,
Jason Yang
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.