Part Number: CCSTUDIO
I am having trouble generating a .bin file from my project instead of the default .out executable when building for the F280039C (C2000) MCU in Code Composer Studio V12.8.
Based on similar threads in the TI forum, I attempted to use tiobj2bin in the post‑build steps. I understand that the process differs between ARM and C2000 devices, so I followed the C2000‑specific approach.
My current post‑build step is:
"${CCS_INSTALL_DIR}/utils/tiobj2bin/tiobj2bin.bat" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin"
"${CG_TOOL_ROOT}/bin/ofd2000.exe" "${CG_TOOL_ROOT}/bin/hex2000.exe" "${CCS_INSTALL_DIR}/utils/tiobj2bin/mkhex4bin.exe"
However, the build fails with the following output:
"C:\ti\ccs1281\ccs/utils/tiobj2bin/tiobj2bin.bat" "gpio_ex2_toggle.out" "gpio_ex2_toggle.bin" "C:/ti/ccs1281/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/ofd2000.exe" "C:/ti/ccs1281/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/hex2000.exe" "C:/ti/ccs1281/ccs/utils/tiobj2bin/mkhex4bin.exe" makefile:173: recipe for target 'post-build' failed warning: Data is being written to auto-generated file gpio_ex2_toggle.x01 'C:' is not recognized as an internal or external command, operable program or batch file. gmake[2]: [post-build] Error 255 (ignored)
- Can someone point me out if I am in the right approach to generate .bin file?
- And if there is any alternative way to generate .bin file?