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.

CODECOMPOSER: Getting error when trying to generate BIN file

Part Number: CODECOMPOSER


Hi team,

I am supporting my cusotomer generating .bin file in CCS with the following method(C2000).

1. Modify C:\ti\ccs1040\ccs\utils\tiobj2bin\tiobj2bin.bat:

    Change all the hex470 and ofd470 to HEX2000 and OFD2000.

2. Adding following post-build command in CCS: 

   "${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/ofd2000.exe" "${CG_TOOL_ROOT}/bin/hex2000.exe" "${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe"

It works fine in most of the computers but on one computer it is reporting:

"C:/ti/ccs1010/ccs/utils/tiobj2bin/tiobj2bin.bat"聽"DH.out"聽"DH.bin"聽"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/ofd2000.exe"聽"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/hex2000.exe"聽"C:/ti/ccs1010/ccs/utils/tiobj2bin/mkhex4bin.exe"

makefile:207: recipe for target 'post-build' failed

process_begin: CreateProcess(NULL, C:/ti/ccs1010/ccs/utils/tiobj2bin/tiobj2bin.bat聽DH.out聽DH.bin聽C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/ofd2000.exe聽C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/hex2000.exe聽C:/ti/ccs1010/ccs/utils/tiobj2bin/mkhex4bin.exe, ...) failed.

make (e=2): 

"C:/ti/ccs1010/ccs/utils/tiobj2bin/tiobj2bin.bat"聽"DH.out"聽"DH.bin"聽"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/ofd2000.exe"聽"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/hex2000.exe"聽"C:/ti/ccs1010/ccs/utils/tiobj2bin/mkhex4bin.exe"

makefile:207: recipe for target 'post-build' failed

process_begin: CreateProcess(NULL, C:/ti/ccs1010/ccs/utils/tiobj2bin/tiobj2bin.bat聽DH.out聽DH.bin聽C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/ofd2000.exe聽C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/hex2000.exe聽C:/ti/ccs1010/ccs/utils/tiobj2bin/mkhex4bin.exe, ...) failed.

make (e=2): 系统找不到指定的文件(Cannot find file)

Could you help to check what is problem here? Or is there a standalone method to generate .bin from .out file, since converting .out file is always successful.

Regards,

Brian