Hello Gustavo
<targetname>.elf.S is S-record file generated by CodeWarrior, it is in S37 format. Could you please ask P&E whether his tool only supports S19 format? Our CodeWarrior for DSC can only generate S37 format.
I think the webpage below should be helpful to you for understand the difference between S19 and S37.
http://www.sbprojects.com/knowledge/fileformats/motorola.htm
If you only need to program the target with a S-record file, you can use the flash programmer which is included in Eclipse CodeWarrior v10.6.4. You can use it inside CW IDE, or as a standalone tool.
To program with a S-record file, you may create a Target Task for flash programmer, or use the 'Flash File to Target' feature.
For details, please view the section <Debugger->Flash Programmer> in FAQ Guide:
C:\Freescale\CW MCU v10.6.4\MCU\Help\PDF\Microcontrollers_FAQ_Guide.pdf
To use it as a standalone tool, please see below for how to do it:
http://mcuoneclipse.com/2012/08/02/standalone-flash-programmer/
Here is CodeWarrior Flash Programming from a DOS Shell
http://mcuoneclipse.com/2012/08/03/codewarrior-flash-programming-from-a-dos-shell/
Hope this helps!
Best Regards
Fiona Kuang
Technical Information & Commercial Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------