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下.out文件生成.bin文件的配置问题?



Hi experts,

请教一个关于CCS下.out文件生成.bin文件的配置问题:

在post-build steps 中加入如下(2)中所示命令行后,当build configuration配置为Release (Active)时,可以在Release文件夹下成功生成.bin和_ti.bin文件;

但是加入同样的命令,当build configuration配置为Debug时,无论Debug文件夹还是Release文件夹下都无法生成.bin文件:

(1)CCS版本为v6.1.0.00104;

(2)加入的post-build steps中的命令为:

"${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat"  
"../../../../../../../binary/armv7a/cgt_ccs/am335x/beaglebone/myself/${ConfigName}/${ProjName}.out"  
"../../../../../../../binary/armv7a/cgt_ccs/am335x/beaglebone/myself/${ConfigName}/${ProjName}.bin"  
"${CG_TOOL_ROOT}/bin/armofd.exe"  
"${CG_TOOL_ROOT}/bin/armhex.exe"  
"${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe" & "../../../../../../../tools/ti_image/tiimage.exe" 
"0x80000000" "NONE" "../../../../../../../binary/armv7a/cgt_ccs/am335x/beaglebone/myself/${ConfigName}/${ProjName}.bin" 
"../../../../../../../binary/armv7a/cgt_ccs/am335x/beaglebone/myself/${ConfigName}/${ProjName}_ti.bin"

(3)CCS console提示的错误为(build configuration配置为Debug (Active)时):

Usage: tiobj2bin file.out file.bin [ofd] [hex] [mkhex]
'"../../../../../../../binary/armv7a/cgt_ccs/am335x/beaglebone/myself/Debug/MygpioControl.bin"' 不是内部或外部命令,也不是可运行的程序或批处理文件。

我的问题是:

(1)是不是必须把build configuration配置为Release (Active),才能生成.bin文件?如果是的话,为什么Release才行?

(2)如上命令行中,“../../../../../../../ ” 和  “$” 分别是什么意思?

(3)如上命令行中,"${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe" & "../../../../../../../tools/ti_image/tiimage.exe" 中&是什么意思?可以用空格代替吗?

多谢多谢!

Joel Li