program will not fit into available memory ".cinit"

조회 수: 18 (최근 30일)
Matthew Orford
Matthew Orford . 2020년 10월 26일
댓글: Matthew Orford . 2020년 11월 4일
Good Afternoon,
I have a model which is configured to run on a TI 28355 DSP. The model builds without an issue and runs on the DSP.
I am looking at implementing some of the blocks as model references so that they can be individually tested and re-used, however i get the following compilation error
"C:/ProgramData/MATLAB/SupportPackages/R2020a/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 0x28a page 0. Available memory ranges: RAML0L3 size: 0x4000 unused: 0x284 max hole: 0x284 error: errors encountered during linking; "../Inverter_Cubicle_Control_ref.out" not built
What is the problem and how would I go about fixing it?

채택된 답변

Venkatesh Chilapur
Venkatesh Chilapur 2020년 11월 2일
  댓글 수: 1
Matthew Orford
Matthew Orford 2020년 11월 4일
Thanks for the response, I can't get the code to replicate the issue currently frustratingly.
The link you have sent should put me down the correct road

댓글을 달려면 로그인하십시오.

추가 답변 (0개)


Help CenterFile Exchange에서 C Code Generation에 대해 자세히 알아보기




Community Treasure Hunt

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

Start Hunting!

Translated by