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.

CCSTUDIO: Errors when using TI F2806x example codes on CCS 20.1

Part Number: CCSTUDIO
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hi champs,

I am asking this for our customer.

The user runs TI F2806x example codes well on CCS 12.8.1.

C:\ti\c2000\C2000Ware_5_04_00_00\device_support\f2806x\examples\c28\nmi_watchdog

After using the latest CCS 20.1, the user found this issue.

Would you please help clarify?

  • Hello,

    Based on your screenshot, it looks like you opened a folder to the project location instead of copying into your workspace. I would recommend the latter.

    Do you have a target configuration file as part of your project?

    Thanks

    ki

  • Hi Ki,

    I saw many issues here.

    1. Copy project

    It has many errors when importing the TI example project.

    2. target configuration

    After building the project, we see many issues.

    [0]**** Clean-only build of configuration Debug for project Example_2806xNMIWatchdog ****
    [1]"C:\\ti\\ccs2001\\ccs\\utils\\bin\\gmake" -k clean 
     
    
    [2]**** Build Finished ****
    
    [3]**** Build of configuration Debug for project Example_2806xNMIWatchdog ****
    [4]"C:\\ti\\ccs2001\\ccs\\utils\\bin\\gmake" -k all 
     
    [5]Building file: "../Example_2806xNMIWatchdog.c"
    [6]Invoking: C2000 Compiler
    [7]"C:/ti/ccs2001/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --include_path="C:/ti/ccs2001/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --include_path="/device_support/f2806x/headers/include" --include_path="/device_support/f2806x/common/include" --include_path="/libraries/math/IQmath/c28/include" --include_path="/libraries/math/FPUfastRTS/c28/include" --define="_DEBUG" --define="LARGE_MODEL" -g --diag_suppress=10063 --diag_warning=225 --issue_remarks --verbose_diagnostics --quiet --preproc_with_compile --preproc_dependency="Example_2806xNMIWatchdog.d_raw"  "../Example_2806xNMIWatchdog.c"
     
    [8]>> Compilation failure
    [9]subdir_rules.mk:9: recipe for target 'Example_2806xNMIWatchdog.obj' failed
    [10]"../Example_2806xNMIWatchdog.c", line 62: fatal error: cannot open source file
    [11]          "DSP28x_Project.h"
    [12]  #include "DSP28x_Project.h"     // Device Headerfile and Examples Include File
    [13]                                                                                ^
     
    [14]1 catastrophic error detected in the compilation of "../Example_2806xNMIWatchdog.c".
    [15]Compilation terminated.
    [16]gmake: *** [Example_2806xNMIWatchdog.obj] Error 1
    [17]gmake: *** No rule to make target 'C:/ti/ccs2001/ccs/eclipse/COM_TI_C2000WARE_INSTALL_DIR/device_support/f2806x/common/source/F2806x_CodeStartBranch.asm', needed by 'F2806x_CodeStartBranch.obj'.
    [18]gmake: *** No rule to make target 'C:/ti/ccs2001/ccs/eclipse/COM_TI_C2000WARE_INSTALL_DIR/device_support/f2806x/common/source/F2806x_DefaultIsr.c', needed by 'F2806x_DefaultIsr.obj'.
    [19]gmake: *** No rule to make target 'C:/ti/ccs2001/ccs/eclipse/COM_TI_C2000WARE_INSTALL_DIR/device_support/f2806x/headers/source/F2806x_GlobalVariableDefs.c', needed by 'F2806x_GlobalVariableDefs.obj'.
    [20]gmake: *** No rule to make target 'C:/ti/ccs2001/ccs/eclipse/COM_TI_C2000WARE_INSTALL_DIR/device_support/f2806x/common/source/F2806x_PieCtrl.c', needed by 'F2806x_PieCtrl.obj'.
    [21]gmake: *** No rule to make target 'C:/ti/ccs2001/ccs/eclipse/COM_TI_C2000WARE_INSTALL_DIR/device_support/f2806x/common/source/F2806x_PieVect.c', needed by 'F2806x_PieVect.obj'.
    [22]gmake: *** No rule to make target 'C:/ti/ccs2001/ccs/eclipse/COM_TI_C2000WARE_INSTALL_DIR/device_support/f2806x/common/source/F2806x_SysCtrl.c', needed by 'F2806x_SysCtrl.obj'.
    [23]gmake: *** No rule to make target 'C:/ti/ccs2001/ccs/eclipse/COM_TI_C2000WARE_INSTALL_DIR/device_support/f2806x/common/source/F2806x_usDelay.asm', needed by 'F2806x_usDelay.obj'.
    [24]gmake: *** No rule to make target 'C:/ti/ccs2001/ccs/eclipse/COM_TI_C2000WARE_INSTALL_DIR/device_support/f2806x/common/cmd/28069_RAM_lnk.cmd', needed by 'Example_2806xGpioToggle.out'.
    [25]gmake: *** No rule to make target 'C:/ti/ccs2001/ccs/eclipse/COM_TI_C2000WARE_INSTALL_DIR/device_support/f2806x/headers/cmd/F2806x_Headers_nonBIOS.cmd', needed by 'Example_2806xGpioToggle.out'.
    [26]gmake: Target 'all' not remade because of errors.
    [27]**** Build Finished ****
    

  • I believe you are running into this known issue:

    https://sir.ext.ti.com/jira/browse/EXT_EP-12146

    Please manually add the C2000Ware dependency to the project: