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.

Compiler/TMS320F28377D: compiler version of ti-cgt-c2000_20.2.0.LTS has a bug...

Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE

Tool/software: TI C/C++ Compiler

Compiler : ti-cgt-c2000_20.2.0.LTS

Code Composer Studio : Version: 10.0.0.00010

Example : usb_ex7_host_msc

I compiled and checked the operation with ti-cgt-c2000_18.2.2.LTS, but In ti-cgt-c2000_20.2.0.LTS there is a compilation error.

like this:

**** Build of configuration CPU1_RAM for project usb_ex7_host_msc ****

"C:\\ti\\ccs1000\\ccs\\utils\\bin\\gmake" -k -j 4 all -O

Building file: "../cmdline.c"
Invoking: C2000 Compiler
"C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="C:/Users/boomw/workspace_v10_exam_lib/usb_ex7_host_msc" --include_path="C:/Users/boomw/workspace_v10_exam_lib/usb_ex7_host_msc/device" --include_path="C:/ti/c2000/C2000Ware_3_01_00_00/driverlib/f2837xd/driverlib" --include_path="C:/ti/c2000/C2000Ware_3_01_00_00/libraries/communications/usb/f2837xd/include" --include_path="C:/ti/c2000/C2000Ware_3_01_00_00/device_support/f2837xd/common" --include_path="C:/ti/c2000/C2000Ware_3_01_00_00/utilities/third_party/f2837xd" --include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --define=ccs_c2k --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="cmdline.d_raw" "../cmdline.c"

>> Compilation failure
subdir_rules.mk:9: recipe for target 'cmdline.obj' failed

INTERNAL ERROR: C:\ti\ccs1000\ccs\tools\compiler\ti-cgt-c2000_20.2.0.LTS\bin\ac2000.exe experienced a segmentation fault
while processing function (unknown or file scope) file (unknown) line 0

This is caused by a defect in the TI C/C++ Parser.
TI Customer Support may be able to suggest a workaround to avoid this.

Upgrading to the newest version of the compiler may fix this problem.

Contact TI in the E2E support forums at http://e2e.ti.com under
"Development Tools", "TI C/C++ Compiler". See the link titled
"Submitting an issue".

We need to see this ENTIRE error message and a complete, reproducible
test case including ALL of the command-line options.
Include the .pp file created by option --preproc_with_comment

gmake: *** [cmdline.obj] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****