Hello,
I am using 'CodeWarror Development Studio for S12Z, 10.6.x'.
I configured burner options in the tab as below way,
Project -> Properties -> C/C++ Build -> Setting -> S12Z Burner
After that, I click build button.
And I found that 'Burner.exe' is not running. The reason why i thought is, when i change the path of 'burner.exe' like below,
"${S12Z_ToolsDir}/burner" --> "${S12Z_ToolsDir}/burner11111111"
But, any error message was not displayed,
so i changed the path of linker, and click the build button, and then error message was displayed,
Can you tell me how to run burner.exe by complier??
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
HI
I ever got information from development team regarding to this issue
so the burner tool works for HCS08 but not HCS12Z in CW10.6.x
This issue was already reported.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------