F28035 control stick. CLA error- Compilation failure gmake: *** [cla_task.obj] Error 1

8 Ansichten (letzte 30 Tage)
Hi, I generated PWM using IQ math blocks, but wanted to do the same with CLA using Floating point calculations. But i always get these error. Thanks in Advance, Arun Ashok. --------------------------------
### Generating code into build folder: T:\Institut\1050_QVM_40.29_EA_alle\Exchange\Project_TI_EvalBoard\Group1\FINAL_ADC_PWM_float_ert_rtw Unable to determine a fixed step size based on the sample times in the model 'FINAL_ADC_PWM_float', because the model does not have any discrete sample times. Picking a fixed step size of (0.2) based on simulation start and stop times. You can disable this diagnostic by explicitly specifying a fixed step size in the Solver pane of the Configuration Parameters dialog box, or setting the 'Automatic solver parameter selection' diagnostic to 'none' in the Solver group on the Diagnostics pane of the Configuration Parameters dialog box. Component:Simulink | Category:Block diagramwarning ### Invoking Target Language Compiler on FINAL_ADC_PWM_float.rtw ### Using System Target File: C:\Program Files\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. . ### Generating TLC interface API for custom data ### Initial pass through model to cache user defined code ### Caching model source code ### Writing header file FINAL_ADC_PWM_float.h . ### Writing header file FINAL_ADC_PWM_float_types.h ### Writing header file FINAL_ADC_PWM_float_private.h ### Writing header file rtwtypes.h ### Writing source file FINAL_ADC_PWM_float.c ### Writing header file cla_header.h . ### Writing source file FINAL_ADC_PWM_float_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 v6.0.0 | gmake (64-bit Windows) ### 'T:\Institut\1050_QVM_40.29_EA_alle\Exchange\Project_TI_EvalBoard\Group1\FINAL_ADC_PWM_float_ert_rtw\FINAL_ADC_PWM_float.mk' is up to date ### Building 'FINAL_ADC_PWM_float': C:\PROGRA~1\matlab\R2016b\bin\win64\gmake -B -f FINAL_ADC_PWM_float.mk all
T:\Institut\1050_QVM_40.29_EA_alle\Exchange\Project_TI_EvalBoard\Group1\FINAL_ADC_PWM_float_ert_rtw>cd .
T:\Institut\1050_QVM_40.29_EA_alle\Exchange\Project_TI_EvalBoard\Group1\FINAL_ADC_PWM_float_ert_rtw>if "" == "" (C:\PROGRA~1\matlab\R2016b\bin\win64\gmake -B -f FINAL_ADC_PWM_float.mk all ) else (C:\PROGRA~1\matlab\R2016b\bin\win64\gmake -B -f FINAL_ADC_PWM_float.mk ) C:/ti/ccsv6/tools/compiler/TI-CGT~1.6/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/ccsv6/tools/compiler/TI-CGT~1.6/include" -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DMODEL=FINAL_ADC_PWM_float -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 -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=FINAL_ADC_PWM_float -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IT:/Institut/1050_QVM_40.29_EA_alle/Exchange/Project_TI_EvalBoard/Group1/FINAL_ADC_PWM_float_ert_rtw -IT:/Institut/1050_QVM_40.29_EA_alle/Exchange/Project_TI_EvalBoard/Group1 -IC:/PROGRA~1/matlab/R2016b/extern/include -IC:/PROGRA~1/matlab/R2016b/simulink/include -IC:/PROGRA~1/matlab/R2016b/rtw/c/src -IC:/PROGRA~1/matlab/R2016b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/matlab/R2016b/rtw/c/ert -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~1/matlab/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/matlab/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/inc -IC:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_common/include -IC:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_headers/include -IC:/PROGRA~1/matlab/R2016b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/blocks/lct/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --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 --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" -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DMODEL=FINAL_ADC_PWM_float -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 -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=FINAL_ADC_PWM_float -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IT:/Institut/1050_QVM_40.29_EA_alle/Exchange/Project_TI_EvalBoard/Group1/FINAL_ADC_PWM_float_ert_rtw -IT:/Institut/1050_QVM_40.29_EA_alle/Exchange/Project_TI_EvalBoard/Group1 -IC:/PROGRA~1/matlab/R2016b/extern/include -IC:/PROGRA~1/matlab/R2016b/simulink/include -IC:/PROGRA~1/matlab/R2016b/rtw/c/src -IC:/PROGRA~1/matlab/R2016b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/matlab/R2016b/rtw/c/ert -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~1/matlab/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/matlab/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/inc -IC:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_common/include -IC:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_headers/include -IC:/PROGRA~1/matlab/R2016b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/blocks/lct/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --output_file="FINAL_ADC_PWM_float.obj" "FINAL_ADC_PWM_float.c" C:/ti/ccsv6/tools/compiler/TI-CGT~1.6/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/ccsv6/tools/compiler/TI-CGT~1.6/include" -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DMODEL=FINAL_ADC_PWM_float -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 -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=FINAL_ADC_PWM_float -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IT:/Institut/1050_QVM_40.29_EA_alle/Exchange/Project_TI_EvalBoard/Group1/FINAL_ADC_PWM_float_ert_rtw -IT:/Institut/1050_QVM_40.29_EA_alle/Exchange/Project_TI_EvalBoard/Group1 -IC:/PROGRA~1/matlab/R2016b/extern/include -IC:/PROGRA~1/matlab/R2016b/simulink/include -IC:/PROGRA~1/matlab/R2016b/rtw/c/src -IC:/PROGRA~1/matlab/R2016b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/matlab/R2016b/rtw/c/ert -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~1/matlab/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/matlab/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/inc -IC:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_common/include -IC:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_headers/include -IC:/PROGRA~1/matlab/R2016b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/blocks/lct/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --output_file="FINAL_ADC_PWM_float_data.obj" "FINAL_ADC_PWM_float_data.c" C:/ti/ccsv6/tools/compiler/TI-CGT~1.6/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/ccsv6/tools/compiler/TI-CGT~1.6/include" -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DMODEL=FINAL_ADC_PWM_float -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 -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=FINAL_ADC_PWM_float -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IT:/Institut/1050_QVM_40.29_EA_alle/Exchange/Project_TI_EvalBoard/Group1/FINAL_ADC_PWM_float_ert_rtw -IT:/Institut/1050_QVM_40.29_EA_alle/Exchange/Project_TI_EvalBoard/Group1 -IC:/PROGRA~1/matlab/R2016b/extern/include -IC:/PROGRA~1/matlab/R2016b/simulink/include -IC:/PROGRA~1/matlab/R2016b/rtw/c/src -IC:/PROGRA~1/matlab/R2016b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/matlab/R2016b/rtw/c/ert -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~1/matlab/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/matlab/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/inc -IC:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_common/include -IC:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_headers/include -IC:/PROGRA~1/matlab/R2016b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/blocks/lct/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --output_file="MW_c28xx_adc.obj" "MW_c28xx_adc.c" C:/ti/ccsv6/tools/compiler/TI-CGT~1.6/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/ccsv6/tools/compiler/TI-CGT~1.6/include" -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DMODEL=FINAL_ADC_PWM_float -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 -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=FINAL_ADC_PWM_float -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IT:/Institut/1050_QVM_40.29_EA_alle/Exchange/Project_TI_EvalBoard/Group1/FINAL_ADC_PWM_float_ert_rtw -IT:/Institut/1050_QVM_40.29_EA_alle/Exchange/Project_TI_EvalBoard/Group1 -IC:/PROGRA~1/matlab/R2016b/extern/include -IC:/PROGRA~1/matlab/R2016b/simulink/include -IC:/PROGRA~1/matlab/R2016b/rtw/c/src -IC:/PROGRA~1/matlab/R2016b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/matlab/R2016b/rtw/c/ert -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~1/matlab/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/matlab/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/inc -IC:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_common/include -IC:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_headers/include -IC:/PROGRA~1/matlab/R2016b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/blocks/lct/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --output_file="MW_c28xx_can.obj" "MW_c28xx_can.c" C:/ti/ccsv6/tools/compiler/TI-CGT~1.6/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/ccsv6/tools/compiler/TI-CGT~1.6/include" -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DMODEL=FINAL_ADC_PWM_float -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 -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=FINAL_ADC_PWM_float -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IT:/Institut/1050_QVM_40.29_EA_alle/Exchange/Project_TI_EvalBoard/Group1/FINAL_ADC_PWM_float_ert_rtw -IT:/Institut/1050_QVM_40.29_EA_alle/Exchange/Project_TI_EvalBoard/Group1 -IC:/PROGRA~1/matlab/R2016b/extern/include -IC:/PROGRA~1/matlab/R2016b/simulink/include -IC:/PROGRA~1/matlab/R2016b/rtw/c/src -IC:/PROGRA~1/matlab/R2016b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/matlab/R2016b/rtw/c/ert -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~1/matlab/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/matlab/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/inc -IC:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_common/include -IC:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_headers/include -IC:/PROGRA~1/matlab/R2016b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/blocks/lct/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --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 --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" -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DMODEL=FINAL_ADC_PWM_float -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 -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=FINAL_ADC_PWM_float -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IT:/Institut/1050_QVM_40.29_EA_alle/Exchange/Project_TI_EvalBoard/Group1/FINAL_ADC_PWM_float_ert_rtw -IT:/Institut/1050_QVM_40.29_EA_alle/Exchange/Project_TI_EvalBoard/Group1 -IC:/PROGRA~1/matlab/R2016b/extern/include -IC:/PROGRA~1/matlab/R2016b/simulink/include -IC:/PROGRA~1/matlab/R2016b/rtw/c/src -IC:/PROGRA~1/matlab/R2016b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/matlab/R2016b/rtw/c/ert -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~1/matlab/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/matlab/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/inc -IC:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_common/include -IC:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_headers/include -IC:/PROGRA~1/matlab/R2016b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/blocks/lct/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --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 --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" -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DMODEL=FINAL_ADC_PWM_float -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 -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=FINAL_ADC_PWM_float -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IT:/Institut/1050_QVM_40.29_EA_alle/Exchange/Project_TI_EvalBoard/Group1/FINAL_ADC_PWM_float_ert_rtw -IT:/Institut/1050_QVM_40.29_EA_alle/Exchange/Project_TI_EvalBoard/Group1 -IC:/PROGRA~1/matlab/R2016b/extern/include -IC:/PROGRA~1/matlab/R2016b/simulink/include -IC:/PROGRA~1/matlab/R2016b/rtw/c/src -IC:/PROGRA~1/matlab/R2016b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/matlab/R2016b/rtw/c/ert -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~1/matlab/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/matlab/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/inc -IC:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_common/include -IC:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_headers/include -IC:/PROGRA~1/matlab/R2016b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/blocks/lct/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --output_file="can_datatype_ground.obj" "can_datatype_ground.c" C:/ti/ccsv6/tools/compiler/TI-CGT~1.6/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/ccsv6/tools/compiler/TI-CGT~1.6/include" -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DMODEL=FINAL_ADC_PWM_float -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 -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=FINAL_ADC_PWM_float -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IT:/Institut/1050_QVM_40.29_EA_alle/Exchange/Project_TI_EvalBoard/Group1/FINAL_ADC_PWM_float_ert_rtw -IT:/Institut/1050_QVM_40.29_EA_alle/Exchange/Project_TI_EvalBoard/Group1 -IC:/PROGRA~1/matlab/R2016b/extern/include -IC:/PROGRA~1/matlab/R2016b/simulink/include -IC:/PROGRA~1/matlab/R2016b/rtw/c/src -IC:/PROGRA~1/matlab/R2016b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/matlab/R2016b/rtw/c/ert -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~1/matlab/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/matlab/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/inc -IC:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_common/include -IC:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_headers/include -IC:/PROGRA~1/matlab/R2016b/toolbox/shared/can/src/scanutil -
IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/blocks/lct/include - * *IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00~1/include --output_file="cla_task.obj" "cla_task.cla" "cla_task.cla", line 29: error: identifier "FINAL_ADC_PWM_float_B" is undefined 1 error detected in the compilation of "cla_task.cla". >> Compilation failure gmake: * [cla_task.obj] Error 1 T:\Institut\1050_QVM_40.29_EA_alle\Exchange\Project_TI_EvalBoard\Group1\FINAL_ADC_PWM_float_ert_rtw>echo The make command returned an error of 2 The make command returned an error of 2 T:\Institut\1050_QVM_40.29_EA_alle\Exchange\Project_TI_EvalBoard\Group1\FINAL_ADC_PWM_float_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. ### Creating HTML report file FINAL_ADC_PWM_float_codegen_rpt.html ### Build procedure for model: 'FINAL_ADC_PWM_float' aborted due to an error. Error(s) encountered while building "FINAL_ADC_PWM_float": ### Failed to generate all binary outputs.

Akzeptierte Antwort

Venkatesh Chilapur
Venkatesh Chilapur am 3 Apr. 2017
Hi,
If you can contact the Mathworks Tech Support and share the model in which you are seeing the error would be helpful. In the mean time, based on the error, it looks to be the case of one of the limitation that we have when using CLA block of being not able to work with Global Variables. For more information refer:
https://in.mathworks.com/help/supportpkg/texasinstrumentsc2000/examples/using-the-control-law-accelerator-cla.html
You can also try making changes as described in section: "Select Inline Code Generation for CLA Subsystem" under the tutorial as provided in above link.
Regards, Venkatesh C

Weitere Antworten (1)

Arun Ashok
Arun Ashok am 7 Apr. 2017
Bearbeitet: Arun Ashok am 7 Apr. 2017
Thanks Venkatesh for the suggestions,
I send the problem to MATLAB tech support and I share the solution of my problem here:
"Our specialist found out:
This problem occurred due to the configuration settings w.r.t code generation and how the block outputs would be stored. Since the user has a divide block inside the CLA subsystem, the code generation created a global structure to accommodate the block signals. As noted earlier, CLA communicates to host CPU through dedicated memory region.
Hence any variable(global scope) not mapped to this memory region is out of scope for CLA to access. This problem can be easily solved by instructing the code generation through the configuration parameter to restrict the block signal scope to local.
In this way, we can have the CLA block refer to only those variables that are mapped to the special memory region between CLA and Host. Thus block signals get mapped to these variables which are accessible to CLA and NOT to intermediate Global variables which are not accessible by CLA.
The optimization that needs to be done is:
Under configuration panel -> All Parameters -> Select Optimization (under category) -> Select "Signal Storage reuse" -> Select "Enable local block outputs".
Regards,
Arun Ashok
  1 Kommentar
Arun Ashok
Arun Ashok am 20 Apr. 2017
Is there a limit on the number of operations you can perform in a CLA subsystem? For example is it possible to implement the whole logic to generate a 3 phase waveform which contains 4 multiplications, 3 addition, 1 or 2 trigonometric conversions, 1 division, and a few logical operations, which are to be executed at each step. Even after following the procedures as above I am still getting error stating one or two variables are undefined(same as the error I got in the beginning). Any ideas?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Graphics Performance finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by