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.

 채택된 답변

Venkatesh Chilapur
Venkatesh Chilapur 2019년 10월 10일

0 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 C2000 Microcontroller Blockset에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by