Problem flashing TI LAUNCHXL-F28379D

5 views (last 30 days)
Hi there,
I am trying to program the TI LAUNCHXL-F28379D with Simulink. However, it is not possible for me to flash it. I always get the following error:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
_### Starting build procedure for model: Model
### Generating code and artifacts to 'Model specific' folder structure
### Generating code into build folder: D:\MATLAB\TI Launchpad F28379D\Led Toggle\Model_ert_rtw
### Invoking Target Language Compiler on Model.rtw
### Using System Target File: C:\Program Files\MATLAB\R2017b\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 Model_types.h
### Writing header file Model.h
.
### Writing header file rtwtypes.h
### Writing source file Model.c
### Writing header file Model_private.h
### Writing source file Model_data.c
### Writing header file rtmodel.h
### Writing source file ert_main.c
.
### TLC code generation complete.
### Evaluating PostCodeGenCommand specified in the model
### Creating CCS Project at : D:\MATLAB\TI Launchpad F28379D\Led Toggle\Model_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 'D:\MATLAB\TI Launchpad F28379D\Led Toggle\Model_ert_rtw\Model.mk' ...
### Building 'Model': "C:\PROGRA~1\MATLAB\R2017b\bin\win64\gmake" -B -f Model.mk all
D:\MATLAB\TI Launchpad F28379D\Led Toggle\Model_ert_rtw>cd .
D:\MATLAB\TI Launchpad F28379D\Led Toggle\Model_ert_rtw>if "" == "" ("C:\PROGRA~1\MATLAB\R2017b\bin\win64\gmake" -B -f Model.mk all ) else ("C:\PROGRA~1\MATLAB\R2017b\bin\win64\gmake" -B -f Model.mk )
C:/PROGRA~3/MATLAB/SUPPOR~1/R2017b_1/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/R2017b_1/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" -v28 --float_support=fpu32 -ml -DCPU1 -DMODEL=Model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=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=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=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=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=512 -DRT -DMODEL=Model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -ID:/MATLAB/TI Launchpad F28379D/Led Toggle -IC:/PROGRA~1/MATLAB/R2017b/simulink/include/sf_runtime -ID:/MATLAB/TI Launchpad F28379D/Led Toggle/Model_ert_rtw -IC:/PROGRA~1/MATLAB/R2017b/extern/include -IC:/PROGRA~1/MATLAB/R2017b/simulink/include -IC:/PROGRA~1/MATLAB/R2017b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2017b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2017b/rtw/c/ert -IC:/ProgramData/MATLAB/SupportPackages/R2017b_1/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2017b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017b_1/toolbox/target/supportpackages/tic2000/src -ID:/Programme/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/include -ID:/Programme/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_headers/include -ID:/Programme/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common -IC:/PROGRA~1/MATLAB/R2017b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2017b_1/toolbox/target/shared/externalmode_daemon/include --output_file=MW_c28xx_board.obj MW_c28xx_board.c
[Launchpad.]
>> WARNING: more than one source file is specified; option --output_file is ignored
Fatal error: cannot open source file "Launchpad"
1 catastrophic error detected in the compilation of "Launchpad".
Compilation terminated.
>> Compilation failure
gmake: *** [MW_c28xx_board.obj] Error 1
D:\MATLAB\TI Launchpad F28379D\Led Toggle\Model_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
D:\MATLAB\TI Launchpad F28379D\Led Toggle\Model_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 Model_codegen_rpt.html
### Build procedure for model: 'Model' aborted due to an error.
Error(s) encountered while building "Model":
### Failed to generate all binary outputs._
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
unfortunately I could not figure out what has gone wrong. Does anyone have an idea. Many thanks in advance.
PS: I use - MATLAB 2017b - Code composer v8 - Texas Instruments controlSUITE 3.4.9 - Texas Instruments C2000 Ware

Accepted Answer

Antonin
Antonin on 11 May 2018
Hi Duc Tien Nguyen,
I believe your D:\ drive must be a Removable disk (like an SD Card or a USB thumb drive). These use the exFAT file formatting which doesn't support the conversion to short path.
Multiple solutions:
  • Remove all spaces and advanced characters from the path on the D:\ drive (Convert the path something like D:\MATLAB\TI_Launchpad_F28379D\Led_Toggle).
  • Alternatively, use your main hard drive (C:\) for code generation and model storage and then copy the results to your Removable drive (D:\). This should work as well.
I hope it helps,
Good luck,
Antonin.
  1 Comment
Duc Tien Nguyen
Duc Tien Nguyen on 11 May 2018
Hi Antonin,
thk you so much. Now everythings work perfectly :D.
Greetz Tien

Sign in to comment.

More Answers (0)

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!