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/LAUNCHXL-F28027: LAUNCHXL-F28027

Part Number: LAUNCHXL-F28027

Tool/software: TI C/C++ Compiler

I tried dumping code from matlab simulink to launchxl f28027, code was generated but there was build error due to which program was not dumped into mcu. I am using Matlab 2017a and cc6. I have also attached diagnostic log information for reference.

Kindly help me to solve this problem.

=== Build (Elapsed: 1:12 min) ===
    ### Starting build procedure for model: blink
    ### Generating code into build folder: D:\FALCO\TI_2802x\blink_ert_rtw
    ### Invoking Target Language Compiler on blink.rtw
    ### Using System Target File: C:\Program Files\MATLAB\R2017a\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 blink.h
    ### Writing header file blink_types.h
    ### Writing header file rtwtypes.h
    ### Writing source file blink.c
    .
    ### Writing header file blink_private.h
    ### Writing source file blink_data.c
    ### Writing header file rtmodel.h
    ### Writing source file ert_main.c
    ### TLC code generation complete.
    ### Evaluating PostCodeGenCommand specified in the model
    ### Creating CCS Project at : D:\FALCO\TI_2802x\blink_ert_rtw\CCS_Project
    ### CCS project created successfully Open project in Code Composer Studio.
    ### Using toolchain: Texas Instruments C2000 Code Generation Tools v6.0.0 | gmake (64-bit Windows)
    ### 'D:\FALCO\TI_2802x\blink_ert_rtw\blink.mk' is up to date
    ### Building 'blink': "C:\PROGRA~1\MATLAB\R2017a\bin\win64\gmake"  -B -f blink.mk all
     
    D:\FALCO\TI_2802x\blink_ert_rtw>cd .  
     
    D:\FALCO\TI_2802x\blink_ert_rtw>if "" == "" ("C:\PROGRA~1\MATLAB\R2017a\bin\win64\gmake"  -B -f blink.mk all )  else ("C:\PROGRA~1\MATLAB\R2017a\bin\win64\gmake"  -B -f blink.mk  )
    C:/ti/NEW_CO~1/ccsv6/tools/compiler/TI-CGT~1.1/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/NEW_CO~1/ccsv6/tools/compiler/TI-CGT~1.1/include" -v28 -ml -DMODEL=blink -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DMODEL=blink -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -ID:/FALCO/TI_2802x -ID:/FALCO/TI_2802x/blink_ert_rtw -ID:/FALCO/TI_2802x/matlab -IC:/PROGRA~1/MATLAB/R2017a/extern/include -IC:/PROGRA~1/MATLAB/R2017a/simulink/include -IC:/PROGRA~1/MATLAB/R2017a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2017a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2017a/rtw/c/ert -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/inc -IC:/ti/new_controlsuite/controlSUITE/device_support/f2802x/v230/f2802x_common/include -IC:/ti/new_controlsuite/controlSUITE/device_support/f2802x/v230/f2802x_headers/include -IC:/ti/new_controlsuite/controlSUITE/device_support/f2802x/v230 -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include --output_file=MW_c28xx_board.obj MW_c28xx_board.c
    'C:/ti/NEW_CO~1/ccsv6/tools/compiler/TI-CGT~1.1/bin/cl2000' is not recognized as an internal or external command,
    operable program or batch file.
    gmake: *** [MW_c28xx_board.obj] Error 1
    D:\FALCO\TI_2802x\blink_ert_rtw>echo The make command returned an error of 2
    The make command returned an error of 2
    D:\FALCO\TI_2802x\blink_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.
    ### Creating HTML report file blink_codegen_rpt.html
    ### Build procedure for model: 'blink' aborted due to an error.
    Error:Error(s) encountered while building "blink":
    ### Failed to generate all binary outputs.