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


;/****************************************Copyright (c)************************************************** 
;**                               Guangzou ZLG-MCU Development Co.,LTD. 
;**                                      graduate school 
;**                                 http://www.zlgmcu.com 
;** 
;**--------------File Info------------------------------------------------------------------------------- 
;** File Name: DebugInRAM.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-10-21 
;** Version:                1.01 
;** Descriptions:           Only for MiniARM2200 DebugInRAM Mode 
;**                         Add some information                                
;** 
;**------------------------------------------------------------------------------------------------------ 
;** Modified by:  
;** Modified date: 
;** Version:  
;** Descriptions:   
;** 
;********************************************************************************************************/ 
ROM_LOAD 0x40000000                     ;// Starting of Code 
{                                       ;// ROM Range: 0x40000000 ~ 0x40001fff (8K at Internal SRAM) 
    ROM_EXEC 0x40000000                 ;// Starting of Executing point 
    { 
        Startup.o (vectors, +First)     ;// Store vectors at 0x40000000 
        * (+RO) 
    } 
;//-----------------------------------------------------------------------------------------------------// 
    IRAM 0x40002000                     ;// Starting of Internal SRAM 
    {                                    
        Startup.o (MyStacks) 
    } 
 
    STACKS_BOTTOM +0 UNINIT 
    { 
        Startup.o (StackBottom) 
 
    } 
 
    STACKS 0x40003000 UNINIT            ;// End of Internal SRAM 
    {                                   ;// IRAM Range: 0x40002000 ~ 0x40002fff (4K at Internal SRAM) 
        Startup.o (Stacks) 
 
    } 
;//-----------------------------------------------------------------------------------------------------// 
    ERAM 0x40003000                     ;// Starting of External SRAM 
    {                                
        * (+RW,+ZI) 
    } 
 
    HEAP +0 UNINIT 
    { 
        Startup.o (Heap) 
    } 
 
    HEAP_BOTTOM 0x40004000 UNINIT       ;// End of External SRAM 
    {                                   ;// ERAM Range: 0x40003000 ~ 0x40003fff (4K at Internal SRAM) 
        Startup.o (HeapTop) 
    } 
}