Description Resource Path Location Type
<a href="file:/D:/DSPCCS/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 0xd96 page 0. Available memory ranges: 28035_RAM_lnk.cmd /pwmZhengLiu/cmd line 112 C/C++ Problem
BEGIN : origin = 0x000000, length = 0x000002
RAMM0 : origin = 0x000050, length = 0x0003B0
RAML0L1 : origin = 0x008000, length = 0x000c00
RESET : origin = 0x3FFFC0, length = 0x000002
ramfuncs : > RAMM0 PAGE = 0
.text : > RAML0L1, PAGE = 0
.cinit : > RAMM0, PAGE = 0
CHENG LIANG:
ram区合并
Description Resource Path Location Type
<a href="file:/D:/DSPCCS/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 0xd96 page 0. Available memory ranges: 28035_RAM_lnk.cmd /pwmZhengLiu/cmd line 112 C/C++ Problem
BEGIN : origin = 0x000000, length = 0x000002
RAMM0 : origin = 0x000050, length = 0x0003B0
RAML0L1 : origin = 0x008000, length = 0x000c00
RESET : origin = 0x3FFFC0, length = 0x000002
ramfuncs : > RAMM0 PAGE = 0
.text : > RAML0L1, PAGE = 0
.cinit : > RAMM0, PAGE = 0
Yuqiao Hu:
回复 CHENG LIANG:
能不能具体一点?拜托了
Description Resource Path Location Type
<a href="file:/D:/DSPCCS/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 0xd96 page 0. Available memory ranges: 28035_RAM_lnk.cmd /pwmZhengLiu/cmd line 112 C/C++ Problem
BEGIN : origin = 0x000000, length = 0x000002
RAMM0 : origin = 0x000050, length = 0x0003B0
RAML0L1 : origin = 0x008000, length = 0x000c00
RESET : origin = 0x3FFFC0, length = 0x000002
ramfuncs : > RAMM0 PAGE = 0
.text : > RAML0L1, PAGE = 0
.cinit : > RAMM0, PAGE = 0
rookiecalf:
回复 Yuqiao Hu:
28035不是有8K吗,你这只用了3k多一些怎么会不够呢,是cmd没设置好
Description Resource Path Location Type
<a href="file:/D:/DSPCCS/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 0xd96 page 0. Available memory ranges: 28035_RAM_lnk.cmd /pwmZhengLiu/cmd line 112 C/C++ Problem
BEGIN : origin = 0x000000, length = 0x000002
RAMM0 : origin = 0x000050, length = 0x0003B0
RAML0L1 : origin = 0x008000, length = 0x000c00
RESET : origin = 0x3FFFC0, length = 0x000002
ramfuncs : > RAMM0 PAGE = 0
.text : > RAML0L1, PAGE = 0
.cinit : > RAMM0, PAGE = 0
Martin Yu:
Yuqiao,
看提示不是RAM整体空间不够,是你的代码段.text超出了RAML0L1,可以重新划分下该RAM段的大小;此外你的CMD只适合仿真运行,实际应用时还是建议代码段放到Flash区间,拷贝到RAM空间运行。
Description Resource Path Location Type
<a href="file:/D:/DSPCCS/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 0xd96 page 0. Available memory ranges: 28035_RAM_lnk.cmd /pwmZhengLiu/cmd line 112 C/C++ Problem
BEGIN : origin = 0x000000, length = 0x000002
RAMM0 : origin = 0x000050, length = 0x0003B0
RAML0L1 : origin = 0x008000, length = 0x000c00
RESET : origin = 0x3FFFC0, length = 0x000002
ramfuncs : > RAMM0 PAGE = 0
.text : > RAML0L1, PAGE = 0
.cinit : > RAMM0, PAGE = 0
Yuqiao Hu:
回复 Martin Yu:
BEGIN : origin = 0x000000, length = 0x000002RAMM0 : origin = 0x000050, length = 0x0003B0RAML0L1 : origin = 0x008000, length = 0x000c00RESET : origin = 0x3FFFC0, length = 0x000002
ramfuncs : > RAMM0 PAGE = 0.text : > RAML0L1, PAGE = 0.cinit : > RAMM0, PAGE = 0
那对于这个应该怎么设定?,是直接在上面该长度吗?
Description Resource Path Location Type
<a href="file:/D:/DSPCCS/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 0xd96 page 0. Available memory ranges: 28035_RAM_lnk.cmd /pwmZhengLiu/cmd line 112 C/C++ Problem
BEGIN : origin = 0x000000, length = 0x000002
RAMM0 : origin = 0x000050, length = 0x0003B0
RAML0L1 : origin = 0x008000, length = 0x000c00
RESET : origin = 0x3FFFC0, length = 0x000002
ramfuncs : > RAMM0 PAGE = 0
.text : > RAML0L1, PAGE = 0
.cinit : > RAMM0, PAGE = 0
Yuqiao Hu:
回复 rookiecalf:
BEGIN : origin = 0x000000, length = 0x000002RAMM0 : origin = 0x000050, length = 0x0003B0RAML0L1 : origin = 0x008000, length = 0x000c00RESET : origin = 0x3FFFC0, length = 0x000002
ramfuncs : > RAMM0 PAGE = 0.text : > RAML0L1, PAGE = 0.cinit : > RAMM0, PAGE = 0
那对于这个应该怎么设定?是不是直接改长度就可以了,不需要在进行其他方面的改动