필터 지우기
필터 지우기

Error during codegeneration with C2000 target support package and TI LaunchPad

조회 수: 5 (최근 30일)
Karl-Martin
Karl-Martin 2015년 1월 30일
답변: 122333 2018년 4월 17일
Hi!
I´m getting errors during the codegeneration of examples of the C2000 Target Support Package (Motor Control with TI LaunchPad). Please find attached the diagnostic output. It seems that the error occurs during linking. Something is pointing to local user data and gets an error because of missing files. I cant find that file neither in net nor on disk. I´m getting the error with another example too.
Maybe someone can help? Thanks a lot!
----------------------------- ### Generating code into build folder: C:\TI_Test\c28027pmsmfoc_ert_ert_rtw ### Invoking Target Language Compiler on c28027pmsmfoc_ert.rtw ### Using System Target File: C:\Program Files\MATLAB\R2014b\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. ### Generating TLC interface API for custom data ### Initial pass through model to cache user defined code ### Caching model source code ### Writing source file c28027pmsmfoc_ert.c ### Writing header file c28027pmsmfoc_ert_private.h ### Writing header file c28027pmsmfoc_ert.h ### Writing header file DSP28xx_SciUtil.h ### Writing source file DSP28xx_SciUtil.c ### Writing header file c28027pmsmfoc_ert_types.h ### Writing header file rtwtypes.h ### Writing source file c28027pmsmfoc_ert_data.c ### Writing header file rtmodel.h ### Writing source file ert_main.c ### TLC code generation complete. ### Creating project marker file: rtw_proj.tmw .### Evaluating PostCodeGenCommand specified in the model ### Using toolchain: Texas Instruments C2000 Code Generation Tools v5.2.12 | gmake (64-bit Windows) ### Creating 'C:\TI_Test\c28027pmsmfoc_ert_ert_rtw\c28027pmsmfoc_ert.mk' ... ### Using toolchain: Texas Instruments C2000 Code Generation Tools v5.2.12 | gmake (64-bit Windows) ### Creating 'C:\TI_Test\c28027pmsmfoc_ert_ert_rtw\c28027pmsmfoc_ert.mk' ... ### Building 'c28027pmsmfoc_ert': C:\PROGRA~1\MATLAB\R2014b\bin\win64\gmake -B -f c28027pmsmfoc_ert.mk all C:\TI_Test\c28027pmsmfoc_ert_ert_rtw>cd .
C:\TI_Test\c28027pmsmfoc_ert_ert_rtw>if "" == "" (C:\PROGRA~1\MATLAB\R2014b\bin\win64\gmake -B -f c28027pmsmfoc_ert.mk all ) else (C:\PROGRA~1\MATLAB\R2014b\bin\win64\gmake -B -f c28027pmsmfoc_ert.mk ) C:/ti/ccsv5/tools/compiler/C2000_~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/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml -DMODEL=c28027pmsmfoc_ert -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=64 -DMODEL=c28027pmsmfoc_ert -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IC:/TI_Test/c28027pmsmfoc_ert_ert_rtw -IC:/TI_Test -IC:/PROGRA~1/MATLAB/R2014b/extern/include -IC:/PROGRA~1/MATLAB/R2014b/simulink/include -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/ert -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../src -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../inc -I/DSP2802x_common/include -I/DSP2802x_headers/include --output_file="MW_c28xx_board.obj" "C:/TI_Test/c28027pmsmfoc_ert_ert_rtw/MW_c28xx_board.c" C:/ti/ccsv5/tools/compiler/C2000_~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/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml -DMODEL=c28027pmsmfoc_ert -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=64 -DMODEL=c28027pmsmfoc_ert -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IC:/TI_Test/c28027pmsmfoc_ert_ert_rtw -IC:/TI_Test -IC:/PROGRA~1/MATLAB/R2014b/extern/include -IC:/PROGRA~1/MATLAB/R2014b/simulink/include -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/ert -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../src -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../inc -I/DSP2802x_common/include -I/DSP2802x_headers/include --output_file="DSP28xx_SciUtil.obj" "C:/TI_Test/c28027pmsmfoc_ert_ert_rtw/DSP28xx_SciUtil.c" C:/ti/ccsv5/tools/compiler/C2000_~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/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml -DMODEL=c28027pmsmfoc_ert -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=64 -DMODEL=c28027pmsmfoc_ert -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IC:/TI_Test/c28027pmsmfoc_ert_ert_rtw -IC:/TI_Test -IC:/PROGRA~1/MATLAB/R2014b/extern/include -IC:/PROGRA~1/MATLAB/R2014b/simulink/include -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/ert -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../src -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../inc -I/DSP2802x_common/include -I/DSP2802x_headers/include --output_file="MW_c28xx_adc.obj" "C:/TI_Test/c28027pmsmfoc_ert_ert_rtw/MW_c28xx_adc.c" C:/ti/ccsv5/tools/compiler/C2000_~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/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml -DMODEL=c28027pmsmfoc_ert -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=64 -DMODEL=c28027pmsmfoc_ert -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IC:/TI_Test/c28027pmsmfoc_ert_ert_rtw -IC:/TI_Test -IC:/PROGRA~1/MATLAB/R2014b/extern/include -IC:/PROGRA~1/MATLAB/R2014b/simulink/include -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/ert -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../src -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../inc -I/DSP2802x_common/include -I/DSP2802x_headers/include --output_file="MW_c28xx_csl.obj" "C:/TI_Test/c28027pmsmfoc_ert_ert_rtw/MW_c28xx_csl.c" C:/ti/ccsv5/tools/compiler/C2000_~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/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml -DMODEL=c28027pmsmfoc_ert -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=64 -DMODEL=c28027pmsmfoc_ert -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IC:/TI_Test/c28027pmsmfoc_ert_ert_rtw -IC:/TI_Test -IC:/PROGRA~1/MATLAB/R2014b/extern/include -IC:/PROGRA~1/MATLAB/R2014b/simulink/include -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/ert -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../src -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../inc -I/DSP2802x_common/include -I/DSP2802x_headers/include --output_file="MW_c28xx_pwm.obj" "C:/TI_Test/c28027pmsmfoc_ert_ert_rtw/MW_c28xx_pwm.c" C:/ti/ccsv5/tools/compiler/C2000_~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/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml -DMODEL=c28027pmsmfoc_ert -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=64 -DMODEL=c28027pmsmfoc_ert -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IC:/TI_Test/c28027pmsmfoc_ert_ert_rtw -IC:/TI_Test -IC:/PROGRA~1/MATLAB/R2014b/extern/include -IC:/PROGRA~1/MATLAB/R2014b/simulink/include -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/ert -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../src -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../inc -I/DSP2802x_common/include -I/DSP2802x_headers/include --output_file="c28027pmsmfoc_ert.obj" "C:/TI_Test/c28027pmsmfoc_ert_ert_rtw/c28027pmsmfoc_ert.c" C:/ti/ccsv5/tools/compiler/C2000_~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/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml -DMODEL=c28027pmsmfoc_ert -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=64 -DMODEL=c28027pmsmfoc_ert -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IC:/TI_Test/c28027pmsmfoc_ert_ert_rtw -IC:/TI_Test -IC:/PROGRA~1/MATLAB/R2014b/extern/include -IC:/PROGRA~1/MATLAB/R2014b/simulink/include -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/ert -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../src -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../inc -I/DSP2802x_common/include -I/DSP2802x_headers/include --output_file="c28027pmsmfoc_ert_data.obj" "C:/TI_Test/c28027pmsmfoc_ert_ert_rtw/c28027pmsmfoc_ert_data.c" C:/ti/ccsv5/tools/compiler/C2000_~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/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml -DMODEL=c28027pmsmfoc_ert -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=64 -DMODEL=c28027pmsmfoc_ert -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IC:/TI_Test/c28027pmsmfoc_ert_ert_rtw -IC:/TI_Test -IC:/PROGRA~1/MATLAB/R2014b/extern/include -IC:/PROGRA~1/MATLAB/R2014b/simulink/include -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/ert -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../src -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../inc -I/DSP2802x_common/include -I/DSP2802x_headers/include --output_file="c2802xBoard_Realtime_Support.obj" "C:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../src/c2802xBoard_Realtime_Support.c" C:/ti/ccsv5/tools/compiler/C2000_~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/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml -DMODEL=c28027pmsmfoc_ert -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=64 -DMODEL=c28027pmsmfoc_ert -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IC:/TI_Test/c28027pmsmfoc_ert_ert_rtw -IC:/TI_Test -IC:/PROGRA~1/MATLAB/R2014b/extern/include -IC:/PROGRA~1/MATLAB/R2014b/simulink/include -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/ert -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../src -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../inc -I/DSP2802x_common/include -I/DSP2802x_headers/include --output_file="c2802xSchedulerTimer0.obj" "C:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../src/c2802xSchedulerTimer0.c" C:/ti/ccsv5/tools/compiler/C2000_~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/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml -DMODEL=c28027pmsmfoc_ert -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=64 -DMODEL=c28027pmsmfoc_ert -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IC:/TI_Test/c28027pmsmfoc_ert_ert_rtw -IC:/TI_Test -IC:/PROGRA~1/MATLAB/R2014b/extern/include -IC:/PROGRA~1/MATLAB/R2014b/simulink/include -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/ert -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../src -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../inc -I/DSP2802x_common/include -I/DSP2802x_headers/include --output_file="ert_main.obj" "C:/TI_Test/c28027pmsmfoc_ert_ert_rtw/ert_main.c" "### Creating standalone executable "../c28027pmsmfoc_ert.out" ..." C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 -z -IC:/ti/ccsv5/tools/compiler/C2000_~1.0/lib --stack_size=64 --warn_sections --reread_libs --rom_model -m"c28027pmsmfoc_ert.map" -l"rts2800_ml.lib" --define BOOT_FROM_FLASH=1 --output_file=../c28027pmsmfoc_ert.out MW_c28xx_board.obj DSP28xx_SciUtil.obj MW_c28xx_adc.obj MW_c28xx_csl.obj MW_c28xx_pwm.obj c28027pmsmfoc_ert.obj c28027pmsmfoc_ert_data.obj c2802xBoard_Realtime_Support.obj DSP2802x_CpuTimers.obj DSP2802x_DefaultIsr.obj DSP2802x_GlobalVariableDefs.obj DSP2802x_PieCtrl.obj DSP2802x_PieVect.obj DSP2802x_SysCtrl.obj DSP2802x_usDelay.obj DSP2802x_CodeStartBranch.obj DSP2802x_Adc.obj c2802xSchedulerTimer0.obj ert_main.obj C:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/src/c28027_flash.cmd C:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/rtlib/IQmath.lib C:/PROGRA~1/MATLAB/R2014b/toolbox/idelink/extensions/ticcs/c2000/c2802xPeripherals.cmd Linking "C:\\Users\\UserID\\AppData\\Local\\Temp\\217043", line 20: error: cannot find file "DSP2802x_CpuTimers.obj" "C:\\Users\\UserID\\AppData\\Local\\Temp\\217043", line 21: error: cannot find file "DSP2802x_DefaultIsr.obj" "C:\\Users\\UserID\\AppData\\Local\\Temp\\217043", line 22: error: cannot find file "DSP2802x_GlobalVariableDefs.obj" "C:\\Users\\UserID\\AppData\\Local\\Temp\\217043", line 23: error: cannot find file "DSP2802x_PieCtrl.obj" "C:\\Users\\UserID\\AppData\\Local\\Temp\\217043", line 24: error: cannot find file "DSP2802x_PieVect.obj" "C:\\Users\\UserID\\AppData\\Local\\Temp\\217043", line 25: error: cannot find file "DSP2802x_SysCtrl.obj" "C:\\Users\\UserID\\AppData\\Local\\Temp\\217043", line 26: error: cannot find file "DSP2802x_usDelay.obj" "C:\\Users\\UserID\\AppData\\Local\\Temp\\217043", line 27: error: cannot find file "DSP2802x_CodeStartBranch.obj" "C:\\Users\\UserID\\AppData\\Local\\Temp\\217043", line 28: error: cannot find file "DSP2802x_Adc.obj" warning: build attribute vendor section TI missing in "C:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/suppo rtpackages/tic2000/rtlib/IQmath.lib<IQ17atan2PU.obj>": compatibility cannot be determined warning: build attribute vendor section TI missing in "C:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/suppo rtpackages/tic2000/rtlib/IQmath.lib<IQ17cosPU.obj>": compatibility cannot be determined warning: build attribute vendor section TI missing in "C:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/suppo rtpackages/tic2000/rtlib/IQmath.lib<IQ17sinPU.obj>": compatibility cannot be determined warning: build attribute vendor section TI missing in "C:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/suppo rtpackages/tic2000/rtlib/IQmath.lib<IQmathTables.obj>": compatibility cannot be determined
undefined first referenced
symbol in file
--------- ----------------
_AdcRegs MW_c28xx_adc.obj
_AdcResult c28027pmsmfoc_ert.obj
_ConfigCpuTimer c2802xSchedulerTimer0.obj
_CpuTimer0 c2802xSchedulerTimer0.obj
_CpuTimer0Regs c2802xSchedulerTimer0.obj
_DisableDog MW_c28xx_board.obj
_EPwm1Regs c28027pmsmfoc_ert.obj
_EPwm2Regs c28027pmsmfoc_ert.obj
_EPwm3Regs c28027pmsmfoc_ert.obj
_GpioCtrlRegs MW_c28xx_board.obj
_GpioDataRegs c28027pmsmfoc_ert.obj
_InitAdc c28027pmsmfoc_ert.obj
_InitCpuTimers MW_c28xx_board.obj
_InitFlash c2802xBoard_Realtime_Support.obj
_InitPeripheralClocks MW_c28xx_board.obj
_InitPieCtrl MW_c28xx_board.obj
_InitPieVectTable MW_c28xx_board.obj
_InitPll MW_c28xx_board.obj
_IntOsc1Sel MW_c28xx_board.obj
_PieCtrlRegs MW_c28xx_csl.obj
_PieVectTable MW_c28xx_csl.obj
_SciaRegs DSP28xx_SciUtil.obj
_SysCtrlRegs MW_c28xx_board.obj
error: unresolved symbols remain error: errors encountered during linking; "../c28027pmsmfoc_ert.out" not built
>> Compilation failure gmake: * [../c28027pmsmfoc_ert.out] Error 1
C:\TI_Test\c28027pmsmfoc_ert_ert_rtw>echo The make command returned an error of 2 The make command returned an error of 2
C:\TI_Test\c28027pmsmfoc_ert_ert_rtw>An_error_occurred_during_the_call_to_make Der Befehl "An_error_occurred_during_the_call_to_make" ist entweder falsch geschrieben oder konnte nicht gefunden werden.

답변 (2개)

Venkatachala Sarma
Venkatachala Sarma 2016년 6월 3일
This could happen if the configurations done in xmakefilesetup is not proper. Please go through the following documentation to check if you have followed it correctly.
Quick Steps:
1. Execute the following command in the MATLAB Command Window >> xmakefilesetup The XMakefile User Configuration window will appear
2. Uncheck 'Display operational configurations only'
3. In the Configuration drop down, select ticcs_c2000_ccsv5
4. Click New... and create a clone.
5. Now you will get fields mention paths to your compiler, linker and such. Although you can change them to your customer tools, please note that it works by default as well.
Please let me know if this helped.

122333
122333 2018년 4월 17일
yeah

Community Treasure Hunt

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

Start Hunting!

Translated by