C2000 28335 method to generate bin file[Copy link]
ccs5.5 compilation can only generate hex files. If you want to get bin files. No complicated hex2000 operations are required. Just use the mkhex4bin.exe provided by TI C:\ti\ccsv5\utils\tiobj2bin Specific steps: 1. Modify the tiobj2bin.bat script This script completes the conversion of the hex to bin file format of the specified platform. In the ControlSuite installation directory C:\ti\ccsv5\utils\tiobj2bin. The original file supports the 470 platform. It is modified to C2000. The platform changes hex470 to hex2000, ofd470 to ofd2000, and so on. 2. Add processing commands (1) Click "Project" -> "Properties" to enter the settings (2) Click "Build" -> "Steps", and add the following command in the Command of Post_build steps. "${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/armofd" "${CG_TOOL_ROOT}/bin/armhex" "${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin" Note: Click Apply Predefined Step and select "Create flash image:Intel-Hex" to generate a hex file.