微波EDA网,见证研发工程师的成长!
首页 > 硬件设计 > 嵌入式设计 > ARM系列之分散加载描述符(scatte)文件的应用

ARM系列之分散加载描述符(scatte)文件的应用

时间:11-11 来源:互联网 点击:

rtup.o (vectors, +First)
* (+RO) ;Place all code and RO data into this exec region,
;and make sure the "vectors" section from "Startup.o"
;be placed first.
}

IRAM 0x40000000 ;The second execute region;start address is 0x40000000.
{
Startup.o (+RW,+ZI) ;Place all RW and ZI data from Startup.o here.
}

ERAM 0x81068000 ;The third execute region;Start address:0x81068000.
{
* (+RW,+ZI) ;All reset RW/ZI data to be placed here.
}

HEAP +0 UNINIT ;The fourth execute region;Start address:Follow the
;end of ERAM region.
{
heap.o (+ZI) ;All ZI data from heap.o to be placed here.
}

STACKS 0x40004000 UNINIT ;The fifth execute region.
{
stack.o (+ZI) ;All ZI data from stack.o to be placed here.
}
}


一般一个简单的分散加载描述文件包含三部分:Loader region、Execute region、Input section。各部分的格式及定义细节参见文件:ADS_LinkerGuide.pdf

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top