大家好、
我支持我的客户使用以下方法(C2000)在 CCS 中生成.bin 文件。
修改 C:\ti\ccs1040\ccs\utils\tiobj2bin\tiobj2bin.bat:
将所有 hex470和 ofd470更改为 HEX2000和 OFD2000。
2.在 CCS 中添加以下 post-build 命令:
"${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat ""${BuildArtiftFileName}""${BuildArtifactFileBaseName}.bin""${CG_TOOL_ROOT}/bin/ofd2000.exe ""${CG_TOOL_ROOT}/bin/hex2000.exe ""${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe
它在大多数计算机上都可以正常工作、但在一台计算机上、它报告:
聽:/ti/ccs1010/ccs/utils/tiobj2bin/tiobj2bin.bat 聽"DH.out"聽"DH.bin"聽:/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:目标'post-build'的配方失败
Process_begin:CreateProcess (/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/hex2000.exe聽C、C:/ti/ccs1010/ccs/utils/tiobj2bin/tiobj2bin.bat聽DH μ es.out聽DH μ bin聽C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/ofd2000.exe聽C μ A:μ A:/ti/ccs1010/ccs/utils/tiobj2bin/mkhex4bin.exe、...) 失败。
制造(e=2):
聽:/ti/ccs1010/ccs/utils/tiobj2bin/tiobj2bin.bat 聽"DH.out"聽"DH.bin"聽:/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:目标'post-build'的配方失败
Process_begin:CreateProcess (/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/hex2000.exe聽C、C:/ti/ccs1010/ccs/utils/tiobj2bin/tiobj2bin.bat聽DH μ es.out聽DH μ bin聽C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/ofd2000.exe聽C μ A:μ A:/ti/ccs1010/ccs/utils/tiobj2bin/mkhex4bin.exe、...) 失败。
make (e=2):系统找不到指定的文件(找不到文件)
您能帮您检查这里有什么问题吗? 或者、是否有独立的方法从.out 文件生成.bin、因为转换.out 文件总是成功的。
此致、
Brian