CLA Compiler Errors Using Embedded Coder for Texas Instruments C2000 Processors

5 Ansichten (letzte 30 Tage)
Hi,
I am using a CLA task trigger block from C28x generic blocks package for Embedded Coder. While compiling the project I end up with DWork variables in the .cla file which leads to compiler errors. I have made sure that inputs to CLA block have storage class "CpuToCla1MsgRam" and the outputs have storage class "Cla1ToCPUMsgRam", discrete delay block state variables have storage class "Cla1DataRam". When looking closer at the code I see DWork variables for switch case blocks.
I have read the following guide and taken care of all the limitations highlighted:
I have also attached a stripped down demo model (gatedrv_cla) to highlight the undesired behavior and following shows compilation errors during build:
### Using toolchain: Texas Instruments C2000 Code Generation Tools v16.9.2 | gmake (64-bit Windows)
### 'C:\Users\engineer\Documents\workspace\gen2_2827\src\simulink\gatedrv_cla_ert_rtw\gatedrv_cla.mk' is up to date
### Building 'gatedrv_cla': "C:\PROGRA~1\MATLAB\R2018b\bin\win64\gmake" -B -f gatedrv_cla.mk all
C:\Users\engineer\Documents\workspace\gen2_2827\src\simulink\gatedrv_cla_ert_rtw>cd .
C:\Users\engineer\Documents\workspace\gen2_2827\src\simulink\gatedrv_cla_ert_rtw>if "" == "" ("C:\PROGRA~1\MATLAB\R2018b\bin\win64\gmake" -B -f gatedrv_cla.mk all ) else ("C:\PROGRA~1\MATLAB\R2018b\bin\win64\gmake" -B -f gatedrv_cla.mk )
C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink/gatedrv_cla_ert_rtw -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/MATLAB/R2018b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~4/include -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/blocks/lct/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/shared/EXTERN~1/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --output_file=MW_c28xx_board.obj MW_c28xx_board.c
C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink/gatedrv_cla_ert_rtw -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/MATLAB/R2018b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~4/include -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/blocks/lct/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/shared/EXTERN~1/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --output_file=MW_c28xx_csl.obj MW_c28xx_csl.c
C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink/gatedrv_cla_ert_rtw -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/MATLAB/R2018b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~4/include -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/blocks/lct/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/shared/EXTERN~1/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --output_file=gatedrv_cla.obj gatedrv_cla.c
C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink/gatedrv_cla_ert_rtw -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/MATLAB/R2018b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~4/include -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/blocks/lct/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/shared/EXTERN~1/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --output_file=c2803xBoard_Realtime_Support.obj C:/ProgramData/MATLAB/SupportPackages/R2018b/toolbox/target/supportpackages/tic2000/src/c2803xBoard_Realtime_Support.c
C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink/gatedrv_cla_ert_rtw -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/MATLAB/R2018b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~4/include -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/blocks/lct/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/shared/EXTERN~1/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --output_file=DSP2803x_CpuTimers.obj C:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_common/source/DSP2803x_CpuTimers.c
C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink/gatedrv_cla_ert_rtw -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/MATLAB/R2018b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~4/include -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/blocks/lct/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/shared/EXTERN~1/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --output_file=DSP2803x_DefaultIsr.obj C:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_common/source/DSP2803x_DefaultIsr.c
C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink/gatedrv_cla_ert_rtw -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/MATLAB/R2018b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~4/include -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/blocks/lct/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/shared/EXTERN~1/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --output_file=DSP2803x_GlobalVariableDefs.obj C:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c
C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink/gatedrv_cla_ert_rtw -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/MATLAB/R2018b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~4/include -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/blocks/lct/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/shared/EXTERN~1/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --output_file=DSP2803x_PieCtrl.obj C:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_common/source/DSP2803x_PieCtrl.c
C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink/gatedrv_cla_ert_rtw -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/MATLAB/R2018b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~4/include -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/blocks/lct/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/shared/EXTERN~1/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --output_file=DSP2803x_PieVect.obj C:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_common/source/DSP2803x_PieVect.c
C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink/gatedrv_cla_ert_rtw -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/MATLAB/R2018b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~4/include -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/blocks/lct/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/shared/EXTERN~1/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --output_file=DSP2803x_SysCtrl.obj C:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_common/source/DSP2803x_SysCtrl.c
C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000 -s -v28 -ml --output_file=DSP2803x_usDelay.obj C:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_common/source/DSP2803x_usDelay.asm
C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000 -s -v28 -ml --output_file=DSP2803x_CodeStartBranch.obj C:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_common/source/DSP2803x_CodeStartBranch.asm
C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink/gatedrv_cla_ert_rtw -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/MATLAB/R2018b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~4/include -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/blocks/lct/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/shared/EXTERN~1/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --output_file=DSP2803x_Adc.obj C:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_common/source/DSP2803x_Adc.c
C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink/gatedrv_cla_ert_rtw -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/MATLAB/R2018b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~4/include -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/blocks/lct/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/shared/EXTERN~1/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --output_file=DSP2803x_Lin.obj C:/ti/controlSUITE/device_support/f2803x/v130/DSP2803x_common/source/DSP2803x_Lin.c
C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink/gatedrv_cla_ert_rtw -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/MATLAB/R2018b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~4/include -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/blocks/lct/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/shared/EXTERN~1/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --output_file=profiler_Support.obj C:/ProgramData/MATLAB/SupportPackages/R2018b/toolbox/target/supportpackages/tic2000/src/profiler_Support.c
C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink/gatedrv_cla_ert_rtw -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/MATLAB/R2018b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~4/include -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/blocks/lct/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/shared/EXTERN~1/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --output_file=c2803xSchedulerTimer0.obj C:/ProgramData/MATLAB/SupportPackages/R2018b/toolbox/target/supportpackages/tic2000/src/c2803xSchedulerTimer0.c
C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla0 -v28 -ml -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DF28035 -DBOOT_FROM_FLASH=1 -DMODEL=gatedrv_cla -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink -IC:/Users/engineer/Documents/workspace/gen2_2827/src/simulink/gatedrv_cla_ert_rtw -IC:/PROGRA~1/MATLAB/R2018b/extern/include -IC:/PROGRA~1/MATLAB/R2018b/simulink/include -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2018b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/MATLAB/R2018b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2803x/v130/DSP280~4/include -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/blocks/lct/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/shared/EXTERN~1/include -IC:/ti/CONTRO~1/libs/math/CLAmath/V4_00_~1/include --output_file=cla_task.obj cla_task.cla
"cla_task.cla", line 19: error: identifier "gatedrv_cla_DWork" is undefined
1 error detected in the compilation of "cla_task.cla".
>> Compilation failure
gmake: *** [cla_task.obj] Error 1
C:\Users\engineer\Documents\workspace\gen2_2827\src\simulink\gatedrv_cla_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
C:\Users\engineer\Documents\workspace\gen2_2827\src\simulink\gatedrv_cla_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 gatedrv_cla_codegen_rpt.html
### Build procedure for model: 'gatedrv_cla' aborted due to an error.
Error using coder.make.Builder/coder_diagnose
Error(s) encountered while building "gatedrv_cla":
### Failed to generate all binary outputs.
  1 Kommentar
Grant Pitel
Grant Pitel am 8 Apr. 2021
I have tried swapping Switch Case block with and If...Else, issue still remains.
@Venkatesh Chilapur I have read your multiple posts regarding issues with C2000 CLA code generation. Would you mind taking a look at this one, I am running out of options here, any help would be much appreciated!

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Venkatesh Chilapur
Venkatesh Chilapur am 9 Apr. 2021
Hi Grant,
We used your model and made couple of changes.
  1. Change from Switch to If-else
  2. Unit delay and Memory block at: gatedrv_cla_18b_building/gatedrv/FunctionGen/cla_subsystem/If Action Subsystem are mapped to storage class "Cla1DataRam".
Attached is the model that is building.
Do make these couple of changes and see if it works.
Regards,
Venkatesh C
  4 Kommentare
Grant Pitel
Grant Pitel am 12 Apr. 2021
Bearbeitet: Grant Pitel am 12 Apr. 2021
Hi Venkatesh,
I was able to use Data Store Memory block to save the conditional case action, compare witrh previous action and emulate the "reset" behaviour. It is really unfortunate that discrete states do not work in any kind of conditonal decision making blocks with "reset" action. This rings an alarming bell for us - as we might have to hand-code the CLA part of the application- which completely defeats the purpose of using Embedded Coder in the first place.
It is also shocking to see that this hasn't been reported earlier - a very common use case. I went throught the complete Bug Report list for R2018b but couldn't find anything related to this.
Can you please forward the Bug ID if available for the above mentioned problem, so that I can follow if ther's any progress.
I have also created a service request with all of the above information.
Venkatesh Chilapur
Venkatesh Chilapur am 14 Apr. 2021
Bearbeitet: Venkatesh Chilapur am 14 Apr. 2021
Hi Grant,
Sorry, we normally do not publish bug reports for hardware support packages.
You can always refer to the release notes for any updates.
Please be assured that support for if-else from CLA will be available in a future release.
I have also created a ticket to development to support switch block.
Also contacting our support channel would help such queries get properly channelized and can help the right people become aware of the user pain points. So in a future time also consider reaching out to our support.
HTH,
Regards,
Venkatesh C

Melden Sie sich an, um zu kommentieren.

Tags

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by