Formatting NE64 s-records for use with D-Bug12
The s-records put out by most HCS12 assemblers and compilers need some formatting before they can be used with D-Bug12 (the program running on the MicroBDM12LX pod). Fortunately, Freescale provides a utility called SRECCVT that will do the re-formatting nicely. This tutorial provides the command line parameters you'll need to do the conversion properly, and demonstrates the commands to use with D-Bug12 to get your s-records successfully loaded into 9S12NE64 flash memory.
The following line should convert the s19 file generated by GCC, ICC12, AS12, etc. into a linear file that D-Bug12 will load.: