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 Code Generation Tools Update

Other Parts Discussed in Thread: TI-CGT, CONTROLSUITE

Hi,

I am using CCS version 4.2.1.00004 and I need to upadte the C2000 Code Generation Tools from 5.2.6 to 6.0.1.

As suggested by Control Suite, I am doing the following procedure:

1. In CCS: help -> Software Updates -> Find and Install

2. Select "search for new features to install"

3. Select "Code Generation tools updates"

However I get the following error

Network connection problems encountered during search.
Unable to access "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/codegen/Updates/full/site.xml".
Unable to access site: "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/codegen/Updates/full/site.xml" [Connection timed out: connect]
Unable to access site: "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/codegen/Updates/full/site.xml" [Connection timed out: connect]

Someone now how to fix this error or where can I find the C2000 Code Generation Tools version 6.0.1 to update the code composer.

Thnak you very much

Denise

  • Hi Denise,

    I'm not sure what happened in your environment. I seem to be able to access the sites and see the updates. Perhaps it was a hiccup with the servers when you tried it?

    You can also just download and install it manually if you wish.

    Download:

    https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm#C2000

    How to configure CCS to use new CGT:

    http://processors.wiki.ti.com/index.php/Compiler_Installation_and_Selection#CCStudio_4.0

    Thanks

    ki

     

     

  • Hello Sir,

    I am facing this error while incremental build using TI F28377S controller.


    ### Generating code into build folder: C:\Users\Anshul\Documents\MATLAB\test_ert_rtw
    ### Invoking Target Language Compiler on test.rtw
    ### Using System Target File: C:\Program Files\MATLAB\R2015b\rtw\c\ert\ert.tlc
    ### Loading TLC function libraries
    Warning: The data type "int8" uses a word size that is not available on the intended target.
    Fixed-point signals using this data type will be put inside a larger word or multi words. When used,
    extra software will be generated to force this larger word or multi words to emulate a smaller
    word. This emulation is helpful when your prototype target and your final
    production target are not the same. If the smaller word size does NOT exist
    on the final production target, then consider increasing the word size to
    one that is supported.
    Warning: The data type "uint8" uses a word size that is not available on the intended target.
    .
    Warning: The data type "boolean" uses a word size that is not available on the intended target.
    ### Initial pass through model to cache user defined code
    ### Caching model source code
    ### Writing header file test.h
    .
    ### Writing header file test_types.h
    ### Writing header file rtwtypes.h
    ### Writing header file rt_nonfinite.h
    ### Writing source file rt_nonfinite.c
    ### Writing header file rtGetInf.h
    .
    ### Writing source file rtGetInf.c
    ### Writing header file rtGetNaN.h
    ### Writing source file rtGetNaN.c
    ### Writing source file test.c
    ### Writing header file test_private.h
    .
    ### Writing source file test_data.c
    ### Writing source file ert_main.c
    ### TLC code generation complete.
    ### Evaluating PostCodeGenCommand specified in the model
    ### Using toolchain: Texas Instruments C2000 Code Generation Tools v6.0.0 | gmake (64-bit Windows)
    ### 'C:\Users\Anshul\Documents\MATLAB\test_ert_rtw\test.mk' is up to date
    ### Building 'test': C:\PROGRA~1\MATLAB\R2015b\bin\win64\gmake -B -f test.mk all

    C:\Users\Anshul\Documents\MATLAB\test_ert_rtw>cd .

    C:\Users\Anshul\Documents\MATLAB\test_ert_rtw>if "" == "" (C:\PROGRA~1\MATLAB\R2015b\bin\win64\gmake -B -f test.mk all ) else (C:\PROGRA~1\MATLAB\R2015b\bin\win64\gmake -B -f test.mk )
    C:/ti/ccsv6/tools/compiler/TI-CGT~1.0/bin/cl2000 --compile_only --large_memory_model --cla_support=cla0 --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv6/tools/compiler/TI-CGT~1.0/include" -v28 --float_support=fpu32 -ml -DMODEL=test -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCPU1 -DF2837X_REG_FORMAT -DMW_F2837XS -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DCPU1 -DF2837X_REG_FORMAT -DMW_F2837XS -DRT -DSTACK_SIZE=512 -DMODEL=test -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/Anshul/Documents/MATLAB/test_ert_rtw -IC:/Users/Anshul/Documents/MATLAB -IC:/Users/Anshul/Desktop/TIMATL~1 -IC:/PROGRA~1/MATLAB/R2015b/extern/include -IC:/PROGRA~1/MATLAB/R2015b/simulink/include -IC:/PROGRA~1/MATLAB/R2015b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2015b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2015b/rtw/c/ert -IC:/MATLAB/SupportPackages/R2015b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2015b/toolbox/shared/can/src/scanutil -IC:/MATLAB/SupportPackages/R2015b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/src -IC:/ti/controlSUITE/device_support/F2837xS/v160/F2837xS_common/include -IC:/ti/controlSUITE/device_support/F2837xS/v160/F2837xS_headers/include -IC:/PROGRA~1/MATLAB/R2015b/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2015b/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="MW_c28xx_board.obj" "MW_c28xx_board.c"
    'C:/ti/ccsv6/tools/compiler/TI-CGT~1.0/bin/cl2000' is not recognized as an internal or external command,
    operable program or batch file.
    gmake: *** [MW_c28xx_board.obj] Error 1

    C:\Users\Anshul\Documents\MATLAB\test_ert_rtw>echo The make command returned an error of 2
    The make command returned an error of 2

    C:\Users\Anshul\Documents\MATLAB\test_ert_rtw>An_error_occurred_during_the_call_to_make
    'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command,
    operable program or batch file.
    ### Build procedure for model: 'test' aborted due to an error.
    Error(s) encountered while building "test":
    ### Failed to generate all binary outputs.
    Component: Simulink | Category: Model error
  • Hi Utkarsh,

    This error comes from Simulink / Embedded Coder. Looks like the configuration can't locate the TI compiler in the CCSv6 directory. Check to see if this file exists: C:/ti/ccsv6/tools/compiler/TI-CGT~1.0/bin/cl2000.  Note, I don't have this folder/version - I am using ti-cgt-c2000_6.4.6. I suspect you need to install/reinstall the correct TI C2000 compiler via CCS.

    If you are still having issues, please contact MathWorks Technical Support.

    -Brian