基于RT-Thread的NANDFLASH文件系統(tǒng)中間層的設計與實現
本文選題:RT-Thread + NANDFLASH ; 參考:《安徽大學》2012年碩士論文
【摘要】:隨著嵌入式操作系統(tǒng)的不斷發(fā)展,新的應用環(huán)境及技術需求對嵌入式軟件的發(fā)展提出了更高的要求。RT-Thread作為新興的嵌入式實時操作系統(tǒng)進入了行業(yè)的視線,穩(wěn)定、開源、良好的實時性、組件完備等優(yōu)異之處使其必將在今后的嵌入式領域大放光彩,但是仍然有許多缺點,其中,缺乏一個完美的文件系統(tǒng)中間層接口是缺點之一,基于不同硬件基礎、應用環(huán)境下的存儲設備(NANDFLASH)驅動缺少統(tǒng)一標準。本文在RT-Thread下,為了解決此問題,對其進行了擴展——添加了基于RT-Thread的NADNFLASH文件系統(tǒng)中間層。該中間層的設計提供一個靈活、可靠、高效的方案,對RT-Thread在不同類型的NADNFLASH之上建立統(tǒng)一接口,在不同的文件系統(tǒng)的選擇上都游刃有余。 中間層的設計有兩個方面的內容:一方面為不同類型的NANDFLASH提供統(tǒng)一的驅動編寫接口,從本質上為RT-Thread下的NANDFLASH規(guī)范驅動編寫的標準,從而簡化驅動編寫的過程,有效防止重復勞動:另一方面,對多文件系統(tǒng)的選擇,讓開發(fā)和應用在多領域和復雜環(huán)境下有更強的適應性及更完美的支持。 中間層的設計,采用清晰的分層設計思想,底層與上層之間相對獨立,對于底層驅動的規(guī)范盡量采用POSIX標準,頂層與RT-Thread的連接可配置可選擇靈活多變,設計保證文件系統(tǒng)的選擇與硬件驅動相對封裝,進而更加便于文件系統(tǒng)的管理,也更加適合該層的改進和移植;谶@些優(yōu)勢,以及論文最后的測試驗證該設計在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 吳雨俊;嵌入式系統(tǒng)中的線性Flash文件系統(tǒng)設計[J];單片機與嵌入式系統(tǒng)應用;2003年10期
2 史彩娟;李文元;張培芬;;基于CPLD的電視信號發(fā)生器的設計與實現[J];電子測量技術;2006年03期
3 金晶,浦漢來,朱莉;基于FLASH存儲器的嵌入式文件系統(tǒng)的設計與實現[J];電子器件;2003年02期
4 林彬;陳春俊;;高速列車空氣動力學試驗以太網接口設計[J];工業(yè)控制計算機;2011年08期
5 馮翔,李仁發(fā),喻飛,易非;嵌入式Linux中閃存設備驅動程序開發(fā)[J];計算機工程與科學;2005年03期
6 秦曉康;徐惠民;;嵌入式設備NAND Flash存儲系統(tǒng)的設計與實現[J];計算機工程與設計;2010年03期
7 張林杰;嵌入式操作系統(tǒng)BSP軟件的研究與實現[J];無線電通信技術;2004年01期
相關碩士學位論文 前5條
1 邱yN;嵌入式實時操作系統(tǒng)RT-Thread的設計與實現[D];電子科技大學;2007年
2 戴彤彤;DeskFS日志文件系統(tǒng)的設計與實現[D];哈爾濱理工大學;2008年
3 王瑞鵬;基于CANopen+uC/OS_II平臺的主從節(jié)點通信[D];天津大學;2007年
4 彭福石;NAND文件系統(tǒng)的研究[D];江南大學;2008年
5 何克之;基于ARM Linux的數據通信和處理系統(tǒng)的設計與實現[D];北京交通大學;2009年
,本文編號:1863334
本文鏈接:http://www.sikaile.net/kejilunwen/jisuanjikexuelunwen/1863334.html