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: Compiler errors

Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE

TMS320F28377S: cl2000 22.6.3 compiler errors where 22.6.1 had none

 Has the issue described at the links below been resolved?

 

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1599801/tms320f28377s-cl2000-22-6-3-compiler-errors-where-22-6-1-had-none

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

 

Thanks,

 

  • Hi Paul,
    This thread will be reassigned to the correct owner, please allow the expert some time to get back.
    Regards,
    Lakshya 

  • C2000Ware's bug with using inconsistent types has been fixed in C2000Ware v26.00.00.00
    Download: https://www.ti.com/tool/download/C2000WARE
    Release notes: https://software-dl.ti.com/C2000/c2000_apps_public_sw/c2000ware/26_00_00_00/release_notes.html 

    The compiler change that exposed above has been updated to revert the original type change and
    instead handle the original issue as limited to char16_t. It will be included in C28 compiler
    v22.6.4.LTS (end of April) and v25.11.1.LTS (end of May).

  • Thanks for the prompt reply and information

    v25.11.0 LTS was added with my update to CCS 20.5.0.28.  I get the build errors with this version.

    v22.6.1 LTS is what I use to avoid the build errors. (im updating to C2000Ware v26 now and will try 25.11.0 again)

    End of April / end of May, which version should I be using? 22.6.4 or 25.11.1 ? 

    What's the difference?

  • The change that exposed the C2000Ware issue with using inconsistent types was in 22.6.3.LTS and 25.11.0.LTS.  

    25.11.x.LTS is the most recent compiler release with latest features:
       https://software-dl.ti.com/codegen/esd/cgt_public_sw/C2000/25.11.0.LTS/README.html 
    22.6.x.LTS is the prior long term release.

    We always recommend using the latest compiler version to get the latest features and bug fixes, however, it really depends on your use case and whether you are limited to 22.6.x.LTS due to project constraints. If so then 22.6.2.LTS should avoid the issue as well.

  • I still get errors from incompatible definitions in C2000Ware

    C2000 Compiler: "../src/timer.c"
    "C:/ti/ccs2050/ccs/tools/compiler/ti-cgt-c2000_25.11.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --isr_save_vcu_regs=on --tmu_support=tmu0 --vcu_support=vcu2 --fp_mode=relaxed --include_path="C:/BlueCrest/projects/CMCScannerPlusPlus/device" --include_path="C:/ti/c2000/C2000Ware_26_00_00_00/device_support/f2837xs/headers/include" --include_path="C:/ti/c2000/C2000Ware_26_00_00_00/device_support/f2837xs/common/include" --include_path="C:/ti/ccs2050/ccs/tools/compiler/ti-cgt-c2000_25.11.0.LTS/include" --include_path="C:/BlueCrest/projects/CMCScannerPlusPlus" --include_path="C:/BlueCrest/projects/CMCScannerPlusPlus/dsp_shared" --include_path="C:/BlueCrest/projects/CMCScannerPlusPlus/inc" --include_path="C:/BlueCrest/projects/CMCScannerPlusPlus/inc/common" --include_path="C:/BlueCrest/projects/CMCScannerPlusPlus/inc/common/fromCMCESMCPlus" --include_path="C:/ti/c2000/C2000Ware_26_00_00_00/driverlib/f2837xs/driverlib" --include_path="C:/ti/c2000/C2000Ware_26_00_00_00/libraries/flash_api/f2837xs/include" --include_path="C:/ti/c2000/C2000Ware_26_00_00_00/libraries/dsp/VCU/c28/include/vcu0" --advice:performance=all --define=_FLASH --define=BUILD_CONFIG_DEBUG_FLASH --define=DEBUG_PRINTF_STDOUT --define=CPU1 --define=_DUAL_HEADERS -g --c11 --cpp_default --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --no_rpt --preproc_with_compile --preproc_dependency="src/timer.d_raw" --include_path="C:/BlueCrest/projects/CMCScannerPlusPlus/DEBUG_FLASH/syscfg" --obj_directory="src" "../src/timer.c"
    [8]"C:/ti/c2000/C2000Ware_26_00_00_00/device_support/f2837xs/common/include/device.h", line 192: error #148: declaration is incompatible with "Uint16 RamfuncsLoadStart" (declared at line 345 of "C:\ti\c2000\C2000Ware_26_00_00_00\device_support\f2837xs\common\include\F2837xS_GlobalPrototypes.h")
    [9]"C:/ti/c2000/C2000Ware_26_00_00_00/device_support/f2837xs/common/include/device.h", line 193: error #148: declaration is incompatible with "Uint16 RamfuncsLoadEnd" (declared at line 346 of "C:\ti\c2000\C2000Ware_26_00_00_00\device_support\f2837xs\common\include\F2837xS_GlobalPrototypes.h")
    [10]"C:/ti/c2000/C2000Ware_26_00_00_00/device_support/f2837xs/common/include/device.h", line 194: error #148: declaration is incompatible with "Uint16 RamfuncsLoadSize" (declared at line 347 of "C:\ti\c2000\C2000Ware_26_00_00_00\device_support\f2837xs\common\include\F2837xS_GlobalPrototypes.h")
    [11]"C:/ti/c2000/C2000Ware_26_00_00_00/device_support/f2837xs/common/include/device.h", line 195: error #148: declaration is incompatible with "Uint16 RamfuncsRunStart" (declared at line 348 of "C:\ti\c2000\C2000Ware_26_00_00_00\device_support\f2837xs\common\include\F2837xS_GlobalPrototypes.h")
    [12]"C:/ti/c2000/C2000Ware_26_00_00_00/device_support/f2837xs/common/include/device.h", line 196: error #148: declaration is incompatible with "Uint16 RamfuncsRunEnd" (declared at line 349 of "C:\ti\c2000\C2000Ware_26_00_00_00\device_support\f2837xs\common\include\F2837xS_GlobalPrototypes.h")
    [13]"C:/ti/c2000/C2000Ware_26_00_00_00/device_support/f2837xs/common/include/device.h", line 197: error #148: declaration is incompatible with "Uint16 RamfuncsRunSize" (declared at line 350 of "C:\ti\c2000\C2000Ware_26_00_00_00\device_support\f2837xs\common\include\F2837xS_GlobalPrototypes.h")
    6 errors detected in the compilation of "../src/timer.c".