This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

program will not fit into available memory.

program will not fit into available memory.  placement with alignment/blocking fails for section ".text" size 0x95c page 0.  Available memory ranges: 28027_RAM_lnk.cmd /Example_2802xAdcSoc line 114 C/C++ Problem

图1 是RAM CMD配置文件,

图2 是debug 编译后的map图

请问,从map图中看.txt 占用的孔见是0x6dd,而我给。txt分配的空间是0x900,为什么还说空间不足呢?谢谢解惑!

  • 你把txt分配大一些       .map应该是在当前的基础上分配的空间吧 

    不够用或错误的没有分配吧

  • 错误描述:Description Resource Path Location Type
    <a href="file:/C:/ti/ccsv5/tools/compiler/dmed/HTML/10099.html">#10099-D</a>  program will not fit into available memory.  placement with alignment/blocking fails for section ".text" size 0x95c page 0.  Available memory ranges: 28027_RAM_lnk.cmd /Example_2802xAdcSoc line 114 C/C++ Problem

    我现在按照你的说法把.txt扩展到 0xB00,应该大于0x95C的要求大小了。但是现在还是出现上面的报错,不知道是什么问题?感谢百忙中给予答复!

  • 现在这个问题基本上解决了。谢谢支持!

    现在遇到另外一个问题,我用的CCS V5,每次编译后产生的problem信息,更新不了。

    比如说,因CMD 空间分配产生的问题,被解决后,理应重新编译后,之前的CMD  memory 错误提示应该没有的。

    但是错误提示还在那里。除非,将程序 delete后,再重新导入编译。之前的错误提示才消失。

    不知道,这个问题怎么解决,谢谢大家帮忙!

  • 使用rebuild选项,别用增量编译

  • 谢谢,请问rebuild 选项在哪设置,我的DSP 运行环境是CCS5。谢谢!

  • 怎样解决的 我也遇到你了你同样的问题

  • 怎么解决的?跪求教