TI中文支持网
TI专业的中文技术问题搜集分享网站

RAM_lnk.cmd出错怎么解决啊

../28035_RAM_lnk.cmd", line 112: error #10099-D: program will not fit into available memory.  placement with alignment/blocking fails for section ".text" size 0xc4f page 0.  Available memory ranges:    RAML0L1      size: 0xc00        unused: 0xc00        max hole: 0xc00 

../28035_RAM_lnk.cmd", line 119: error #10099-D: program will not fit into available memory.  run placement with alignment/blocking fails for section ".ebss" size 0x46e page 1.  Available memory ranges:    RAML2        size: 0x400        unused: 0x2ca        max hole: 0x2ca    

请问怎么会出错在RAM_lnk.cmd这个文件里面?

onebyte:

仿真加载到RAM中运行的程序,是不能烧写到FLASH运行的

../28035_RAM_lnk.cmd", line 112: error #10099-D: program will not fit into available memory.  placement with alignment/blocking fails for section ".text" size 0xc4f page 0.  Available memory ranges:    RAML0L1      size: 0xc00        unused: 0xc00        max hole: 0xc00 

../28035_RAM_lnk.cmd", line 119: error #10099-D: program will not fit into available memory.  run placement with alignment/blocking fails for section ".ebss" size 0x46e page 1.  Available memory ranges:    RAML2        size: 0x400        unused: 0x2ca        max hole: 0x2ca    

请问怎么会出错在RAM_lnk.cmd这个文件里面?

zhenkui Lin:

回复 onebyte:

这个我知道,可是我要怎么做才能解决这个错误啊

../28035_RAM_lnk.cmd", line 112: error #10099-D: program will not fit into available memory.  placement with alignment/blocking fails for section ".text" size 0xc4f page 0.  Available memory ranges:    RAML0L1      size: 0xc00        unused: 0xc00        max hole: 0xc00 

../28035_RAM_lnk.cmd", line 119: error #10099-D: program will not fit into available memory.  run placement with alignment/blocking fails for section ".ebss" size 0x46e page 1.  Available memory ranges:    RAML2        size: 0x400        unused: 0x2ca        max hole: 0x2ca    

请问怎么会出错在RAM_lnk.cmd这个文件里面?

BIN YAO1:

你的".text"段和".ebss"段太大了,分别超过了RAML0L1和RAML2的大小,放不下了自然就要报错咯

解决方法:1)扩大RAML0L1和RAML2的大小;2)将".text"和".ebss"放到别的地方

../28035_RAM_lnk.cmd", line 112: error #10099-D: program will not fit into available memory.  placement with alignment/blocking fails for section ".text" size 0xc4f page 0.  Available memory ranges:    RAML0L1      size: 0xc00        unused: 0xc00        max hole: 0xc00 

../28035_RAM_lnk.cmd", line 119: error #10099-D: program will not fit into available memory.  run placement with alignment/blocking fails for section ".ebss" size 0x46e page 1.  Available memory ranges:    RAML2        size: 0x400        unused: 0x2ca        max hole: 0x2ca    

请问怎么会出错在RAM_lnk.cmd这个文件里面?

zhenkui Lin:

回复 BIN YAO1:

如果扩大RAML0L1和RAML2的大小,DSP仿真的时候感觉没有运行;方法2可以将".text"和".ebss"放在哪里比较好呢

../28035_RAM_lnk.cmd", line 112: error #10099-D: program will not fit into available memory.  placement with alignment/blocking fails for section ".text" size 0xc4f page 0.  Available memory ranges:    RAML0L1      size: 0xc00        unused: 0xc00        max hole: 0xc00 

../28035_RAM_lnk.cmd", line 119: error #10099-D: program will not fit into available memory.  run placement with alignment/blocking fails for section ".ebss" size 0x46e page 1.  Available memory ranges:    RAML2        size: 0x400        unused: 0x2ca        max hole: 0x2ca    

请问怎么会出错在RAM_lnk.cmd这个文件里面?

zhenkui Lin:

回复 BIN YAO1:

谢谢

赞(0)
未经允许不得转载:TI中文支持网 » RAM_lnk.cmd出错怎么解决啊
分享到: 更多 (0)