我使用是2478 不外扩SDRAM 改写了分散加载文件
;/****************************************Copyright (c) **************************************************
;** Guangzhou ZHIYUAN electronics Co.,LTD.
;**
;** http://www.embedtools.com
;**
;**--------------File Info-------------------------------------------------------------------------------
;** File Name: ChipFlash.scf
;** Last modified Date: 2008-01-15
;** Last Version: 1.1
;** Descriptions: Scatter File
;**
;**------------------------------------------------------------------------------------------------------
;** Created By: Chenmingji
;** Created date: 2004-09-17
;** Version: 1.0
;** Descriptions: First version
;**
;**------------------------------------------------------------------------------------------------------
;** Modified by: LinEnqiang
;** Modified date: 2008-05-08
;** Version: V1.1
;** Descriptions:
;**
;********************************************************************************************************/
ROM_LOAD 0x00000000 ;/* 内部Flash调试 */
{
ROM_EXEC 0x00000000
{
Startup.o (vectors, +First)
* (+RO)
}
IRAM 0x40000000
{
Startup.o (MyStacks)
* (+RW,+ZI)
}
STACKS_BOTTOM +0 UNINIT
{
Startup.o (StackBottom)
}
//-------------------------------------------------------------------------------------------------
STACKS 0x40008000 UNINIT ;/* 内部RAM的一半 */
{
Startup.o (StacksTop)
}
//-----------------------------------------------------------------------------------------
HEAP_BOTTOM +0 UNINIT
{
Startup.o (HeapBottom)
}
//-----------------------------------------------------------------------------------------
HEAPS 0x40010000 UNINIT ;/* 使用剩余的内部RAM */
{
Startup.o (HeapTop)
}
//-----------------------------------------------------------------------------------------
}
;/*********************************************************************************************************
; END FILE
;*********************************************************************************************************/ |