📄 scat_flash.scf
字号:
;
; The entire program (code & data) is placed in FLASH which resides
; at 0x24000000, of length 0x4000000 bytes. On reset, an aliased copy
; of FLASH is re-mapped (by hardware) to address 0x0. Program
; execution starts at AREA Init in init.s, which is placed
; '+First' in the image. Following reset, the first few
; instructions of init.s remap 32bitRAM to address 0x0.
; (The ARM Integrator Board remaps its Flash in this way)
;
; Most of the RO code will execute from FLASH (its execution
; address (0x24000000) is the same as its load address (0x24000000),
; so it does not need to be moved (a 'root region'))
;
; 32bitRAM might be fast on-chip (internal) RAM, and is typically
; used for the stack and code that must be executed quickly.
; Here, the exception vectors (AREA Vect in vectors.s) get relocated
; (copied) from FLASH to 32bitRAM at address 0x0 for speed, so this
; area is placed '+First' in the region.
; The RW data will also get relocated (copied) from FLASH to RAM.
; The ZI data will get created (initialized) in RAM, above the RW data
;
; The region HEAP is used to locate the bottom of the heap
; The heap will grow up from this address
;
; The region STACKS is used to locate the top of the memory used to store
; the stacks for each mode. The stacks will grow down from this address
;
LR 0x00010000 0x1000000
{
ER_INIT 0x00010000 0x1000000
{
init.o (Init, +First)
920t.o ; Initialise TCMs
transit_code.o ; copying code
; move_res.o
}
ER_RO 0x30100000
{
* (+RO)
}
ER_RW +0
{
* (+RW, +ZI)
}
; ZI 0x8700000 0x1000
; {
; sdfjk.o
; }
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -