www.pudn.com > MiniARM2200.rar > mem_c.scf


;/****************************************Copyright (c)************************************************** 
;**                               Guangzou ZLG-MCU Development Co.,LTD. 
;**                                      graduate school 
;**                                 http://www.zlgmcu.com 
;** 
;**--------------File Info------------------------------------------------------------------------------- 
;** File Name: men_c.scf 
;** Last modified Date:  2004-09-17 
;** Last Version: 1.0 
;** Descriptions: Scatter File 
;** 
;**------------------------------------------------------------------------------------------------------ 
;** Created By: Chenmingji 
;** Created date:   2004-09-17 
;** Version: 1.0 
;** Descriptions: First version 
;** 
;**------------------------------------------------------------------------------------------------------ 
;** Modified by:            Ganda 
;** Modified date:          2005-06-15 
;** Version:                1.01 
;** Descriptions:           Only for MagicARM2200 
;** 
;**------------------------------------------------------------------------------------------------------ 
;** Modified by:  
;** Modified date: 
;** Version:  
;** Descriptions:   
;** 
;********************************************************************************************************/ 
ROM_LOAD 0x00000000                     ;// Origination Point of Code (Code in Flash) 
{ 
    ROM_EXEC 0x00000000                 ;// Origination Point of Executing 
    { 
        Startup.o (vectors, +First) 
        * (+RO) 
    } 
 
    IRAM 0x40000040                     ;// Origination Point of Internal SRAM 
    {                                   ;// 0x40000000 ~ 0x4000003F for Vector (Redundancy) 
        Startup.o (MyStacks) 
    } 
 
    STACKS_BOTTOM +0 UNINIT 
    { 
        Startup.o (StackBottom) 
    } 
 
    STACKS 0x40004000 UNINIT            ;// End Point of Internal SRAM 
    { 
        Startup.o (Stacks) 
    } 
 
    ERAM 0x81000000                     ;// Origination Point of External SRAM 
    { 
        * (+RW,+ZI) 
    } 
 
    HEAP +0 UNINIT      
    { 
        Startup.o (Heap) 
    } 
 
    HEAP_BOTTOM 0x81800000 UNINIT       ;// End Point of External SRAM 
    { 
        Startup.o (HeapTop) 
    } 
}