Hello Harold
Please open the project properties, and go to the settings for link options, enable the option “S-record generation”.
Hope this helps! If not, please reply with the CodeWarrior version you are using, and the part number of your MCU.
For Classic CodeWarrior, please:
1)Start the IDE and click on Help | About Freescale(Metrowerks) CodeWarrior.
2)Click on Installed Products
3)Provide us all info displayed. Or you can save them in a txt file.
For Eclipse CodeWarrior, please:
1)Start the IDE and click on Help | About CodeWarrior Development Studio.
2)Provide us the info displayed.
Best Regards
Fiona Kuang
TIC - Technical Information Center
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Mark Correct button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Harold,
the answer depends on which toolchain you are using.
For example for ARM, https://mcuoneclipse.com/2012/09/13/s-record-generation-with-gcc-for-armkinetis/ shows how to use the build tool settings to generate an S19 file.
For S08/S12 in CodeWarrior, you could use this: https://mcuoneclipse.com/2013/10/29/s-record-manipulation-with-gnu-objcopy-and-burner-utility/
There is as well this way: https://mcuoneclipse.com/2012/09/27/s-record-intel-hex-and-binary-files/
If you want to use a powerful tool for S-Record manipulation, I'm using the 'Srecord' tool, described in https://mcuoneclipse.com/2015/04/26/crc-checksum-generation-with-srecord-tools-for-gnu-and-eclipse/ and https://mcuoneclipse.com/2016/02/26/merging-s19-files/
I hope this helps,
Erich
Thank you all. I have found the selection under the Prosperities to select s-record output.