摘要近些年来,随着数字化和信息化时代的来临,各种各样的嵌入式设备如雨后春笋般地出现在人们生活中的各个方面。其中,嵌入式操作系统作为嵌入式设备中最重要的组成部分,在嵌入式产业发展中起到了越来越重要的作用。μC/OS作为一种开放源代码的嵌入式操作系统也越来越受到人们的青睐。68967
本文主要针对μC/OS移植到ARM系统平台的移植和应用,文中内容主要是围绕以下6个部分进行的:1.研究的背景;2.目的及意义;3.基础知识介绍(μC/OS和ARM内核);3.几个主要的移植文件的分析;4.详细介绍了移植的全部过程;5.简单介绍了测试步骤和结果;6.最后对整个毕业设计做了一些总结和归纳。
毕业论文关键词:μC/OS 移植 STM32 嵌入式操作系统
The analysis and improvement of μC/OS-II
Abstract
In recent years, with the advent of the era of digital and information technology, all kinds of embedded devices have sprung up in all aspects of people's lives. Among them, embedded operating system, as the most important part of embedded devices, plays a more and more important role in the development of embedded industry. As an open source embedded operating system,μC/OS is more and more popular.
This paper mainly for the transplantation and application of μC/OS transplanted to the arm platform, the content is mainly focus on the following six parts of the: 1. Research background; 2. Purpose and significance; 3. Basic knowledge is introduced (μC/OS and arm core); 3. Several major transplant of file analysis. Details of the transplantation of the whole process; 5. A brief introduction to the testing procedures and results; 6. Finally design of the school do some summary and induction.
Key Words: μC/OS transplant STM32 ebedded OS
目 录
摘要-III
AbstractIV
目录-V
1 绪论 1
1.1 选题背景 1
1.2 研究的目的和意义 1
1.3 本章小结 2
2 基础知识 3
2.1 μC/OS概述 3
2.1.1 嵌入式实时操作系统 3
2.1.2 μC/OS简介 3
2.1.3 μC/OS的内核 3
2.1.4 μC/OS的中断 4
2.1.5 μC/OS的特点 5
2.2 Cortex-M3/M4基础 6
2.2.1 Cortex-M3/M4通用寄存器 6
2.2.2 操作模式和特权级别 6
2.2.3 FPU单元 7
2.2.4 堆栈 7
2.2.5 SVC和PendSV异常 8
2.3 本章小结 9
3 移植文件分析 10
3.1 滴答定时器SysTick 10
3.2 用类汇编语言阐述os_cpu_a.asm的设计思想 11
3.3 os_cpu.h的设计思想 14
3.4 os_cpu_c.c的设计思想 15
3.5 本章小结 15
4 μC/OS的移植 16
4.1 移植准备工作 16
4.1.1 准备基础工程 STM32的μC/OS-II的分析与改进:http://www.751com.cn/jisuanji/lunwen_77681.html