I am trying to generate PWM for F28335 with CCSV6 with simulink coder. C code is generated when I am trying to "Deploy to Hardware" an error occurred. The diagnostic report is attached.

1 view (last 30 days)
### Generating code into build folder: C:\Users\choi_student\Documents\MATLAB\Simu_F28335_ert_rtw ### Invoking Target Language Compiler on Simu_F28335.rtw ### Using System Target File: C:\Program Files\MATLAB\R2016a\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 Simu_F28335.h . ### Writing header file rtwtypes.h ### Writing source file Simu_F28335.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 v6.0.0 | gmake (64-bit Windows) ### Creating 'C:\Users\choi_student\Documents\MATLAB\Simu_F28335_ert_rtw\Simu_F28335.mk' ... ### Building 'Simu_F28335': C:\PROGRA~1\MATLAB\R2016a\bin\win64\gmake -B -f Simu_F28335.mk all
C:\Users\choi_student\Documents\MATLAB\Simu_F28335_ert_rtw>cd .
C:\Users\choi_student\Documents\MATLAB\Simu_F28335_ert_rtw>if "" == "" (C:\PROGRA~1\MATLAB\R2016a\bin\win64\gmake -B -f Simu_F28335.mk all ) else (C:\PROGRA~1\MATLAB\R2016a\bin\win64\gmake -B -f Simu_F28335.mk ) C:/ti/ccsv6/tools/compiler/TI-CGT~1.6/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.6/include" -v28 --float_support=fpu32 -ml -DMODEL=Simu_F28335 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=0 -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__ -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=0 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=512 -DMODEL=Simu_F28335 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/choi_student/Documents/MATLAB/Simu_F28335_ert_rtw -IC:/Users/choi_student/Documents/MATLAB -IC:/PROGRA~1/MATLAB/R2016a/extern/include -IC:/PROGRA~1/MATLAB/R2016a/simulink/include -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/ert -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2016a/toolbox/shared/can/src/scanutil -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~1/MATLAB/R2016a/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2016a/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.6/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.6/include" -v28 --float_support=fpu32 -ml -DMODEL=Simu_F28335 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=0 -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__ -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=0 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=512 -DMODEL=Simu_F28335 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/choi_student/Documents/MATLAB/Simu_F28335_ert_rtw -IC:/Users/choi_student/Documents/MATLAB -IC:/PROGRA~1/MATLAB/R2016a/extern/include -IC:/PROGRA~1/MATLAB/R2016a/simulink/include -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/ert -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2016a/toolbox/shared/can/src/scanutil -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~1/MATLAB/R2016a/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2016a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="MW_c28xx_csl.obj" "MW_c28xx_csl.c" C:/ti/ccsv6/tools/compiler/TI-CGT~1.6/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.6/include" -v28 --float_support=fpu32 -ml -DMODEL=Simu_F28335 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=0 -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__ -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=0 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=512 -DMODEL=Simu_F28335 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/choi_student/Documents/MATLAB/Simu_F28335_ert_rtw -IC:/Users/choi_student/Documents/MATLAB -IC:/PROGRA~1/MATLAB/R2016a/extern/include -IC:/PROGRA~1/MATLAB/R2016a/simulink/include -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/ert -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2016a/toolbox/shared/can/src/scanutil -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~1/MATLAB/R2016a/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2016a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="MW_c28xx_pwm.obj" "MW_c28xx_pwm.c" C:/ti/ccsv6/tools/compiler/TI-CGT~1.6/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.6/include" -v28 --float_support=fpu32 -ml -DMODEL=Simu_F28335 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=0 -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__ -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=0 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=512 -DMODEL=Simu_F28335 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/choi_student/Documents/MATLAB/Simu_F28335_ert_rtw -IC:/Users/choi_student/Documents/MATLAB -IC:/PROGRA~1/MATLAB/R2016a/extern/include -IC:/PROGRA~1/MATLAB/R2016a/simulink/include -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/ert -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2016a/toolbox/shared/can/src/scanutil -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~1/MATLAB/R2016a/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2016a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="Simu_F28335.obj" "Simu_F28335.c" C:/ti/ccsv6/tools/compiler/TI-CGT~1.6/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.6/include" -v28 --float_support=fpu32 -ml -DMODEL=Simu_F28335 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=0 -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__ -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=0 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=512 -DMODEL=Simu_F28335 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/choi_student/Documents/MATLAB/Simu_F28335_ert_rtw -IC:/Users/choi_student/Documents/MATLAB -IC:/PROGRA~1/MATLAB/R2016a/extern/include -IC:/PROGRA~1/MATLAB/R2016a/simulink/include -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/ert -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2016a/toolbox/shared/can/src/scanutil -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~1/MATLAB/R2016a/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2016a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="c2833xBoard_Realtime_Support.obj" "C:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/src/c2833xBoard_Realtime_Support.c" C:/ti/ccsv6/tools/compiler/TI-CGT~1.6/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.6/include" -v28 --float_support=fpu32 -ml -DMODEL=Simu_F28335 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=0 -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__ -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=0 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=512 -DMODEL=Simu_F28335 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/choi_student/Documents/MATLAB/Simu_F28335_ert_rtw -IC:/Users/choi_student/Documents/MATLAB -IC:/PROGRA~1/MATLAB/R2016a/extern/include -IC:/PROGRA~1/MATLAB/R2016a/simulink/include -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/ert -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2016a/toolbox/shared/can/src/scanutil -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~1/MATLAB/R2016a/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2016a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="DSP2833x_MemCopy.obj" "C:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/src/DSP2833x_MemCopy.c" C:/ti/ccsv6/tools/compiler/TI-CGT~1.6/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.6/include" -v28 --float_support=fpu32 -ml -DMODEL=Simu_F28335 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=0 -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__ -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=0 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=512 -DMODEL=Simu_F28335 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/choi_student/Documents/MATLAB/Simu_F28335_ert_rtw -IC:/Users/choi_student/Documents/MATLAB -IC:/PROGRA~1/MATLAB/R2016a/extern/include -IC:/PROGRA~1/MATLAB/R2016a/simulink/include -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/ert -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2016a/toolbox/shared/can/src/scanutil -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~1/MATLAB/R2016a/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2016a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="DSP2833x_CpuTimers.obj" "C:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/src/DSP2833x_CpuTimers.c" C:/ti/ccsv6/tools/compiler/TI-CGT~1.6/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.6/include" -v28 --float_support=fpu32 -ml -DMODEL=Simu_F28335 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=0 -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__ -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=0 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=512 -DMODEL=Simu_F28335 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/choi_student/Documents/MATLAB/Simu_F28335_ert_rtw -IC:/Users/choi_student/Documents/MATLAB -IC:/PROGRA~1/MATLAB/R2016a/extern/include -IC:/PROGRA~1/MATLAB/R2016a/simulink/include -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/ert -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2016a/toolbox/shared/can/src/scanutil -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~1/MATLAB/R2016a/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2016a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="DSP2833x_DefaultIsr.obj" "C:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/src/DSP2833x_DefaultIsr.c" C:/ti/ccsv6/tools/compiler/TI-CGT~1.6/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.6/include" -v28 --float_support=fpu32 -ml -DMODEL=Simu_F28335 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=0 -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__ -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=0 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=512 -DMODEL=Simu_F28335 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/choi_student/Documents/MATLAB/Simu_F28335_ert_rtw -IC:/Users/choi_student/Documents/MATLAB -IC:/PROGRA~1/MATLAB/R2016a/extern/include -IC:/PROGRA~1/MATLAB/R2016a/simulink/include -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/ert -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2016a/toolbox/shared/can/src/scanutil -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~1/MATLAB/R2016a/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2016a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="DSP2833x_GlobalVariableDefs.obj" "C:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/src/DSP2833x_GlobalVariableDefs.c" "C:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/src/DSP2833x_GlobalVariableDefs.c", line 356: error: declaration is incompatible with "volatile struct PIE_VECT_TABLE PieVectTable" (declared at line 254 of "C:\ti\ccsv6\tools\compiler\TI-CGT~1.6\include\DSP2833x_PieVect.h") 1 error detected in the compilation of "C:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/src/DSP2833x_GlobalVariableDefs.c".
>> Compilation failure gmake: * [DSP2833x_GlobalVariableDefs.obj] Error 1
C:\Users\choi_student\Documents\MATLAB\Simu_F28335_ert_rtw>echo The make command returned an error of 2 The make command returned an error of 2
C:\Users\choi_student\Documents\MATLAB\Simu_F28335_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 Simu_F28335_codegen_rpt.html ### Build procedure for model: 'Simu_F28335' aborted due to an error. Error(s) encountered while building "Simu_F28335": ### Failed to generate all binary outputs.

Answers (1)

Venkatesh Chilapur
Venkatesh Chilapur on 29 May 2018
Hi,
Run the 'targetupdater' and complete the hardware setup once. You could also provide the details of the path of tools that you specify during this setup.
Thanks,
Venkatesh C

Communities

More Answers in the  Power Electronics Control

Community Treasure Hunt

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

Start Hunting!