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.
Code Composer Studio
Version: 9.0.1.00004
CCS9.0.1 编写代码,生成bin 文件总是失败,参考网上的推荐的方法总是生成不了bin 文件
"${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/armofd" "${CG_TOOL_ROOT}/bin/armhex" "${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin" & "${CG_TOOL_HEX}" -i "${BuildArtifactFileName}" -o "${BuildArtifactFileBaseName}.hex" -order MS -romwidth 32 & "${CG_TOOL_HEX}" --ti_txt "${BuildArtifactFileName}" -o "${BuildArtifactFileBaseName}.txt" -order MS -romwidth 32
在自己的Post-build steps 输入以上命令,并 进行重新clean 编译
提示
'D:\ti\ccs901\ccs\tools\compiler\ti-cgt-msp430_18.12.1.LTS\bin\ofd470' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
File does not exist: at XML_TI_OFD.pm line 877.
根本找不到ofd470 命令,hex470命令 进入该目录查看,未找到该两个文件,请问下?咱们有什么好的办法生成bin文件的吗?
https://e2echina.ti.com/question_answer/microcontrollers/msp430/f/55/t/183188
看看是不是我这个贴说的那个文件位置你没找到。
刚用winhex 查看了bin 文件,开始时我的代码部分,中间全是0x00 0x00 在地址 00002016 以后不知道又加了什么(后面时添加的部分) 00 00 00 00 78 f8 78 f8 78 f8 00 00 00 00 00 78 f8 78 f8 78 f8 00 00 00 00 00 00 78 f8 64 f8
不明白编译器最后要加的这些时干嘛用的,如果在末尾增加,刚好增加bin 文件的大小,也刚刚好时 我可编程空间的大小