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