TI C2000: "Program will not fit into available memory" error! Is there a fix?

36 Ansichten (letzte 30 Tage)
Solomon
Solomon am 30 Mai 2016
Kommentiert: Siyuan Mu am 10 Sep. 2019
I'm running a simple Simulink model on a Delfino Launchpad F28377S and I get the following error:
"C:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/tic2000/src/c28377S.cmd", line 81: error:
program will not fit into available memory. run placement with
alignment/blocking fails for section ".esysmem" size 0x400 page 1.
Available memory ranges:
RAMLS5 size: 0x800 unused: 0x39b max hole: 0x39b
error: errors encountered during linking; "../test.out" not built
>> Compilation failure
gmake: *** [../test.out] Error 1
N:\My Documents\MATLAB\Solomon\test_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
N:\My Documents\MATLAB\Solomon\test_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 test_codegen_rpt.html
### Build procedure for model: 'test' aborted due to an error.
Error(s) encountered while building "test":
### Failed to generate all binary outputs.
This is very surprising as my model is extremely simple, so I was wondering if I was doing something wrong that results in this error. Also, I'm a complete newbie to the TI environment, so if there's a fix, it'd be much appreciated if someone can guide me through it.
Thanks!
Solomon
  1 Kommentar
Siyuan Mu
Siyuan Mu am 7 Sep. 2019
I also meet this problem when i use DSP 28379D. Sometimes it succeed to generate the code and connect to the DSP, sometimes it fails. The error report is this.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Venkatesh Chilapur
Venkatesh Chilapur am 9 Sep. 2019
  1 Kommentar
Siyuan Mu
Siyuan Mu am 10 Sep. 2019
Thank you very much! I solved this by selecting boot from flash in matlab configuration.

Melden Sie sich an, um zu kommentieren.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by