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.

TMS320F28335: 使用ccs8.2,之前使用没问题,关闭打开后编译出现问题ERROR: cannot run cg2000 - file could not be found

Part Number: TMS320F28335

CCS版本8.2.0,之前使用一直没有问题,今天开机后打开,编辑项目后编译出现   ERROR: cannot run cg2000 - file could not be found

其他所有的项目编译均出现此问题,请教大神们如何解决?

谢谢!

  • 部分编译错误的代码

    C:\\ti\\ccsv8\\utils\\bin\\gmake" -k all

    Building file: "C:/DSP/workspace_28377/v210/F2837xD_common/source/F2837xD_Adc.c"
    Invoking: C2000 Compiler
    "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --fp_mode=relaxed --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.3.LTS/include" --include_path="C:/DSP/workspace_28377/v210/F2837xD_headers/include" --include_path="C:/DSP/workspace_28377/v210/F2837xD_common/include" --define=CPU1 --define=_FLASH -g --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_Adc.d_raw" "C:/DSP/workspace_28377/v210/F2837xD_common/source/F2837xD_Adc.c"
    subdir_rules.mk:9: recipe for target 'F2837xD_Adc.obj' failed
    >> ERROR: cannot run cg2000 - file could not be found
    gmake: *** [F2837xD_Adc.obj] Error 1

  • 这个错误信息是表明CCS找不到 compiler. "cg2000.exe" 应该在下面的路径:

    C:\ti\ccsv8\tools\compiler\ti-cgt-c2000_18.1.3.LTS\bin

    您需要重新安装compiler

    https://www.ti.com/tool/TI-CGT 

  • 文件夹中是能找到这个编译器的

  • 抱歉,没有看到您图片中的 cg2000.exe,还是建议重新安装compiler

  • 重新安装后,问题解决,谢谢

  • 很高兴您能解决问题