文档介绍:华中科技大学
硕士学位论文
基于Mini6410的USB虚拟存储
姓名:王书军
申请学位级别:硕士
专业:电子与通信工程
指导教师:严国萍
2011-05-24
华中科技大学硕士学位论文
摘要
本文是在实习期间,以公司的实际产品为背景,设计的一种基于无线网络的虚
拟存储设备。设计的开发平台是 Mini6410,所用的主控制芯片是 S3C6410,主机和
目标机的软件开发平台均是 Linux 下的编辑,编译环境。
虚拟存储技术是一种逻辑存储技术,它把人们对虚拟存储系统进行的各种操作
镜像到另一个物理存储系统上,也就是虚拟存储技术通过软技术来间接达到对物理
存储设备的管理和控制。而无线局域网的发展尤其是 Wifi 技术的广泛应用使虚拟存
储的实现变得更加灵活。
论文从系统的设计目标,设计流程和系统设计框图等方面对系统做了总体说明。
虚拟存储设备的实现方案包括接口电路单元,主控制器单元,网络收发单元等三个
部分。
论文介绍了嵌入式开发环境,并搭建了本设计的开发环境平台。主要工作包括
在主机上安装 Vmware,Fedora9 以及开发工具,选用和配置目标机上的 Bootloader,
嵌入式根文件系统和内核,最后实现下载内核等。
论文还进行了开发板端的程序设计部分。文中介绍了 USB 协议的基础知识,包
括 USB 规范,设备描述符,设备请求命令和传输机制。论文介绍了 Linux 下的网络
编程的基础知识。在介绍 USB 协议和 Linux 网络编程之后,论文介绍了 Mini6410
作为 Mass-storage 类的 USB 设备被枚举的过程,以及 Linux 下无线通信的网络编程
实现。最后对整个工作进行了总结。
关键字:虚拟存储嵌入式系统 Mini6410 USB 枚举网络通信
I
华中科技大学硕士学位论文
Abstract
This article proposed a virtual storage device program, which is on the background of
actual’s product, to enhance the user’s experience. The development platform is the
Mini6410,the main control chip is the S3C6410,the software development platforms in
host and target are all Linux environment.
Virtual storage technology is a logical storage technology,which is used to mirror the
various operations,which is implemented by pepole, to another physical storage system.
That is the virtual storage technology which manage and control the physical storage
device by the soft technology indirectly. The development of wireless LAN technology ,
especially the extensive use of Wifi make the virtual storage e more flexible.
This article describes the system design goals,the design process and the system
design block diagram. The virtual storage devices posed of interface circuit unit, the
main controller unit,and work transceiver unit .
The paper describes the embedded development environment, and built the platform
for the design of the development environment. In the host, Vmware, Fedora9 and
development tools were installed. In the