This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Usage: tiobj2bin file.out file.bin [ofd] [hex] [mkhex]
"MCU_TI_F280049C_V_0_0_1.bin" "C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/armofd.exe"
makefile:239: recipe for target 'post-build' failed
warning: Data is being written to auto-generated file MCU_TI_F280049C_V_0_0_1.x01
process_begin: CreateProcess(NULL, MCU_TI_F280049C_V_0_0_1.bin C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/armofd.exe, ...) failed.
gmake[2]: [post-build] Error 2 (ignored)
process_begin: CreateProcess(NULL, C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/armhex.exe C:/ti/ccs1230/ccs/utils/tiobj2bin/mkhex4bin.exe, ...) failed.
gmake[2]: [post-build] Error 2 (ignored)
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/armhex.exe" "C:/ti/ccs1230/ccs/utils/tiobj2bin/mkhex4bin.exe"
makefile:239: recipe for target 'post-build' failed
i am using this this cmd in post build steps
"${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat" "${BuildArtifactFileName}"
"${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/armofd.exe"
"${CG_TOOL_ROOT}/bin/armhex.exe" "${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe"
Hello,
process_begin: CreateProcess(NULL, MCU_TI_F280049C_V_0_0_1.bin C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/armofd.exe, ...) failed.
process_begin: CreateProcess(NULL, C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/armhex.exe
There are no such executables in the C2000 compiler bin directory, please double-check that your commands are using valid paths/files.
Hello Subash,
I just did a fresh install of 22.6.0, this executable does not exist. It's clearly not intended to be used for C2000 devices, so likely that may be why you're getting the error you're seeing. Using an executable not intended for C2000 devices may have unexpected issues.
i have tried in other laptop newly installed ccs studio in that also same error .kindly give any solution for this
C:/ti/ccs1230/ccs/utils/tiobj2bin/tiobj2bin MCU_TI_F280049C_V_0_0_1.out
Usage: tiobj2bin file.out file.bin [ofd] [hex] [mkhex]
MCU_TI_F280049C_V_0_0_1_XX_YY_ZZ.bin C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/armofd
makefile:236: recipe for target 'post-build' failed
warning: Data is being written to auto-generated file MCU_TI_F280049C_V_0_0_1.i01
process_begin: CreateProcess(NULL, MCU_TI_F280049C_V_0_0_1_XX_YY_ZZ.bin C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/armofd, ...) failed.
gmake[2]: [post-build] Error 2 (ignored)
process_begin: CreateProcess(NULL, C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/armhex C:/ti/ccs1230/ccs/utils/tiobj2bin/mkhex4bin, ...) failed.
gmake[2]: [post-build] Error 2 (ignored)
C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/armhex C:/ti/ccs1230/ccs/utils/tiobj2bin/mkhex4bin
makefile:236: recipe for target 'post-build' failed
with Script of
${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin ${BuildArtifactFileName}
${ProjName}_XX_YY_ZZ.bin ${CG_TOOL_ROOT}/bin/armofd
${CG_TOOL_ROOT}/bin/armhex ${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin
Hello Subash,
i have tried in other laptop newly installed ccs studio in that also same error .kindly give any solution for this
I'm not sure what you're trying to achieve by a fresh installation, please see my previous post. This executable is not provided in CCS for C2000, and copying it over does not mean it should work.
i have checked with 22.6.0 but i am getting error as below mentioned
tiobj2bin.bat failed on C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/armofd.exe
Please see processors.wiki.ti.com/.../Tiobj2bin_Failed
tiobj2bin.bat failed on C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/armhex.exe
Please see processors.wiki.ti.com/.../Tiobj2bin_Failed
'C:\ti\ccs1230\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\ofd470' is not recognized as an internal or external command,
operable program or batch file.
File does not exist: at C:/ti/ccs1230/ccs/utils/tiobj2bin/XML_TI_OFD.pm line 877.
'C:\ti\ccs1230\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\hex470' is not recognized as an internal or external command,
operable program or batch file.
Hello Subash,
Is this a new and different error than before? ofd470 and hex470 are not part of the C2000 compiler, why are these file paths included as part of your project? Are you just copying over .exe files into the C2000's compiler to try and use them?
hi Amir ,
now i can able to generate the bin file .actually issue was the commend is wrong. Working command are mentioned below for c2000 controllers.
${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat ${BuildArtifactFileName} ${BuildArtifactFileBaseName}.bin ${CG_TOOL_ROOT}/bin/ofd2000.exe ${CG_TOOL_ROOT}/bin/hex2000.exe ${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe