嵌入式USB海量存儲系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)
本文選題:嵌入式 + ARM��; 參考:《河北工業(yè)大學(xué)》2013年碩士論文
【摘要】:隨著數(shù)碼產(chǎn)品的快速更新和嵌入式產(chǎn)品的層出不窮,我們迎來了信息產(chǎn)業(yè)的迅猛發(fā)展,在這個信息時代里,數(shù)據(jù)的快速傳輸和方便存儲無疑是我們關(guān)注的熱點(diǎn)問題。 嵌入式系統(tǒng)以應(yīng)用為核心,依托計(jì)算機(jī)技術(shù)基礎(chǔ),軟硬件可裁剪,其硬件系統(tǒng)高度集成,將各種總線控制器集成到處理器中,具有超低功耗和較小的體積,可實(shí)現(xiàn)對特定領(lǐng)域完成特定功能。隨著ARM、PowerPC等嵌入式芯片以及其他硬件設(shè)備的微型化,嵌入式設(shè)備得到了迅速發(fā)展,用戶可以通過各種手持設(shè)備,完成個人PC的任務(wù)。 USB是大家所熟知的在計(jì)算機(jī)總線中應(yīng)用最為廣泛的接口技術(shù),同樣它在嵌入式系統(tǒng)中有著舉足輕重的地位,由于USB設(shè)備具有使用方便,傳輸速度快等優(yōu)點(diǎn),USB傳輸成了首選之一。而Linux操作系統(tǒng)以其內(nèi)核小,效率高,多平臺支持,開源免費(fèi)等特性在嵌入式市場中占有很高的份額。 本文提出了在Linux平臺下USB大容量存儲系統(tǒng)的設(shè)計(jì)方案。本論文分析了Linux設(shè)備模型、SCSI協(xié)議和USB協(xié)議的技術(shù)手冊。通過設(shè)計(jì)和開發(fā)在Linux操作系統(tǒng)上的USB的設(shè)備驅(qū)動和Gadget存儲類驅(qū)動,實(shí)現(xiàn)嵌入式海量存儲設(shè)備OTG的功能,即嵌入式海量存儲設(shè)備既可以作為設(shè)備端被PC機(jī)識別為海量存儲設(shè)備,同時也可以作為主機(jī)端驅(qū)動U盤等可移動存儲設(shè)備類。 本文中選用ARM11芯片S3C6410作為核心處理器,構(gòu)建和實(shí)現(xiàn)了USB主機(jī)和USB設(shè)備的海量的存儲系統(tǒng),采用Nand Flash作為非易失性存儲器,存儲根文件系統(tǒng)以及用戶文件等。在硬件資源方便,本設(shè)計(jì)提供給用戶3個A類型的USB Hub接口、一個mini USB接口以及一個SD卡讀卡器,向用戶提供了多種讀取移動存儲設(shè)備的方式,方便用戶轉(zhuǎn)存數(shù)據(jù)。在軟件方面,本設(shè)計(jì)主要包括USB驅(qū)動、用戶操作界面、Gadget驅(qū)動程序等。本設(shè)計(jì)采用QT圖形界面系統(tǒng),向用戶提供了一個友好的本地操作移動存儲設(shè)備內(nèi)文件的界面。此外,用戶還可以通過PC將本設(shè)計(jì)識別為海量存儲設(shè)備,并進(jìn)行讀寫操作。 本設(shè)計(jì)涉及的硬件電路以及軟件均采用模塊化設(shè)計(jì)方法,層次清晰,便于分析等。此方法可以很好的實(shí)現(xiàn)嵌入式USB海量存儲系統(tǒng)。
[Abstract]:With the rapid update of digital products and the endless stream of embedded products, we have ushered in the rapid development of the information industry. In this information age, the rapid transmission and storage of data is no doubt a hot issue that we pay attention to.
The embedded system is based on the application as the core, relying on the computer technology foundation, the hardware and software can be cut, the hardware system is highly integrated, the various bus controllers are integrated into the processor, with ultra-low power consumption and small volume, and the specific functions can be accomplished in a particular field. With ARM, PowerPC and other embedded chips and other hardware devices With the development of miniaturization and embedded devices, users can complete the task of personal PC through various handheld devices.
USB is known as the most widely used interface technology in the computer bus. It also plays an important role in the embedded system. Because the USB device has the advantages of convenient use and fast transmission speed, the USB transmission has become one of the first choice. The Linux operating system is based on its small kernel, high efficiency, multi platform support and open source free of charge. Such characteristics occupy a high share in the embedded market.
The design of USB large capacity storage system under the Linux platform is proposed in this paper. This paper analyzes the Linux device model, the SCSI protocol and the technical manual of the USB protocol. By designing and developing the USB device driver and Gadget storage class drive on the Linux operating system, the function of the embedded massive storage device OTG, that is, the embedded sea, is designed and developed. The volume storage device can be recognized as a mass storage device by the PC as the device end, and can also be used as a removable storage device class such as U disk on the host side.
In this paper, ARM11 chip S3C6410 is selected as the core processor, and the mass storage system of USB host and USB device is constructed and implemented. Nand Flash is used as non-volatile memory, and the root file system and user files are stored. In hardware resources, this design provides 3 A types of USB Hub interface for users and a mini USB connection. The design mainly includes USB driver, user interface, Gadget driver and so on. This design uses the QT graphical interface system to provide users with a friendly local operation mobile storage device. In addition, users can also identify the design as mass storage device through PC, and read and write operations.
The hardware circuit and software used in this design are modular design method, the level is clear and easy to analyze. This method can realize the embedded USB mass storage system well.
【學(xué)位授予單位】:河北工業(yè)大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2013
【分類號】:TP333
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 熊偉;董金明;;嵌入式Linux中根文件系統(tǒng)的實(shí)現(xiàn)[J];電子測量技術(shù);2007年07期
2 劉偉;童敏;;Linux 2.6內(nèi)核的嵌入式系統(tǒng)應(yīng)用[J];電子技術(shù)應(yīng)用;2006年01期
3 馬忠梅;ARM嵌入式處理器與嵌入式系統(tǒng)[J];電子世界;2003年03期
4 姜國松;丁紅;狄平;謝長生;;一種高性能陣列架構(gòu)研究[J];計(jì)算機(jī)科學(xué);2009年03期
5 張鵬;孫世磊;劉瑞北;何明聰;;LINUX+ARM下的USB驅(qū)動開發(fā)[J];計(jì)算機(jī)工程與科學(xué);2006年03期
6 周余;王自強(qiáng);都思丹;;Linux Gadget系統(tǒng)及其在S3c2410上的海量存儲研究[J];計(jì)算機(jī)應(yīng)用;2006年S2期
7 肖杰;李仁發(fā);徐成;;基于嵌入式Linux設(shè)備驅(qū)動程序的開發(fā)[J];科學(xué)技術(shù)與工程;2006年03期
8 朱香衛(wèi),陸衛(wèi)忠;LINUX系統(tǒng)下的字符設(shè)備驅(qū)動程序的設(shè)計(jì)[J];連云港化工高等專科學(xué)校學(xué)報;2001年01期
9 馬豐璽;楊斌;衛(wèi)洪春;;非易失存儲器NAND Flash及其在嵌入式系統(tǒng)中的應(yīng)用[J];計(jì)算機(jī)技術(shù)與發(fā)展;2007年01期
10 邵長彬;李洪亮;;用Busybox制作嵌入式Linux根文件系統(tǒng)[J];微計(jì)算機(jī)信息;2007年29期
,本文編號:1910869
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1910869.html