Copy of 第二章 嵌入式系统的组织结构

1.嵌入式系统的组成结构

1.1硬件组成:嵌入式处理器(核心)

  • 存储器
  • I/O单元电路
  • 通信模块
  • 外部设备

1.2最小系统概念

notion image
notion image
notion image
  • 电源
  • 复位电力
  • 存储系统
  • 调试系统

1.3微处理器的特点

notion image
习题
notion image

1.期末考题-求PC值

notion image
notion image

2.习题2

notion image
2.嵌入式系统硬件涉及的关键概念

2.1冯·诺伊曼

notion image
notion image
  • 两个结构的区别:前者指令和数据存放在同意存储空间,指令无法重叠进行
    • 后者分开存放不同的存储空间,指令可以重叠运行

2.1 CISC

notion image
  • 精简指令集RISC:指令少,使用简单寻址

2.2 高速缓存

notion image
notion image
由于SRAM的读写速度远快于DRAM,所以PC中SRAM大都作为高速缓存(Cache)使用, DRAM则作为普通的内存和显示内存使用

思考题

  • SDRAM是DRAM吗?
    • 💡
      SDRAM属于DRAM
      notion image

      2.3 FLASH

      NOR和NAND的区别

      NOR 在芯片内执行
    • 是并行方式工作,
    • 随机读取,
    • 可挂在内存空间中
    • 主要用于主存
    • 读得快(读取数据,随机)
    • NAND
    • 串行方式工作
    • 顺序读取
    • 更便宜
    • 写得快(写入数据,顺序)
    •  
      notion image
      notion image
      notion image
      notion image

      2.4 MMU

      notion image

      例题

      notion image
      notion image

      MMU的作用

      1. 使程序各自在独立的存储空间中运行,无需知道与之无关的其他任务的存储需求情况
      1. 提供资源,允许使用虚拟存储器(将物理地址重新编址)
      1. 将虚拟地址(可相同)转换成物理地址(不同)

      2.5 总线

      notion image
      notion image
      notion image
      notion image

      思考题

      notion image
      notion image
      notion image
3.软件系统

3.1 BSP 板级支持包

notion image

作用:出于硬件和操作系统之间,为操作系统提供操作和控制具体硬件的方法

例题

notion image

区别 BSP/BIOS

notion image
4.嵌入式操作系统
notion image
notion image
notion image
notion image
notion image

分类

notion image
5.抢占式与非抢占式
notion image
notion image
notion image