当前位置:文档之家› 基于ARM的嵌入式系统设计硕士学位论文

基于ARM的嵌入式系统设计硕士学位论文

硕士学位论文基于ARM的嵌入式系统设计第一章摘要嵌入式系统以其小型、专用、易携带、可靠性高的特点,已经在各个领域得到了广泛的应用,如军事国防、消费电子、通信设备、工业控制等。

嵌入式处理器内嵌实时操作系统(RTOS),具有实时性、低成本、小型化、专用化和高可靠性,克服了传统的基于单片机控制系统功能不足和基于PC的系统非实时性的缺点。

随着嵌入式系统软硬件技术的飞速发展,其应用领域必将更为广阔,嵌入式系统的研究将会有非常广泛的前景。

本课题的目的就是研究适用于学校教学的嵌入式系统平台,这对于提高对嵌入式系统的理解具有重要意义。

本课题以嵌入式系统设计原理和实际应用为核心,从理论上和技术方法上开展了一系列研究。

主要工作有: 1、全面系统地概述了嵌入式系统的发展过程和分类,及其在各个领域内的应用,以及嵌入式系统的发展方向;2、基于嵌入式系统设计原理的嵌入式开发平台的设计的总体方案,从硬件和软件两个方面讲述了嵌入式系统的设计思想和方法,及其可行性的论证;3、嵌入式系统硬件平台的设计与调试,着重叙述了硬件平台的整体设计方案,包括各个设计模块的选型与接口电路的设计;4、嵌入式系统所采用的操作系统的移植与调试,详细讲叙了µC/OS-II实时操作系统在基于LPC2136的嵌入式控制器硬件平台上的移植过程及注意事项;5、对µC/OS-II内核实时性能进行了深入的分析,通过实际测试得出了在特定条件下µC/OS-II的实时响应参数。

6、在后继的工作中,我们还要在实时嵌入式操作系统的基础上完成对操作系统的扩展以及对各个模块的驱动。

总之,本文完成了嵌入式系统的硬件平台构架、实时嵌入式操作系统的移植,为今后嵌入式系统的后继开发提供了一个嵌入式平台。

关键词:嵌入式系统ARM RTOS µC/OS-II第二章AbstractWith the development of IT network technology, embedded system shows a new direction of technology development. Embedded system has been applied in military, electronics, communication, industrial control and so on, with respect to its small size, high performance, low cost, high reliability and oriented object program.Embedded controller with RTOS gets over the traditional microcontroller and the disadvantage of the un-real time specialty base on pc, instead it is real-time, low cost ,miniaturized ,customized ,and high dependability. It also has a broad foreground , along with the fast development of hardware of embedded system .This intention of this topic is designing the embedded system, which is important for enhancing the understanding of embedded system. The research is highlighted in both design theory and applications of embedded system, which extended its developments. This paper is organized into six parts:1. This article essentially introduced the development of embedded system, its classification, applications in numerous areas, and its development orientation.2. The second chapter covers the general design of the embedded system, based on the elements of embedded system design. then it shows the devise ideology and methods in either hardware or software, and the demonstration of its accessibility.3. The third chapter gives out the hardware of the embedded system, including design, test and implementation of each module, as well as their interface circuitry.4. The forth chapter introduces the process and attentions of RTOS µC/OS-II, when explanted to the LPC2136 embedded controller hardware platform.5. It covers a in-dept analyzing in the real-time performance in μC/OS-II core, aswell as the real time respond parameter in the very condition.6. In the future, we will expand the operation system based on RTOS, and derivations of each module.In a word, the article provides keen insight into the platform architecture of hardware and explants of the RTOS, in addition to affording an embedded platform for the subsequence developments.Key word: embedded system ARM RTOS µC/OS-II目录第一章绪论......................................................................... 错误!未定义书签。

1.1嵌入式系统简介 (2)1.1.1 嵌入式系统的定义和特点 (2)1.1.2 嵌入式系统的发展和趋势 (2)1.2嵌入式处理器概述 (4)1.2.1 嵌入式处理器的分类 (4)1.2.2 ARM处理器简介 (6)1.3本文主要研究的问题背景和内容 (7)1.3.1 本文主要研究的问题背景 (7)1.3.2 本文主要内容描述和安排 (8)第二章嵌入式系统总体设计 (9)2.1嵌入式系统设计方法讨论 (9)2.2开发平台的功能需求分析 (11)2.3开发平台软硬件的选择 (12)2.3.1 系统硬件平台的选择 (13)2.3.1.1 嵌入式ARM处理器的选型 (13)2.3.1.2 LPC2136芯片简介 (15)2.3.1.3片外外围设备的选择 (16)2.3.2 系统软件的选择 (17)2.3.2.1实时操作系统的选型原则 (18)2.3.2.2几种开源的嵌入式操作系统的比较 (20)2.3.2.3µC/OS-II的特点 (24)2.4开发平台方案总体规划 (25)2.4.1 硬件规划 (25)2.4.2 软件规划 (27)第三章嵌入式系统硬件详细设计 (29)3.1LPC2136芯片结构 (29)3.1.1 LPC2136功能模块 (29)3.1.2 LPC2136管脚配置 (30)3.2硬件原理 (30)3.2.1 电源电路 (30)3.2.2 复位电路 (31)3.2.3 系统时钟电路 (32)3.2.4 JTAG接口电路 (33)3.2.5 串口及MODEM接口电路 (33)3.2.6 按键电路 (34)3.2.7 LED显示电路 (35)3.2.8 蜂鸣器控制电路 (37)3.2.9 I2C电路 (38)3.2.10 直流电压测量电路 (38)3.2.11 DAC电路 (39)3.2.12 RTC电路 (40)3.2.13 USB电路 (40)第四章软件系统的基础构建与设计 (42)4.1启动代码综述 (42)4.1.1 一般ARM芯片启动过程 (42)4.1.2 LPC2136启动文件组成 (44)4.1.3 LPC2136启动代码工作流程 (47)4.2移植µC/OS-II到LPC2136 (48)4.2.1 移植规划 (48)4.2.2 编写移植代码 (51)4.2.3 移植µC/OS-II体会 (63)4.3µC/OS-II实时性能测试分析 (64)4.3.1 测试方案设计 (64)4.3.2 内核函数时间参数测试 (65)4.3.3 中断时间参数测试 (69)4.3.4 测试结果与性能分析 (71)第五章结论与展望 (73)参考文献 (75)致谢 (78)个人简历 ................................................................................. 错误!未定义书签。

第一章绪论随着社会的日益信息化,计算机和网络已经全面渗透到日常生活的每一个角落。

对于我们来说,需要的已经不再仅仅是哪种桌面计算机,任何一个人都可能拥有从小到大的各种使用嵌入式技术的电子产品,小到MP3、PDA、信息家电等消费数码,大到网络通信、车载电子、工业控制、国防武器等设备。

目前,各种新型的嵌入式系统设备的应用领域和数量已经远远超过了通用计算机,如果说我们生活在一个充满嵌入式系统的世界中,是毫不夸张的。

相关主题