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.

C2000中example下的F28388D的CAN例程导入问题

Other Parts Discussed in Thread: C2000WARE

  • 检查例程目录下,各文件的状态,发现上图的情况。是库没有与工程关联上?

  • 我导入例程也是这样的图片。

    请您给出您现在例程的路径以及console的详细信息,谢谢
  • 好的,C2000ware安装路径是C:\ti\c2000, 测试的例程的路径是C:\ti\c2000\C2000Ware_3_03_00_00\driverlib\f2838x\examples\c28x\can , CCS10.1.1的路径是D:\CCS10.0\install bag, CCS10.1的workspace的路径是E:\workspace_v10
  • 谢谢反馈!请给出console的详细信息
  • 我用的是C2000ware,硬件是F28388D,软件是CCS10.1.1
  • 请给出您帖子中第一张图左边的console内的详细信息。目前无法得知您的具体错误信息
  • 好的好的,理解错误,抱歉

    **** Build of configuration CPU1_RAM for project can_ex1_loopback ****

    "D:\\CCS10.0\\install bag\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

    Building file: "../device/f2838x_codestartbranch.asm"
    Invoking: C2000 Compiler
    "D:/CCS10.0/install bag/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --include_path="E:/workspace_v10/can_ex1_loopback" --include_path="E:/workspace_v10/can_ex1_loopback/device" --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/driverlib/f2838x/driverlib" --include_path="D:/CCS10.0/install bag/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include" --define=RAM --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="device/f2838x_codestartbranch.d_raw" --include_path="E:/workspace_v10/can_ex1_loopback/CPU1_RAM/syscfg" --obj_directory="device" "../device/f2838x_codestartbranch.asm"
    Finished building: "../device/f2838x_codestartbranch.asm"

    Building file: "../can_ex1_loopback.c"
    Invoking: C2000 Compiler
    "D:/CCS10.0/install bag/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --include_path="E:/workspace_v10/can_ex1_loopback" --include_path="E:/workspace_v10/can_ex1_loopback/device" --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/driverlib/f2838x/driverlib" --include_path="D:/CCS10.0/install bag/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include" --define=RAM --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="can_ex1_loopback.d_raw" --include_path="E:/workspace_v10/can_ex1_loopback/CPU1_RAM/syscfg" "../can_ex1_loopback.c"
    Finished building: "../can_ex1_loopback.c"

    Building file: "../device/device.c"
    Invoking: C2000 Compiler
    "D:/CCS10.0/install bag/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --include_path="E:/workspace_v10/can_ex1_loopback" --include_path="E:/workspace_v10/can_ex1_loopback/device" --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/driverlib/f2838x/driverlib" --include_path="D:/CCS10.0/install bag/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include" --define=RAM --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="device/device.d_raw" --include_path="E:/workspace_v10/can_ex1_loopback/CPU1_RAM/syscfg" --obj_directory="device" "../device/device.c"
    "../device/device.c", line 486 (col. 35): advice #2615-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
    process_begin: CreateProcess(NULL, D:/CCS10.0/install bag/ccs/utils/bin/gmake --no-print-directory -Onone can_ex1_loopback.out, ...) failed.
    make (e=2): 系统找不到指定的文件。

    gmake: *** [all] Error 2
    Finished building: "../device/device.c"

    makefile:142: recipe for target 'all' failed

    **** Build Finished ****
  • gmake是用于构建程序的“ make”实用程序的版本。CCS在后台使用gmake来构建项目

    请您参考下面链接内的解决办法

    software-dl.ti.com/.../sdto_ccs_build-errors.html
  • 我试了一下,还是不行,不知道是不是因为我之前安装过control suite的缘故
  • 不过,换了一个台式电脑,将ccs10.1和C2000ware、ccs10.1的工作空间分别放在3个磁盘,再打开C2000中的例程。编译,就可以通过