基于RT-Thread的NANDFLASH文件系统中间层的设计与实现
本文选题:RT-Thread + NANDFLASH ; 参考:《安徽大学》2012年硕士论文
【摘要】:随着嵌入式操作系统的不断发展,新的应用环境及技术需求对嵌入式软件的发展提出了更高的要求。RT-Thread作为新兴的嵌入式实时操作系统进入了行业的视线,稳定、开源、良好的实时性、组件完备等优异之处使其必将在今后的嵌入式领域大放光彩,但是仍然有许多缺点,其中,缺乏一个完美的文件系统中间层接口是缺点之一,基于不同硬件基础、应用环境下的存储设备(NANDFLASH)驱动缺少统一标准。本文在RT-Thread下,为了解决此问题,对其进行了扩展——添加了基于RT-Thread的NADNFLASH文件系统中间层。该中间层的设计提供一个灵活、可靠、高效的方案,对RT-Thread在不同类型的NADNFLASH之上建立统一接口,在不同的文件系统的选择上都游刃有余。 中间层的设计有两个方面的内容:一方面为不同类型的NANDFLASH提供统一的驱动编写接口,从本质上为RT-Thread下的NANDFLASH规范驱动编写的标准,从而简化驱动编写的过程,有效防止重复劳动:另一方面,对多文件系统的选择,让开发和应用在多领域和复杂环境下有更强的适应性及更完美的支持。 中间层的设计,采用清晰的分层设计思想,底层与上层之间相对独立,对于底层驱动的规范尽量采用POSIX标准,顶层与RT-Thread的连接可配置可选择灵活多变,设计保证文件系统的选择与硬件驱动相对封装,进而更加便于文件系统的管理,也更加适合该层的改进和移植。基于这些优势,以及论文最后的测试验证该设计在RT-Thread下有通用性和推广价值。
[Abstract]:With the continuous development of embedded operating system, the new application environment and technical requirements put forward higher requirements for the development of embedded software. RT-Thread, as a new embedded real-time operating system, has entered the industry line of sight, stable and open source. Good real-time and complete components will make it shine in the embedded field in the future, but there are still many shortcomings, among which, the lack of a perfect file system intermediate interface is one of the shortcomings. Based on different hardware, NAND flash driver in application environment is lack of uniform standard. In this paper, in order to solve this problem under RT-Thread, we extend it by adding the middle layer of NADNFLASH file system based on RT-Thread. The design of the middle layer provides a flexible, reliable and efficient scheme, which can build a unified interface for RT-Thread on different types of NADNFLASH, and can easily select different file systems. There are two aspects in the design of the middle layer: on the one hand, it provides a unified driver writing interface for different types of NANDFLASH, and essentially drives the standard for the NANDFLASH specification under RT-Thread, thus simplifies the process of driver writing. Effective prevention of duplication of effort: on the other hand, the choice of multi-file system makes development and application more adaptable and more perfect support in multi-domain and complex environment. The design of the middle layer adopts a clear idea of layering design, which is relatively independent between the bottom layer and the upper layer. The standard of POSIX is adopted as far as possible for the specification of bottom drive. The connection between top layer and RT-Thread can be configured flexibly and flexibly. The design ensures that the choice of file system is relatively encapsulated with the hardware driver, which is more convenient for the management of the file system and more suitable for the improvement and transplantation of this layer. Based on these advantages and the final test of the paper, the design is universal and worth popularizing under RT-Thread.
【学位授予单位】:安徽大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP368.1
【参考文献】
相关期刊论文 前7条
1 吴雨俊;嵌入式系统中的线性Flash文件系统设计[J];单片机与嵌入式系统应用;2003年10期
2 史彩娟;李文元;张培芬;;基于CPLD的电视信号发生器的设计与实现[J];电子测量技术;2006年03期
3 金晶,浦汉来,朱莉;基于FLASH存储器的嵌入式文件系统的设计与实现[J];电子器件;2003年02期
4 林彬;陈春俊;;高速列车空气动力学试验以太网接口设计[J];工业控制计算机;2011年08期
5 冯翔,李仁发,喻飞,易非;嵌入式Linux中闪存设备驱动程序开发[J];计算机工程与科学;2005年03期
6 秦晓康;徐惠民;;嵌入式设备NAND Flash存储系统的设计与实现[J];计算机工程与设计;2010年03期
7 张林杰;嵌入式操作系统BSP软件的研究与实现[J];无线电通信技术;2004年01期
相关硕士学位论文 前5条
1 邱yN;嵌入式实时操作系统RT-Thread的设计与实现[D];电子科技大学;2007年
2 戴彤彤;DeskFS日志文件系统的设计与实现[D];哈尔滨理工大学;2008年
3 王瑞鹏;基于CANopen+uC/OS_II平台的主从节点通信[D];天津大学;2007年
4 彭福石;NAND文件系统的研究[D];江南大学;2008年
5 何克之;基于ARM Linux的数据通信和处理系统的设计与实现[D];北京交通大学;2009年
,本文编号:1863334
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1863334.html