scat_c1.scf

来自「前段时间做了一个AT91M55800的芯片测试」· SCF 代码 · 共 42 行

SCF
42
字号
; This scatterloading descriptor file defines:
; three execution regions and one heap region.
;0x02000000 128K(8Bit) SRAM
;0x00000000 2M*16Bit FLASH
;0x0C000000	8M(4Bank*1M*16bit) SDRAM
;					by Johnzhang.
;FLASH 0x00000000 0x00400000		;FLASH
;{
;    RO 0x00000000 0x00010000	;ROM
;    {
;        44binit.o (Init, +First)
;        *(+RO)
;    }

;    RW 0x0C000000 0x00004000    ;sdram
;    {
;        *(+RW)
;    }

;    ZI 0x0C004000 0x00020000	;ZERO Excution region heap.o(heap,+Last)
;    {
;        *(+ZI)
;    }
;}
FLASH 0x0300000 0x0002000		;FLASH
{
    RO 0x0300000 0x0001000	;ROM
    {
       cstartup.o (reset, +First)
        *(+RO)
    }

    RW 0x0301000 0x0000500    ;sram
    {
        *(+RW)
    }
    ZI 0x0301500 0x0000500	;ZERO Excution region heap.o(heap,+Last)
    {
        *(+ZI)
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?