文档介绍:电子科技大学硕士学位论文 U盘在智能手机上的应用姓名:彭荣莉申请学位级别:硕士专业:通信与信息系统指导教师:李晓峰 20050101 摘要摘要 USB(Universal Serial Bus)是为解决计算机外设种类的目益增加与有限的主板插槽和端口之间的矛盾而提出制定的。它是把使用 USB的外围设备连接到主板的一种外部总线结构。同时它也是一种通信协议,支持主机与usB外围设备之间的数据传输。USB为计算机外设输入输出提供了新的接口标准。它使设备具有热插拔、即插即用、自动配置的能力,并标准化设备连接。自从其规范发布以来,短短几年中USB得到极大的发展,基于 USB接口的大容量存储设备(USB Mass Storage)应运而生。这类设备主要有USB移动硬盘、USB外置光驱、USB闪存盘等。本论文首先介绍了将USB大容量存储设备应用与智能手机的意义和USB出现的背景及发展现状。接着,介绍了开发USB大容量存储设备中涉及到的不同层次的协议,包括USB协议规范、BULK ONLY传输协议及大容量存储设备涉及到的UFI命令和F1ash盘的结构特点。最后,本论文重点介绍在USB通用控制器上开发基于Flash闪存的USB大容量存储设备(USB Mass Storage Device)的系统设计和详细开发过程以及软件调试方法,通过尝试开发USB Mass Storage 设备,对该类设备进行可行性研究及功能实现,并提出了将USB用到嵌入式软件开发中以提高开发速度的构想,扩展了USB的应用。本论文通过对USB协议规范和BuLK ONLY传输协议的研究,对大容量存储设备的可行性和功能实现做了探索性的实践尝试,对今后在 USB通用芯片平台上对大容量存储设备技术作进一步的研究、跟进和开发利用有着重要的意义。关键字: USB,大容量存储设备,BULK ONLY,FATl6,UFI Abstract Abstract USB(Universal SerialBus)is designed tosolve thecontradiction between the increasing peripheral devices and the limited interfaces ofthe main board is akindof outer bus structure which isused toconnect theperipheral devices and main ,USB isalso acommunication protocol,which supports the datatransaction between USB hosts andUSB aword,USB provides anew kind ofstandard interface puters andinput/output such as electricaldetailiSolating from end user anddynamically attachableandreconfigurable peripherals make iteasier to USe forend users. SincetheUSB Specification isreleased,Greatprogress has USB Mass Storage products based Oilithave been developed,such as USB portable disk、USB CD-ROM、USB Flash diskand SO on. Firstly,this dissertation introduces theimportance ofapplication oftheUSB mass storage device on smartphone and thebackground ofUSB. Secondly,we explain theprotocols indifferentlayers fordeveloping USB mass storage device,including USB specification,BULK ONLY transport specification and mands for mass storage devices. At last,we focus on introducing thedesign method offirmware inUSB Mass Storage Device