Just for order: The functionality of burner.exe was not implemented directly for S12Z tool chain, but you may still use it separately.
In fact, there isn’t difference in content between sx generated by Linker and s19 file generated by Burner – just different file extension.
How to use Burner.exe for S12Z project:
I just tested it with my dummy project.
Please create a text file burner.bbl file somewhere in your project.
Please enter Burner commands. For example:
OPENFILE "D:\Workspace-CW\jhjkmasdh\FLASH\out.s19"
format=motorola
busWidth=1
origin=0
len=0x1000000
destination=0
SRECORD=Sx
SENDBYTE 1 "D:\Workspace-CW\jhjkmasdh\FLASH\jhjkmasdh.elf"
CLOSE
Of course, you should use your own file paths (rather relative). Please, save burner.bbl file.
Please go to CW-Your project-Properties-C/C++ Build-Settings and select Build Steps tab in the right panel.
Please enter command for burner into Post-build steps Command window.
For example:
${S12Z_ToolsDir}/burner.exe -F=D:\Workspace-CW\jhjkmasdh\Project_Settings\Linker_Files\burner.bbl
Of course, you should use your own file paths (rather relative) again.
When you build your project, the s19 will be created from your elf file.
I hope it helps you.
Have a great day,
Radek