μC/OS-Ⅱ的优化移植和设备驱动框架设计  被引量:5

Improved Porting Method and Design of Device Driver Framework Based on μC/OS-Ⅱ

在线阅读下载全文

作  者:徐海龙[1] 邱建[1] 王晓娜[1] 叶树亮[1] 

机构地区:[1]中国计量学院计量测试工程学院,杭州310018

出  处:《计算机测量与控制》2012年第9期2501-2503,2506,共4页Computer Measurement &Control

基  金:浙江省公益性技术应用研究计划项目(2010C31054)

摘  要:为了减少嵌入式实时操作系统μC/OS-Ⅱ移植在内存匮乏的微控制器上的内存需求并实现其对整个系统设备的管理,提出了μC/OS-Ⅱ的优化移植和设备驱动框架设计;优化移植方式对任务栈和中断栈进行分离减少了系统的内存需求,为所有的中断服务提供唯一的入口使μC/OS-Ⅱ具有中断管理功能;设备驱动框架为设备管理提供统一的规范和API函数从而方便驱动开发和设备操作,通过中断下半部推后执行的机制提高了系统的实时性;测试表明,优化移植后能节省约50%的内存,设备驱动框架能够对设备有效且可靠管理。In order to reduce running memory requirements of the RTOS/μC/OS-Ⅱ port to MCU with small running memory, and a chieve the/μC/OS-Ⅱ manage the entire system devices, a improved porting method and a design of device driver framework based on μC/OS-Ⅱ were proposed. The improved porting method can reduce the /μC/OS-Ⅱ running memory through separating system stack from task stacks, and it makes/μC/OS-Ⅱ have interrupts management features through providing all interrupts the only entrance. The device driver framework for the operation of devices provides a unified API function so it can develop drivers and manage devices effectively, it also can prove system's real-time performance by the mechanism of pushing back interrupt bottom half. Test results show that it can save about 50% running memory, and be able to manage devices validly and reliably.

关 键 词:嵌入式实时操作系统 μC/OS-Ⅱ 微控制器 优化移植 设备驱动框架 

分 类 号:TP316.2[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象