how to generate srecord format for PowerPC architecture when using Diab compiler?

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

how to generate srecord format for PowerPC architecture when using Diab compiler?

970 Views
Ehsan1
Contributor I

Hi.

I am writing a bootloader for mpc5746b microcontroller. Compiler that I am using is Diab. It generates an elf file as output object format. However what I need is s-record format. Although in "https://www.windriver.com/themes/Windriver/pdf/PN_Compiler_0110.pdf" it is mentioned that Diab compiler can generate s-record format, I have not found any linker option for Diab for this goal.

If Diab supports generating s-record format for PowerPC architecture , what is its linker option? 

if it dose not support, is there any way to convert elf  to s-record ?

Thank you for your help in advance.

0 Kudos
Reply
0 Replies