Other Parts Discussed in Thread: TI-CGT
Hi guys,
I am using LAUNCH-F28379D via Matlab Simulink with External mode.
After I have added my code inside the "MATLAB function" block, I got the error below once I tried to run the Simulink model using RAM (boot from flash (stand-alone execution) is not activated).
What is this problem? is there any way to solve this problem? and how can I do that?
Please note that the Matlab model is running correctly when I activate (boot from flash (stand-alone execution).
Thank you in advance
the error is"
"C:/ProgramData/MATLAB/SupportPackages/R2017b/toolbox/target/supportpackages/tic2000/src/c28377D.cmd", line 107: error:
program will not fit into available memory. placement with
alignment/blocking fails for section ".text" size 0x7c20 page 0. Available
memory ranges:
RAMM0 size: 0x2de unused: 0x0 max hole: 0x0
RAMD0 size: 0x800 unused: 0x0 max hole: 0x0
RAMLS_PROG size: 0x2000 unused: 0x1 max hole: 0x1
RAMGS_PROG size: 0x4000 unused: 0x0 max hole: 0x0
"C:/ProgramData/MATLAB/SupportPackages/R2017b/toolbox/target/supportpackages/tic2000/src/c28377D.cmd", line 111: error:
program will not fit into available memory. placement with
alignment/blocking fails for section ".cinit" size 0x38f page 0. Available
memory ranges:
RAMM0 size: 0x2de unused: 0x0 max hole: 0x0
RAMD0 size: 0x800 unused: 0x0 max hole: 0x0
RAMLS_PROG size: 0x2000 unused: 0x1 max hole: 0x1
error: errors encountered during linking; "../finalnewcode2of3okok.out" not
built
>> Compilation failure
gmake: *** [../finalnewcode2of3okok.out] Error 1
C:\Users\Win7\Documents\MATLAB\paper-2\Final_idle_Ms_cells_25_3_2019\Prototype1_8_2020\C2000\system with 260us\S_function\finalnewcode2of3okok_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
C:\Users\Win7\Documents\MATLAB\paper-2\Final_idle_Ms_cells_25_3_2019\Prototype1_8_2020\C2000\system with 260us\S_function\finalnewcode2of3okok_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 finalnewcode2of3okok_codegen_rpt.html
### Build procedure for model: 'finalnewcode2of3okok' aborted due to an error.
Error(s) encountered while building "finalnewcode2of3okok":
### Failed to generate all binary outputs."