TI Piccolo c2000-Simulink Flashing Tool NOT WORKING

1 view (last 30 days)
Hello, I am using TI-Piccolo F28069M, along with Matlab/Simulink 2014 and CCS v5.
I have configured the xmakefilesetup and the execute options also.
and in Simulink Configuring parameters i have selected build load and run.
. and check with and without giving flash_loader loacations and setting at Erase,program and verify.
</matlabcentral/answers/uploaded_files/33810/Untitled2.png> . After i Run a simple Led_test Program from simulink it generates the Led_test.out file easily but isn't getting uploaded to the flash of the controller automatically. I try to upload it via CCSv5 but it gets uploaded to the RAM and sweeps out as i restart the controller. Please help me in configuring the Matlab/Simulink for automatically flashing it to the Controller. and also if there is any alternative way of doing so. Please check in comments about the Error iam getting in diagnostics.
Thanks and regards. Eeshan bashir
  2 Comments
Eeshan Bashir
Eeshan Bashir on 8 Jul 2015
Edited: Eeshan Bashir on 8 Jul 2015
Diagnostic Errors D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=64 -DMODEL=Led_test -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/Administrator/Documents/MATLAB/Led_test_ert_rtw -IC:/Users/Administrator/Documents/MATLAB -IC:/PROGRA~1/MATLAB/R2014b/extern/include -IC:/PROGRA~1/MATLAB/R2014b/simulink/include -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2014b/rtw/c/ert -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../src -IC:/PROGRA~1/MATLAB/R2014b/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2014b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/@slCustomizer/../inc -IC:/ti/controlSUITE/device_support/f2806x/v150/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v150/F2806x_headers/include -IC:/PROGRA~1/MATLAB/R2014b/toolbox/shared/can/src/scanutil --output_file="ert_main.obj" "C:/Users/Administrator/Documents/MATLAB/Led_test_ert_rtw/ert_main.c" "### Creating standalone executable "../Led_test.out" ..." C:\ti\ccsv5\tools\compiler\c2000_6.1.0/bin/cl2000 -z -IC:\ti\ccsv5\tools\compiler\c2000_6.1.0/lib --stack_size=64 --warn_sections --reread_libs --rom_model -m"Led_test.map" -l"rts2800_fpu32.lib" --define BOOT_FROM_FLASH=0 --output_file=../Led_test.out MW_c28xx_board.obj Led_test.obj Led_test_data.obj MW_c28xx_csl.obj c2806xBoard_Realtime_Support.obj F2806x_CpuTimers.obj F2806x_DefaultIsr.obj F2806x_GlobalVariableDefs.obj F2806x_PieCtrl.obj F2806x_PieVect.obj F2806x_SysCtrl.obj F2806x_usDelay.obj F2806x_CodeStartBranch.obj F2806x_Dma.obj F2806x_Adc.obj c2806xSchedulerTimer0.obj ert_main.obj C:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/src/c28069_flash.cmd C:/MATLAB/SupportPackages/R2014b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/rtlib/IQmath_fpu32.lib C:/PROGRA~1/MATLAB/R2014b/toolbox/idelink/extensions/ticcs/c2000/c2806xPeripherals.cmd
"### Created: ../Led_test.out"
"### Successfully generated all binary outputs."
C:\Users\Administrator\Documents\MATLAB\Led_test_ert_rtw>exit /B 0 "### Invoking postbuild tool "Download" ..."
C:\ti\ccsv5\ccs_base\scripting\bin/bin/dss.bat C:\PROGRA~1\MATLAB\R2014b/toolbox/idelink/EXTENS~1/ticcs/ccsdemos/RUNPRO~1.JS C:\MATLAB\SUPPOR~1\R2014b\TEXASI~1\toolbox\target\SUPPOR~1\tic2000\@SLCUS~1\../CCS_CO~1/F28069~1.CCX ../Led_test.out
process_begin: CreateProcess(NULL, C:\ti\ccsv5\ccs_base\scripting\bin/bin/dss.bat C:\PROGRA~1\MATLAB\R2014b/toolbox/idelink/EXTENS~1/ticcs/ccsdemos/RUNPRO~1.JS C:\MATLAB\SUPPOR~1\R2014b\TEXASI~1\toolbox\target\SUPPOR~1\tic2000\@SLCUS~1\../CCS_CO~1/F28069~1.CCX ../Led_test.out, ...) failed.
make (e=2): The system cannot find the file specified.
gmake: * [download] Error 2
### Successful completion of build procedure for model: Led_test

Sign in to comment.

Answers (3)

Eeshan Bashir
Eeshan Bashir on 13 Jul 2015
Demo Project file used

Castile Xaio
Castile Xaio on 2 Jan 2017
hi Eeshan I'm facing the same problem too, i use matlab 2015b and same target board like yours, could you tell me that the problem solved ?

Hans Nerlich
Hans Nerlich on 25 Apr 2018
hi Eeshan,
I have the same problem, with the same hardware, too.

Community Treasure Hunt

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

Start Hunting!