TI中文支持网
TI专业的中文技术问题搜集分享网站

TMS320F280033: CCS 12.4 无法正常将out生成为bin文件

Part Number:TMS320F280033

1.Post-build steps 中设置如下:

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

此脚本在CCS 11.1的版本上一直都能够正常生成 bin文件

2.CCS升级到 Version: 12.4.0.00007 后,编译的时候出现如下提示:

"C:/ti/ccs1240/ccs/utils/tiobj2bin/tiobj2bin" "app1_f280025.out" "app1_f280025.bin" "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/ofd2000" "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/hex2000" "C:/ti/ccs1240/ccs/utils/tiobj2bin/mkhex4bin"
makefile:210: recipe for target 'post-build' failed
'C:' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
gmake[2]: [post-build] Error 255 (ignored)

3.根据Ti英文论坛的帖子,将C:\ti\ccs1240\ccs\utils\tiobj2bin\tiobj2bin.bat文件第109行拆分成2行:

https://www.ti2k.com/wp-content/uploads/ti2k/DeyiSupport_C2000_tms320f280039c-post-build-failed-in-ccs12-2,%22%24%20%7BBuildArtifactFileBaseName%7D.bin%22%20%22%24%20%7BCG_TOOL_ROOT%7D%2Fbin%2Fofd2000%22%20%22%24%20%7BCG_TOOL_ROOT%7D%2Fbin%2Fhex2000%22%20%22%24%20%7BCCS_INSTALL_ROOT%7D%2Futils%2Ftiobj2bin%2Fmkhex4bin%22

rem 拆分前

%ofdcmd% --obj_display=none,header %outfile% |findstr/c:" ELF " > nul 2>&1

rem 拆分后%ofdcmd% --obj_display=none,header %outfile%findstr/c:" ELF " > nul 2>&1

编译时出现如下提示:

"C:/ti/ccs1240/ccs/utils/tiobj2bin/tiobj2bin" "app1_f280033.out" "app1_f280033.bin" "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/ofd2000" "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/hex2000" "C:/ti/ccs1240/ccs/utils/tiobj2bin/mkhex4bin"
 
OBJECT FILE:  app1_f280025.outObject File InformationFile Name:app1_f280033.outFormat:ELF Version 1File Type:executable fileMachine:TI C2000Machine Endian:little endianEntry Point:0x0008a000Vendor:Texas Instruments, Inc.Producer:LinkerLinker Version:22.6.0Number of Sections:  152File Length:689060ELF Class:32-bit objectsELF e_flags:0
C:/ti/ccs1240/ccs/utils/tiobj2bin/mkhex4bin failure occurred.  Giving up.
not well-formed (invalid token) at line 1, column 0, byte 0 at XML/Parser.pm line 187.

请版主帮忙看看问题出在哪里

BarbiQ -:

尝试用CCS12.4去编译之前的旧项目,出现的提示是一样的。

,

Yale Li:

我看一下

赞(0)
未经允许不得转载:TI中文支持网 » TMS320F280033: CCS 12.4 无法正常将out生成为bin文件
分享到: 更多 (0)