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.

[参考译文] CCS/TMS570LS3137:无法从.out 文件为 TMS570LS3137生成.bin 文件

Guru**** 2536320 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/909724/ccs-tms570ls3137-not-able-to-generate-bin-file-for-tms570ls3137-from-out-file

器件型号:TMS570LS3137
主题中讨论的其他器件:OS3

工具/软件:Code Composer Studio

您好!

我在一行中使用以下命令来生成.bin 文件、但收到错误

"${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat ""${BuildArtiftFileName}""${BuildArtiftFileBaseName}.bin"${CG_TOOL_ROOT}/bin/armofd.exe ""${CG_TOOL_ROOT}/bin/armhex.exe ""${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe

错误如下所示:

'完成的构建目标:"OS3.out"
 
"C:/ti/ccsv7/utils/tiobj2bin/tiobj2bin.bat "OS3.out""OS3.bin"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/bin/armofd.exe "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/bin/armhex.exe "C:/ti/ccsv7/utils/tiobj2bin/mkhex4bin.exe "
发生 mkhex4bin 故障。  放弃。
 
错误:无效选项:-xml_indent=0
错误:无效选项:-obj_display=none、sections、header、sections
'mhex4bin'无法识别为内部或外部命令、
可操作的程序或批处理文件。
****构建完成****
我已经检查了上述路径中所有工具链是否可用。 请指导我解决问题
此致、
Suhail
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、 Suhail、

    以下示例说明了如何在 CCS 中将此实用程序作为编译后处理步骤调用:

    "${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat ""${BuildArtiftFileName}""${BuildArtiftFileBaseName}.bin""${CG_TOOL_ROOT}/bin/ofd470.exe ""${CG_TOOL_ROOT}/bin/hex470.exe ""${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe

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

    您可以使用以下不带 CCS 的实用程序:

    C:\temp>C:/ti/ccs900/ccs/utils/tiobj2bin/tiobj2bin.bat test.out test.bin C:/ti/ccs900/ccs/tools/compiler/ti-cgt-arm_16.9.11.LTS/bin/armofd.exe C:/ti/ccs900/ccs/tools/compiler/ti-cgt-arm_16.9.11.LTS/bin/armhex.exe C:/ti/ccs900/ccs/utils/tiobj2bin/mkhex4bin.exe