Tool/software: Code Composer Studio
Hi,
I couldn't find the correct way to generate the .bin file from the intel .hex format or .out file. I have tried the following way in my project settings, but it throws error during compilations. Kindly help to fix the bug
Found in the document:
For example, to convert the executable (.out) to binary format (.bin), the following command can be used as post-build step:
“${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin” “${BuildArtifactFileName}” “${BuildArtifactFileBaseName}.bin” “${CG_TOOL_ROOT}/bin/ofd2000” “${CG_TOOL_ROOT}/bin/hex2000” “${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin”
Be sure to replace ofd2000 and hex2000 with the respective binaries for your device, for example, ofd6x and hex6x (for c6000) or armofd and armhex (for ARM).
Error
“C:/ti/ccs910/ccs/utils/tiobj2bin/tiobj2bin� “DGSI_11000.out� “DGSI_11000.bin� “C:/ti/ccs910/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/bin/ armofd� “C:/ti/ccs910/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/bin/armhex� “C:/ti/ccs910/ccs/utils/tiobj2bin/mkhex4bin�
makefile:199: recipe for target 'post-build' failed
process_begin: CreateProcess(NULL, “C:/ti/ccs910/ccs/utils/tiobj2bin/tiobj2bin� “DGSI_11000.out� “DGSI_11000.bin� “C:/ti/ccs910/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/bin/ armofd� “C:/ti/ccs910/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/bin/armhex� “C:/ti/ccs910/ccs/utils/tiobj2bin/mkhex4bin�, ...) failed.
Thanks,
Param.