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.

TMS320F28377S: Errors when debug C2000ware project F2837xS_sci_flash_kernel

Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE

Dear Champs,

I import the project in CCS12.4:

C:\ti\c2000\C2000Ware_5_01_00_00\device_support\f2837xs\examples\cpu1\F2837xS_sci_flash_kernel

And there shows the following errors, it seems that some files are missed when import.

When I manually added all the files that showed errors, it shows that other source files were still missing.
Can you help check it out? Thank you!

Best Regards,

Julia

  • Hi Julia,

    For me import and build is working with CCS12.4, screenshot below.

    Could you please try to delete the project and re-import it or check if C2000ware is installed properly and let me know?

    Thanks & Regards,

    Rajeshwary

  • Hi Rajeshwary,

    I use different version of C2000ware and the error is the same.

    C2000ware 5_01_00

    C2000ware 5_00_00

    C2000ware 4_03_00

    use CCS11.0 and C2000ware 4_01_00 and the error is the same.

    the console window shows:

    **** Build of configuration CPU1_RAM for project F2837xS_sci_flash_kernel ****
    
    "C:\\ti\\ccs1240\\ccs\\utils\\bin\\gmake" -k all 
     
    Building file: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_DefaultISR.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/libraries/flash_api/f2837xs/include" --advice:performance=all --define=CPU1 -g --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xS_DefaultISR.d_raw"  "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_DefaultISR.c"
    Finished building: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_DefaultISR.c"
     
    Building file: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/source/F2837xS_GlobalVariableDefs.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/libraries/flash_api/f2837xs/include" --advice:performance=all --define=CPU1 -g --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xS_GlobalVariableDefs.d_raw"  "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/source/F2837xS_GlobalVariableDefs.c"
    Finished building: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/source/F2837xS_GlobalVariableDefs.c"
     
    Building file: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_Gpio.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/libraries/flash_api/f2837xs/include" --advice:performance=all --define=CPU1 -g --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xS_Gpio.d_raw"  "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_Gpio.c"
    Finished building: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_Gpio.c"
     
    Building file: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_PieCtrl.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/libraries/flash_api/f2837xs/include" --advice:performance=all --define=CPU1 -g --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xS_PieCtrl.d_raw"  "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_PieCtrl.c"
    Finished building: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_PieCtrl.c"
     
    Building file: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_PieVect.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/libraries/flash_api/f2837xs/include" --advice:performance=all --define=CPU1 -g --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xS_PieVect.d_raw"  "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_PieVect.c"
    Finished building: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_PieVect.c"
     
    Building file: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_SysCtrl.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/libraries/flash_api/f2837xs/include" --advice:performance=all --define=CPU1 -g --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xS_SysCtrl.d_raw"  "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_SysCtrl.c"
    "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_SysCtrl.c", line 984 (col. 47): advice #2614-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
    Finished building: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_SysCtrl.c"
     
    Building file: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/examples/cpu1/F2837xS_sci_flash_kernel/cpu01/F2837xS_sci_flash_kernel.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/libraries/flash_api/f2837xs/include" --advice:performance=all --define=CPU1 -g --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xS_sci_flash_kernel.d_raw"  "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/examples/cpu1/F2837xS_sci_flash_kernel/cpu01/F2837xS_sci_flash_kernel.c"
    Finished building: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/examples/cpu1/F2837xS_sci_flash_kernel/cpu01/F2837xS_sci_flash_kernel.c"
     
    Building file: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_usDelay.asm"
    Invoking: C2000 Compiler
    "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/headers/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/include" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/libraries/flash_api/f2837xs/include" --advice:performance=all --define=CPU1 -g --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xS_usDelay.d_raw"  "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_usDelay.asm"
    Finished building: "C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xs/common/source/F2837xS_usDelay.asm"
     
    gmake: *** No rule to make target 'C:/ti/1240C2K/Fapi_UserDefinedFunctions.c', needed by 'Fapi_UserDefinedFunctions.obj'.
    gmake: *** No rule to make target 'C:/ti/1240C2K/SCI_Boot.c', needed by 'SCI_Boot.obj'.
    gmake: *** No rule to make target 'C:/ti/1240C2K/SCI_GetFunction.c', needed by 'SCI_GetFunction.obj'.
    gmake: *** No rule to make target 'C:/ti/1240C2K/Shared_Boot.c', needed by 'Shared_Boot.obj'.
    gmake: *** No rule to make target 'C:/ti/1240C2K/Shared_Erase.c', needed by 'Shared_Erase.obj'.
    gmake: *** No rule to make target 'C:/ti/1240C2K/Shared_Verify.c', needed by 'Shared_Verify.obj'.
    gmake: *** No rule to make target 'C:/ti/1240C2K/fwupgradec1toc2_start.asm', needed by 'fwupgradec1toc2_start.obj'.
    gmake: *** No rule to make target 'C:/ti/1240C2K/flash_programming_RAM.cmd', needed by 'F2837xS_sci_flash_kernel.out'.
    gmake: *** No rule to make target 'C:/ti/1240C2K/c1bootROM_BootROMSymbols_fpu32.lib', needed by 'F2837xS_sci_flash_kernel.out'.
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    

    Best Regards,

    Julia

  • Hi Julia,

    Apologies for inconvenience, I am able to reproduce the issue.

    Issue exists when we copy the C2000ware project to our workspace, file paths are not resolved as shown in screenshot resulting in build failure.

    To resolve the issue go to properties->Resource->Linked Resource and edit the path as shown below by replacing "${PARENT-1-PROJECT_LOC}" with "ORIGINAL_PROJECT_ROOT\..", this will resolve the file path error thereby build error.

    I have highlighted the issue and will also be resolved in C2000ware.

    Thanks & Regards,

    Rajeshwary

  • Hi Rajeshwary,

    Thank you for your confirmation!