C28x DMC Lib

I am working with TI F28069 ControlCard and installed CCSv5.5 and Matlab R2016b on my system, when I try to use c28x DMC Lib during code generation, returned the below error:
### Generating code into build folder: D:\Matlab\New_P7_SCItest\c28x_sci_test_rev9_ert_rtw ### Invoking Target Language Compiler on c28x_sci_test_rev9.rtw ### Using System Target File: C:\MATLAB\R2016b\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 c28x_sci_test_rev9.h . ### Writing header file c28x_sci_test_rev9_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 c28x_sci_test_rev9.c ### Writing header file c28x_sci_test_rev9_private.h . ### Writing source file c28x_sci_test_rev9_data.c ### Writing header file rtmodel.h ### Writing source file ert_main.c ### TLC code generation complete. ### Evaluating PostCodeGenCommand specified in the model ### Using toolchain: Texas Instruments C2000 Code Generation Tools v5.2.12 | gmake (64-bit Windows) ### 'D:\Matlab\New_P7_SCItest\c28x_sci_test_rev9_ert_rtw\c28x_sci_test_rev9.mk' is up to date ### Using toolchain: Texas Instruments C2000 Code Generation Tools v5.2.12 | gmake (64-bit Windows) ### 'D:\Matlab\New_P7_SCItest\c28x_sci_test_rev9_ert_rtw\instrumented\c28x_sci_test_rev9.mk' is up to date ### Building 'c28x_sci_test_rev9': C:\MATLAB\R2016b\bin\win64\gmake -B -f c28x_sci_test_rev9.mk all
D:\Matlab\New_P7_SCItest\c28x_sci_test_rev9_ert_rtw\instrumented>cd .
D:\Matlab\New_P7_SCItest\c28x_sci_test_rev9_ert_rtw\instrumented>if "" == "" (C:\MATLAB\R2016b\bin\win64\gmake -B -f c28x_sci_test_rev9.mk all ) else (C:\MATLAB\R2016b\bin\win64\gmake -B -f c28x_sci_test_rev9.mk ) C:/ti/ccsv5/tools/compiler/C2000_~1.0/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/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=c28x_sci_test_rev9 -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__ -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DRT -DSTACK_SIZE=512 -DMW_STANDALONE_EXECUTION_PROFILER_ON -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DRT -DSTACK_SIZE=512 -DMODEL=c28x_sci_test_rev9 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/MATLAB/R2016b/simulink/include/sf_runtime -ID:/Matlab/New_P7_SCItest/c28x_sci_test_rev9_ert_rtw/instrumented -ID:/Matlab/New_P7_SCItest -IC:/MATLAB/R2016b/extern/include -IC:/MATLAB/R2016b/simulink/include -IC:/MATLAB/R2016b/rtw/c/src -IC:/MATLAB/R2016b/rtw/c/src/ext_mode/common -IC:/MATLAB/R2016b/rtw/c/ert -IC:/ProgramData/MATLAB/SupportPackages/R2016b_1/toolbox/target/supportpackages/tic2000/src -IC:/MATLAB/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/MATLAB/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b_1/toolbox/target/supportpackages/tic2000/inc -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IC:/MATLAB/R2016b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2016b_1/toolbox/target/shared/externalmode_daemon/include --output_file="MW_c28xx_board.obj" "MW_c28xx_board.c" C:/ti/ccsv5/tools/compiler/C2000_~1.0/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/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=c28x_sci_test_rev9 -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__ -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DRT -DSTACK_SIZE=512 -DMW_STANDALONE_EXECUTION_PROFILER_ON -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DRT -DSTACK_SIZE=512 -DMODEL=c28x_sci_test_rev9 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/MATLAB/R2016b/simulink/include/sf_runtime -ID:/Matlab/New_P7_SCItest/c28x_sci_test_rev9_ert_rtw/instrumented -ID:/Matlab/New_P7_SCItest -IC:/MATLAB/R2016b/extern/include -IC:/MATLAB/R2016b/simulink/include -IC:/MATLAB/R2016b/rtw/c/src -IC:/MATLAB/R2016b/rtw/c/src/ext_mode/common -IC:/MATLAB/R2016b/rtw/c/ert -IC:/ProgramData/MATLAB/SupportPackages/R2016b_1/toolbox/target/supportpackages/tic2000/src -IC:/MATLAB/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/MATLAB/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b_1/toolbox/target/supportpackages/tic2000/inc -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IC:/MATLAB/R2016b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2016b_1/toolbox/target/shared/externalmode_daemon/include --output_file="MW_c28xx_csl.obj" "MW_c28xx_csl.c" C:/ti/ccsv5/tools/compiler/C2000_~1.0/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/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=c28x_sci_test_rev9 -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__ -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DRT -DSTACK_SIZE=512 -DMW_STANDALONE_EXECUTION_PROFILER_ON -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DRT -DSTACK_SIZE=512 -DMODEL=c28x_sci_test_rev9 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/MATLAB/R2016b/simulink/include/sf_runtime -ID:/Matlab/New_P7_SCItest/c28x_sci_test_rev9_ert_rtw/instrumented -ID:/Matlab/New_P7_SCItest -IC:/MATLAB/R2016b/extern/include -IC:/MATLAB/R2016b/simulink/include -IC:/MATLAB/R2016b/rtw/c/src -IC:/MATLAB/R2016b/rtw/c/src/ext_mode/common -IC:/MATLAB/R2016b/rtw/c/ert -IC:/ProgramData/MATLAB/SupportPackages/R2016b_1/toolbox/target/supportpackages/tic2000/src -IC:/MATLAB/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/MATLAB/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b_1/toolbox/target/supportpackages/tic2000/inc -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IC:/MATLAB/R2016b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2016b_1/toolbox/target/shared/externalmode_daemon/include --output_file="c28x_sci_test_rev9.obj" "c28x_sci_test_rev9.c" "C:\Users\admin\AppData\Local\Temp\0461610", ERROR! at line 568: [E5369] Due to FPU pipeline restriction, this instruction is illegal in the 5 delay slots of: [MOV32 R0H,ACC ; [CPU_] 86, line 564] F32TOUI32 R0H,R0H ; [CPU_] 86 "C:\Users\admin\AppData\Local\Temp\0461610", ERROR! at line 671: [E5369] Due to FPU pipeline restriction, this instruction is illegal in the 5 delay slots of: [MOV32 R0H,ACC ; [CPU_] 101, line 667] F32TOUI32 R0H,R0H ; [CPU_] 101 2 Assembly Errors, No Assembly Warnings Errors in Source - Assembler Aborted >> Compilation failure gmake: * [c28x_sci_test_rev9.obj] Error 1 D:\Matlab\New_P7_SCItest\c28x_sci_test_rev9_ert_rtw\instrumented>echo The make command returned an error of 2 The make command returned an error of 2 D:\Matlab\New_P7_SCItest\c28x_sci_test_rev9_ert_rtw\instrumented>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 c28x_sci_test_rev9_codegen_rpt.html ### Build procedure for model: 'c28x_sci_test_rev9' aborted due to an error. Error(s) encountered while building "c28x_sci_test_rev9": ### Failed to generate all binary outputs.

Answers (0)

Asked:

on 12 Apr 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!