How to resolve "Failed to generate all binary outputs" while deploying code on F28335 Microcontroller using Simulink
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
### Starting build procedure for model: DAB_PWM ### Generating code and artifacts to 'Model specific' folder structure
Code Generation
3
Elapsed: 20 sec
### Generating code into build folder: F:\Muhammad_Azeem\NUTECH_2018_2022\FYP\Design\Matlab\DAB_PWM_ert_rtw ### Invoking Target Language Compiler on DAB_PWM.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 DAB_PWM_types.h ### Writing header file DAB_PWM.h . ### Writing header file rtwtypes.h ### Writing header file zero_crossing_types.h ### Writing source file DAB_PWM.c ### Writing header file DAB_PWM_private.h ### Writing source file DAB_PWM_data.c ### Writing header file rtmodel.h . ### Writing source file ert_main.c ### TLC code generation complete. ..### Evaluating PostCodeGenCommand specified in the model
Code Composer Studio Project
1
Elapsed: 0.839 sec
### Creating CCS Project at : F:\Muhammad_Azeem\NUTECH_2018_2022\FYP\Design\Matlab\DAB_PWM_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) ### 'F:\Muhammad_Azeem\NUTECH_2018_2022\FYP\Design\Matlab\DAB_PWM_ert_rtw\DAB_PWM.mk' is up to date ### Building 'DAB_PWM': "C:\PROGRA~1\MATLAB\R2018b\bin\win64\gmake" -B -f DAB_PWM.mk all F:\Muhammad_Azeem\NUTECH_2018_2022\FYP\Design\Matlab\DAB_PWM_ert_rtw>cd . F:\Muhammad_Azeem\NUTECH_2018_2022\FYP\Design\Matlab\DAB_PWM_ert_rtw>if "" == "" ("C:\PROGRA~1\MATLAB\R2018b\bin\win64\gmake" -B -f DAB_PWM.mk all ) else ("C:\PROGRA~1\MATLAB\R2018b\bin\win64\gmake" -B -f DAB_PWM.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" -O2 -v28 --float_support=fpu32 -ml -DF28335 -DBOOT_FROM_FLASH=0 -DMODEL=DAB_PWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=1 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=1 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DSTACK_SIZE=512 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMODEL=DAB_PWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IF:/Muhammad_Azeem/NUTECH_2018_2022/FYP/Design/Matlab -IF:/Muhammad_Azeem/NUTECH_2018_2022/FYP/Design/Matlab/DAB_PWM_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/inc -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~1/MATLAB/R2018b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/shared/EXTERN~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" -O2 -v28 --float_support=fpu32 -ml -DF28335 -DBOOT_FROM_FLASH=0 -DMODEL=DAB_PWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=1 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=1 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DSTACK_SIZE=512 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMODEL=DAB_PWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IF:/Muhammad_Azeem/NUTECH_2018_2022/FYP/Design/Matlab -IF:/Muhammad_Azeem/NUTECH_2018_2022/FYP/Design/Matlab/DAB_PWM_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/inc -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~1/MATLAB/R2018b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/shared/EXTERN~1/include --output_file=DAB_PWM.obj DAB_PWM.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" -O2 -v28 --float_support=fpu32 -ml -DF28335 -DBOOT_FROM_FLASH=0 -DMODEL=DAB_PWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=1 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=1 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DSTACK_SIZE=512 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMODEL=DAB_PWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IF:/Muhammad_Azeem/NUTECH_2018_2022/FYP/Design/Matlab -IF:/Muhammad_Azeem/NUTECH_2018_2022/FYP/Design/Matlab/DAB_PWM_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/inc -IC:/PROGRA~1/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~1/MATLAB/R2018b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/shared/EXTERN~1/include --output_file=DAB_PWM_data.obj DAB_PWM_data.c "DAB_PWM_data.c", line 164: error: floating constant is out of range "DAB_PWM_data.c", line 225: error: floating constant is out of range "DAB_PWM_data.c", line 286: error: floating constant is out of range "DAB_PWM_data.c", line 347: error: floating constant is out of range "DAB_PWM_data.c", line 408: error: floating constant is out of range "DAB_PWM_data.c", line 469: error: floating constant is out of range "DAB_PWM_data.c", line 530: error: floating constant is out of range "DAB_PWM_data.c", line 591: error: floating constant is out of range 8 errors detected in the compilation of "DAB_PWM_data.c". >> Compilation failure gmake: *** [DAB_PWM_data.obj] Error 1 F:\Muhammad_Azeem\NUTECH_2018_2022\FYP\Design\Matlab\DAB_PWM_ert_rtw>echo The make command returned an error of 2 The make command returned an error of 2 F:\Muhammad_Azeem\NUTECH_2018_2022\FYP\Design\Matlab\DAB_PWM_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 DAB_PWM_codegen_rpt.html
### Build procedure for model: 'DAB_PWM' aborted due to an error.
0 comentarios
Respuestas (1)
Shivam Lahoti
el 11 de Oct. de 2024
Hi Muhammad Azeem,
I understand you are encountering a “Failed to generate all binary outputs” error in MATLAB.
This particular error message is generic and could appear due to multiple reasons. The first approach would be to investigate further and get a detailed error message. Please refer the following MATLAB Answer to understand more about this issue and approaches adopted to resolve this issue:
I hope the approaches mentioned in the above-mentioned community post would help you resolve this issue.
Regards,
Shivam
0 comentarios
Ver también
Categorías
Más información sobre Texas Instruments C2000 F28M3x Concerto Processors en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!