嵌入式USB海量存储系统的设计与实现
发布时间:2018-05-19 16:43
本文选题:嵌入式 + ARM ; 参考:《河北工业大学》2013年硕士论文
【摘要】:随着数码产品的快速更新和嵌入式产品的层出不穷,我们迎来了信息产业的迅猛发展,在这个信息时代里,数据的快速传输和方便存储无疑是我们关注的热点问题。 嵌入式系统以应用为核心,依托计算机技术基础,软硬件可裁剪,其硬件系统高度集成,将各种总线控制器集成到处理器中,具有超低功耗和较小的体积,可实现对特定领域完成特定功能。随着ARM、PowerPC等嵌入式芯片以及其他硬件设备的微型化,嵌入式设备得到了迅速发展,用户可以通过各种手持设备,完成个人PC的任务。 USB是大家所熟知的在计算机总线中应用最为广泛的接口技术,同样它在嵌入式系统中有着举足轻重的地位,由于USB设备具有使用方便,传输速度快等优点,USB传输成了首选之一。而Linux操作系统以其内核小,效率高,多平台支持,开源免费等特性在嵌入式市场中占有很高的份额。 本文提出了在Linux平台下USB大容量存储系统的设计方案。本论文分析了Linux设备模型、SCSI协议和USB协议的技术手册。通过设计和开发在Linux操作系统上的USB的设备驱动和Gadget存储类驱动,实现嵌入式海量存储设备OTG的功能,即嵌入式海量存储设备既可以作为设备端被PC机识别为海量存储设备,同时也可以作为主机端驱动U盘等可移动存储设备类。 本文中选用ARM11芯片S3C6410作为核心处理器,构建和实现了USB主机和USB设备的海量的存储系统,采用Nand Flash作为非易失性存储器,存储根文件系统以及用户文件等。在硬件资源方便,本设计提供给用户3个A类型的USB Hub接口、一个mini USB接口以及一个SD卡读卡器,向用户提供了多种读取移动存储设备的方式,方便用户转存数据。在软件方面,本设计主要包括USB驱动、用户操作界面、Gadget驱动程序等。本设计采用QT图形界面系统,向用户提供了一个友好的本地操作移动存储设备内文件的界面。此外,用户还可以通过PC将本设计识别为海量存储设备,并进行读写操作。 本设计涉及的硬件电路以及软件均采用模块化设计方法,层次清晰,便于分析等。此方法可以很好的实现嵌入式USB海量存储系统。
[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.
【学位授予单位】:河北工业大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP333
【参考文献】
相关期刊论文 前10条
1 熊伟;董金明;;嵌入式Linux中根文件系统的实现[J];电子测量技术;2007年07期
2 刘伟;童敏;;Linux 2.6内核的嵌入式系统应用[J];电子技术应用;2006年01期
3 马忠梅;ARM嵌入式处理器与嵌入式系统[J];电子世界;2003年03期
4 姜国松;丁红;狄平;谢长生;;一种高性能阵列架构研究[J];计算机科学;2009年03期
5 张鹏;孙世磊;刘瑞北;何明聪;;LINUX+ARM下的USB驱动开发[J];计算机工程与科学;2006年03期
6 周余;王自强;都思丹;;Linux Gadget系统及其在S3c2410上的海量存储研究[J];计算机应用;2006年S2期
7 肖杰;李仁发;徐成;;基于嵌入式Linux设备驱动程序的开发[J];科学技术与工程;2006年03期
8 朱香卫,陆卫忠;LINUX系统下的字符设备驱动程序的设计[J];连云港化工高等专科学校学报;2001年01期
9 马丰玺;杨斌;卫洪春;;非易失存储器NAND Flash及其在嵌入式系统中的应用[J];计算机技术与发展;2007年01期
10 邵长彬;李洪亮;;用Busybox制作嵌入式Linux根文件系统[J];微计算机信息;2007年29期
,本文编号:1910869
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1910869.html