error when used as external mode in f28335

4 views (last 30 days)
error when used as external mode . i get the error
C:/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/tic2000/src/c28335.cmd", line 70: error:
program will not fit into available memory. placement with
alignment/blocking fails for section ".cinit" size 0x132 page 0. Available
memory ranges:
RAML0L3 size: 0x4000 unused: 0x7a max hole: 0x7a
"C:/ProgramData/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/tic2000/src/c28335.cmd", line 86: error:
program will not fit into available memory. placement with
alignment/blocking fails for section "ramfuncs" size 0xa8 page 0. Available
memory ranges:
RAML0L3 size: 0x4000 unused: 0x7a max hole: 0x7a
error: errors encountered during linking; "../dab_pi.out" not built
>> Compilation failure
gmake: *** [../dab_pi.out] Error 1
D:\matlab\dab_pi_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
D:\matlab\dab_pi_ert_rtw>exit 1
Error(s) encountered while building "dab_pi":
### Failed to generate all binary outputs.

Accepted Answer

Venkatesh Chilapur
Venkatesh Chilapur on 10 Oct 2019
Hi,
It is likely the generated code from model cannot fit into the available memory.
I recommened to study this case and see if you can edit the linker command file to resize the memory sections.
Regards,
Venkatesh C

More Answers (0)

Community Treasure Hunt

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

Start Hunting!