Design and Implementation of USB2.0 Flash Disk Firmware
- Author
- ChengYing
- Advisor
- GaoMingLun , WangRui
- School
- Hefei University of Technology
- Major
- Circuits and Systems
- Classification
- TP333 Memory
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 212
- Citations
- 1
Abstract
The rapid development of computer technology and storage technology to promote computer peripheral storage devices huge change , based on the USB ( Universal Serial Bus ) combining flash drives and flash technology birth to removable storage devices of the computer industry to bring a great impetus . With the continued enhancement of flash drives , flash drives firmware development has become the main content of the flash drive technology . This paper studies the theoretical basis of the firmware design - a variety of protocols , including USB2.0 protocol , Bulk - Only Transport Protocol as well as the SCSI command set . And then discussed the design of a flash drive support USB2.0 full-speed protocol firmware firmware hierarchical structure . The last article describes the the firmware design the hardware system , hardware system with 16MB flash memory , use a hardware emulator U-EC5 and USB the monitoring tools bushound software , firmware hardware debugging . The firmware successfully through online debugging of hardware systems . In this paper, the design of firmware has better portability , has a certain reference significance for USB2.0 flash drive firmware and other mass storage device class firmware development .
Table of contents
Abstract 5-6
Abstract 6-14
first chapter 14-18
1.1 research background 14-16
1.1.1 USB technology 14-16
1.1.2 Flash technology 16
1.2 research purpose and content 16 < br /> 1.3 paper structure 16-17
1.4 topics sources 17-18
Chapter Protocol Overview 18-32
2.1 USB 2.0 agreement 18-27
2.1.1 USB System Overview 18
2.1.2 USB topology system 18-20
2.1.2.1 USB topology Figure 18-19
2.1.2.2 USB host 19-20
2.1.2.3 USB devices 20
2.1.3 USB Electrical Characteristics 20-21
2.1.4 USB data flow model 21-27
2.1.4.1 USB traffic 21-22
2.1.4.2 Device Endpoint 22
2.1.4.3 Pipeline 22-23
2.1.4.3.1 stream pipe 23
2.1.4.3.2 message pipeline 23
2.1.4.4 frame and mini frame 23
2.1.4.5 Transport type 23-27
2.1.4.5.1 Control Transmission 24 - 26
2.1.4.5.2 bulk transfer 26-27
2.2 Mass Storage protocol 27
2.3 Bulk-Only Transport Protocol 27-30 < br /> 2.3.1 commands, data and status of the transfer process 28
2.3.2 Command Block Wrapper (CBW) 28-29
2.3.3 Command Status package ( CSW) 29-30
2.4 SCSI command set 30-32
Chapter firmware design 32-64
3.1 USB device structure 32-39
3.1.1 USB device status 32-33
3.1.2 USB bus enumeration process 33-34
3.1.3 USB device requests 34-35
3.1.4 USB device descriptor 35-39
3.1.4.1 device descriptor 35-36
3.1 .4.2 configuration descriptor 36-37
3.1.4.3 Interface Descriptor 37-38
3.1.4.4 Endpoint Descriptor 38-39
3.1.4.5 string descriptor 39
3.2 firmware, hardware environment 39-50
3.2.1 firmware hardware structure 40
3.2.2 Hardware Features 40-43
3.2.2.1 C8051F320 chip introduced 40-42
3.2.2.2 K9F2808U0C chip introduced 42-43
3.2. three internal registers introduced 43-49
3.2.4 firmware working process 49-50
3.3 firmware design 50-64
3.3. a firmware overall structure 50-51
3.3.2 firmware for the detailed design 51-64
3.3.2.1 main layer 51
3.3. 2.2 interrupt service layer 51-52
3.3.2.3 Standard request and Bulk-Only Transport Layer 52-61
3.3.2.4 flash command layer 61 - 64
Chapter firmware debugging and implementation 64-77
4.1 firmware debugging 64-74
4.1.1 U-EC5 hardware emulator debugging 64-69
4.1.1.1 U-EC5 Chinese programming software 64-66
4.1.1.2 Silabs IDE software 66-69
4.1.2 bushound debugging 69-74
4.1.2.1 device enumeration process 69-70
4.1.2.2 Bulk-Only Transport processes 70-74
4.2 firmware implementation 74-77
Chapter Summary and Outlook 77-78
5.1 Summary 77
5.2 Prospects 77 -78
References 78-80
papers published during the master's degree 80
Related dissertations
- The Design and Implementation of the Small Integrative PLC System
- The U-Boot system based on Loongson platform transplantation
- Design of the High Speed Data Acquisition System Based on USB2.0
- Multi protocol Indy R2000 UHF RFID reader design and Realization of Firmware system based on the
- The Design of Handheld Multi-function Rfid Reader Based on Coretex-A8
- Research on Techniques of Firmware Control Flow Graph Recovery
- Research on Analysis Technology of Security Flaw in Firmware
- The Design and Driver Development of USB Interface of Program-controlled Instruments
- Design of a Control System Based on USB Interface
- Design of DVB-C Digital TV Receiving System Based on USB
- Research and Implement on the Distributed Mobile Multimedia Network Intelligent Monitoring System
- Study of Data Transmission System Based on USB2.0and FPGA
- Research on Firmware Malicious Code Detection Technology Based on Model Checking
- Designing and Realization Semiconductor Temperature-control System of Zenith Telescope Area-array CCD
- The Reasearch and Application of NCUC-Bus and USB Conversion
- The Study of Well Logging Cable DataTransmission System Based on USB
- Hardware Design of Encrypted U Disk Based on Permutation Code
- USB Driver Programming Implementation Based on ARM and Linux Platform
- Research and Design of USBKEY Base on PKI/ECC
- The research and design of remote circuit experiment data acquisition system based on USB2.0