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直接生成.bin文件

Other Parts Discussed in Thread: TMS570LS3137

ccs版本为5.3,芯片为TMS570ls3137,ccs安装完后没有mkhex4bin文件,在安装时需要勾选什么选项??另外在ccs如何配置,能使ccs直接生成bin文件,谢谢~~

  • Hi mao,

    在CCS安装目录下的C:\ti\ccsv5\tools\compiler\tm470_4.x.x\bin下面会有“hex470.exe"可以用来生成bin文件。

    在CCS中,property->build->step->post-build step,里面可以加入调用hex470,在CCS编译完后直接生成bin。

    Regards,

    Jay

  • hex470.exe 我觉得是生成hex文件,不知道对不对???

    我的CCS5.3只有armhex.exe 没有hex470.exe 在CCS的step选项最后一个选项可以选择intel-hex,然后通过hex转bin的小工具转的;

    可以参看http://www.deyisupport.com/question_answer/microcontrollers/msp430/f/55/t/10741.aspx有个MSP430的设置,

  • 已解决!!

    通过载step中输入命令行:"${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/armofd.exe" "${CG_TOOL_ROOT}/bin/armhex.exe" "${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe"

    mkhex4bin.exe可以直接将hex转为bin

  • 楼上正解。只是变量${CCE_INSTALL_ROOT}拼错了,改成${CCS_INSTALL_ROOT}即可。

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