// *.c //
#pragma DATA_SECTION (Output0, "ZONE7DATA0")
float Output0[2000]={0};
#pragma DATA_SECTION (Output1, "ZONE7DATA1")
float Output1[2000]={0};
// *.cmd //
MEMORY
{
PAGE 1:
ZONE7B0 : origin = 0x20FC00, length = 0x008000 /* XINTF zone 7 – data space */
ZONE7B1 : origin = 0x22FC00, length = 0x008000
}
SECTIONS
{
ZONE7DATA0 : > ZONE7B0, PAGE = 1
ZONE7DATA1 : > ZONE7B1, PAGE = 1
}
出现如下错误:#10099-D</a> program will not fit into available memory. run placement with alignment/blocking fails for section ".ebss" size 0x1080 page 1. Available memory ranges: RAML4 size: 0x1000 unused: 0x1000 max hole: 0x1000 28335_RAM_lnk.cmd /ADCSAOPIN line 135 C/C++ Problem
#10099-D</a> program will not fit into available memory. run placement with alignment/blocking fails for section "ZONE7DATA" size 0x1f60 page 1. Available memory ranges: ZONE7B size: 0x400 unused: 0x400 max hole: 0x400 28335_RAM_lnk.cmd /ADCSAOPIN line 165 C/C++ Problem
BIN YAO1:
前一个是你的.ebss段超出了RAML4的空间大小,可以适当增加RAML4的空间。后者你是否还有一个名为ZONE7DATA的段?你的CMD文件不全不便于分析
// *.c //
#pragma DATA_SECTION (Output0, "ZONE7DATA0")
float Output0[2000]={0};
#pragma DATA_SECTION (Output1, "ZONE7DATA1")
float Output1[2000]={0};
// *.cmd //
MEMORY
{
PAGE 1:
ZONE7B0 : origin = 0x20FC00, length = 0x008000 /* XINTF zone 7 – data space */
ZONE7B1 : origin = 0x22FC00, length = 0x008000
}
SECTIONS
{
ZONE7DATA0 : > ZONE7B0, PAGE = 1
ZONE7DATA1 : > ZONE7B1, PAGE = 1
}
出现如下错误:#10099-D</a> program will not fit into available memory. run placement with alignment/blocking fails for section ".ebss" size 0x1080 page 1. Available memory ranges: RAML4 size: 0x1000 unused: 0x1000 max hole: 0x1000 28335_RAM_lnk.cmd /ADCSAOPIN line 135 C/C++ Problem
#10099-D</a> program will not fit into available memory. run placement with alignment/blocking fails for section "ZONE7DATA" size 0x1f60 page 1. Available memory ranges: ZONE7B size: 0x400 unused: 0x400 max hole: 0x400 28335_RAM_lnk.cmd /ADCSAOPIN line 165 C/C++ Problem
jianfa cai:
回复 BIN YAO1:
BIN YAO1
前一个是你的.ebss段超出了RAML4的空间大小,可以适当增加RAML4的空间。后者你是否还有一个名为ZONE7DATA的���?你的CMD文件不全不便于分析