ime2224的个人空间 https://blog.eetop.cn/1101565 [收藏] [复制] [分享] [RSS]

空间首页 动态 记录 日志 相册 主题 分享 留言板 个人资料

日志

cortexM3r的memory系统

已有 1062 次阅读| 2016-6-24 17:55 |个人分类:LINUX

  

地址映射图

 

Memory map

Region

code

Instruction fetches are performed over the ICode bus. Data accesses are performed over the DCode bus

SRAM

Instruction fetches and data accesses are performed over the System bus.

SRAM bit-band

Alias region .data accesses are aliases. Instruction accesses are not aliases

Peripheral

Instruction fetches and data accesses are performed over the system bus

Peripheral bit-band

Alias region. data accesses are aliases. Instruction accesses are not aliases

External RAM

Instruction fetches and data accesses are performed over the System bus.

External device

Instruction fetches and data accesses are performed over the System bus.

Private peripheral bus

External and internal private peripheral (PPB) interface. See private peripheral bus. This memory region is execute never(XN) and so instruction fetches are prohibited. An MPU, if present cannot change this .

System

System segment for vendor system peripherals. This memory region is XN, and so instruction fetches are prohibited. An MPU ,

地址空间可以通过另一种方式分为 8 512MB 等份:
1.
代码区( 0x0000_0000- 0x1FFF_FFFF)。该区是可以执行指令的,缓存属性为 WT “写通”,Write Through),即不可以缓存。此区亦允许布设数据存储器。在此区上的数据操作是通过数据总线接口的(估计读数据使用 D-Code,写数据使用 System),且在此区上的写操作是缓冲的。
2. SRAM
区( 0x2000_0000 – 0x3FFF_FFFF)。此区用于片内 SRAM,写操作是缓冲的,并且可以选择 WB-WA(Write Back, Write Allocated)缓存属性。此区亦可以执行指令,以允许把代码拷贝到内存中执行——常用于固件升级等维护工作。
3.
片上外设区(0x4000_0000 – 0x5FFF_FFFF)。该区用于片上外设,因此是不可缓存的,也不可以在此区执行指令(这也称为 eXecute Never, XN ARM 的参考手册大量使用此术语)。
4.
外部 RAM 区的前半段( 0x6000_0000 - 0x7FFF_FFFF)。该区可用于布设片上 RAM 或片外 RAM,可缓存(缓存属性为 WB-WA),并且可以执行指令.

5. 外部 RAM 区的后半段( 0x8000_0000 – 0x9FFF_FFFF)。除了不可缓存(WT)外,同前半段。

6. 外部外设区的前半段(0xA000_0000 – 0xBFFF_FFFF)。用于片外外设的寄存器,也用于多核系统中的共享内存(需要严格按顺序操作,即不可缓冲)。该区也是个不可执行区。

7. 外部外设区的后半段(0xC000_0000 – 0xDFFF_FFFF)。目前与前半段的功能完全一致。

8. 系统区(0xE000_0000 – 0xFFFF_FFFF)。此区是私有外设和供应商指定功能区。此区不可执行代码。系统区涉及到很多关键部位,因此访问都是严格序列化的(不可缓存,不可缓冲)。


点赞

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

  • 关注TA
  • 加好友
  • 联系TA
  • 0

    周排名
  • 0

    月排名
  • 0

    总排名
  • 2

    关注
  • 1

    粉丝
  • 0

    好友
  • 2

    获赞
  • 0

    评论
  • 490

    访问数
关闭

站长推荐 上一条 /2 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-4-24 06:39 , Processed in 0.014508 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
返回顶部