Part Number: TMS320F28069M
Other Parts Discussed in Thread: TI-CGT
I am using Simulink. where I get error as
Generating code into build folder: F:\ashwinee jadhao\DETECT_UNDOCK\undock_detection_intr_ert_rtw
While running External Mode simulations, non-preemptable interrupts can cause External Mode failures. External mode is using serial receive interrupts to get data from the host. When there are non-preemptable interrupts selected in the HW Interrupt block, there is a chance of missing data from the host which will results in External Mode failures. Avoid using non-preemptable interrupts while running External Mode simulations or make sure that their execution time can't cause the SCI FIFO to overflow.
### Invoking Target Language Compiler on undock_detection_intr.rtw ### Using System Target File: C:\Program Files\MATLAB\R2018b\rtw\c\ert\ert.tlc ### Loading TLC function libraries ...... ### Initial pass through model to cache user defined code . ### Caching model source code ....................................... ### Writing header file undock_detection_intr_types.h . ### Writing header file undock_detection_intr.h ### Writing source file undock_detection_intr.c ### Writing header file rtwtypes.h ### Writing header file multiword_types.h ### Writing header file undock_detection_intr_private.h . ### Writing source file undock_detection_intr_data.c ### Writing header file rtmodel.h ### Writing source file ert_main.c ### TLC code generation complete. ### Generating TLC interface API. .. ### Creating data type transition file undock_detection_intr_dt.h ### Evaluating PostCodeGenCommand specified in the model
Code Composer Studio Project
1Elapsed: 0.472 sec
### Creating CCS Project at : F:\ashwinee jadhao\DETECT_UNDOCK\undock_detection_intr_ert_rtw\CCS_Project ### CCS project created successfully Open project in Code Composer Studio.
### Using toolchain: Texas Instruments C2000 Code Generation Tools v16.9.2 | gmake (64-bit Windows) ### Creating 'F:\ashwinee jadhao\DETECT_UNDOCK\undock_detection_intr_ert_rtw\undock_detection_intr.mk' ... ### Building 'undock_detection_intr': "C:\PROGRA~1\MATLAB\R2018b\bin\win64\gmake" -B -f undock_detection_intr.mk all F:\ashwinee jadhao\DETECT_UNDOCK\undock_detection_intr_ert_rtw>cd . F:\ashwinee jadhao\DETECT_UNDOCK\undock_detection_intr_ert_rtw>if "" == "" ("C:\PROGRA~1\MATLAB\R2018b\bin\win64\gmake" -B -f undock_detection_intr.mk all ) else ("C:\PROGRA~1\MATLAB\R2018b\bin\win64\gmake" -B -f undock_detection_intr.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" --define="EXTMODE_DISABLEPRINTF" -v28 -ml --float_support=fpu32 -DF28069M -DBOOT_FROM_FLASH=1 -DMODEL=undock_detection_intr -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DON_TARGET_WAIT_FOR_START=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DEXT_MODE=1 -DINTEGER_CODE=0 -DMT=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DF28069M -DBOOT_FROM_FLASH=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DEXT_MODE=1 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DON_TARGET_WAIT_FOR_START=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DF28069M -DBOOT_FROM_FLASH=1 -DMODEL=undock_detection_intr -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IF:/ashwinee jadhao/DETECT_UNDOCK -IF:/ashwinee jadhao/DETECT_UNDOCK/undock_detection_intr_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~1/MATLAB/R2018b/toolbox/coder/rtiostream/src/utils -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 -I/F2806x_common/include -I/F2806x_headers/include -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/shared/EXTERN~1/include --output_file=MW_c28xx_board.obj MW_c28xx_board.c [DETECT_UNDOCK.] >> WARNING: more than one source file is specified; option --output_file is ignored Fatal error: cannot open source file "jadhao/DETECT_UNDOCK" 1 catastrophic error detected in the compilation of "jadhao/DETECT_UNDOCK". Compilation terminated. >> Compilation failure gmake: *** [MW_c28xx_board.obj] Error 1 F:\ashwinee jadhao\DETECT_UNDOCK\undock_detection_intr_ert_rtw>echo The make command returned an error of 2 The make command returned an error of 2 F:\ashwinee jadhao\DETECT_UNDOCK\undock_detection_intr_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 undock_detection_intr_codegen_rpt.html
### Build procedure for model: 'undock_detection_intr' aborted due to an error.
Error(s) encountered while building "undock_detection_intr": ### Failed to generate all binary outputs.
Please suggest solutions
Thank you