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

堆栈内存分配出错

我使用CCS4.1.2
分配内存命令文件
2801_RAM_lnk.cmd
编译时出错110行
以下是源程序一部分
SECTIONS
{
/* Setup for "boot to SARAM" mode: The codestart section (found in DSP28_CodeStartBranch.asm)
re-directs execution to the start of user code. */
110 .stack : > RAMM1, PAGE = 1
.ebss : > DRAML0, PAGE = 1
.econst : > DRAML0, PAGE = 1 .esysmem : > RAMM1, PAGE = 1

codestart : > BEGIN, PAGE = 0
ramfuncs : > RAMM0 PAGE = 0 .text : > PRAML0, PAGE = 0
.cinit : > RAMM0, PAGE = 0
.pinit : > RAMM0, PAGE = 0
.switch : > RAMM0, PAGE = 0
.reset : > RESET, PAGE = 0, TYPE = DSECT /* not used, */
下面是出错提示:
<Linking>
warning: creating ".stack" section with default size of 0x400; use the -stack
option to change the default size
"../2801_RAM_lnk.cmd", line 110: error: run placement fails for object
".stack", size 0x400 (page 1). Available ranges:
RAMM1 size: 0x50 unused: 0x50 max hole: 0x50error: errors encountered during linking; "T.out" not built
我不知道为什么出错,您能帮帮我吗?

赞(0)
未经允许不得转载:TI中文支持网 » 堆栈内存分配出错
分享到: 更多 (0)