|
如下配置CMD,但仍无法LOAD,麻烦maxpany再看一下。致谢!!
MEMORY
{
PAGE 0 :
ZONE_CODE : origin = 0x170002, length = 0x007FFE/*外扩32K*/
BEGIN_CODE : origin = 0x170000, length = 0x000002
PAGE 1 :
RAMM0 : origin = 0x000000, length = 0x000400
RAMM1 : origin = 0x000400, length = 0x000400
RAML0 : origin = 0x008000, length = 0x001000
RAML1 : origin = 0x009000, length = 0x001000
RAMH0 : origin = 0x3F9000, length = 0x001000
EXRAM : origin = 0x178000, length = 0x008000/*外扩32K*/
………………
}
SECTIONS
{
/* Allocate program areas: */
reset : > BEGIN_CODE, PAGE = 0
vectors : > ZONE_CODE, PAGE = 0
.text : > ZONE_CODE, PAGE = 0
.cinit : > ZONE_CODE, PAGE = 0
/* Allocate data areas: */
.stack : > RAML1, PAGE = 1
.bss : > RAMH0, PAGE = 1
.ebss : > RAMH0, PAGE = 1
.const : > EXRAM, PAGE = 1
.econst : > EXRAM, PAGE = 1
.sysmem : > RAML0, PAGE = 1
……………………
}
|
|