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.

[参考译文] CCSTUDIO:在 CCS 中生成.bin 文件失败

Guru**** 2908220 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1649332/ccstudio-fail-to-generate-bin-file-in-ccs

部件号: CCSTUDIO

在 Code Composer Studio V12.8 中为 F280039C (C2000) MCU 构建时、我在从工程生成.bin 文件(而不是默认的.out 可执行文件时遇到问题。

‑TI 论坛中的类似主题、我尝试在 POST μ s 构建步骤中使用 tiobj2bin。 我‑ARM 和 C2000 器件的过程不同、因此我遵循了 C2000 特有的方法。

我‑的 POST 构建步骤为:

“${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

但是、编译失败、输出如下:

“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:目标“编译后

“失败警告:数据正在写入自动生成的 gpio_ex2_toggle.bin“、
或者无法识别为外部 gpio.x01 编程'cgle'命令、或者无法执行外部 gle_cdoggle 命令:
gmake[2]:[post-build]错误 255(已忽略)
  1. 如果我使用正确的方法来生成.bin 文件、有人能指出我是否可以这样做?

  2. 是否有任何替代方法来生成.bin 文件?