Validation and applications of mass storage devices
- Author
- TianMao
- Advisor
- LiGuangJun
- School
- University of Electronic Science and Technology
- Major
- Signal and Information Processing
- Classification
- TP333 Memory
- Degree
- Master's thesis
- Year
- 2003
- Downloads
- 165
- Citations
- 4
Abstract
This article introduces the design method of firmware in USB Mass Storage Device. In this article , We tested the performance and practicability.of Mass Storage Device This application and test based on the USB2.0 Protocol and Bulk-Only Protocol. It is helpful for in-depth research, exploitation of Mass Storage Device.
Table of contents
Introduction 9-11
1.1 high-capacity storage devices (Mass Storage Device) About 9
1.2 subject source and background 9 < br /> 1.3 design elements and objectives
1.4 development environment 9-10
1.5 significance 10-11
Chapter II mass storage device related technologies Overview 11-14
2.1 USB bus Profile 11-12
2.2 Mass. Storage agreement with FAT16 12-14
Chapter III USB protocol analysis 14-34
3.1 USB data flow model 14-21
3.1.1 to achieve those who view 14-16
3.1.2 USB traffic 16-17
3.1.3 device endpoint 17-18 <br / 3.1.4 Channel 18-21
3.1.5 Delivery Type 21
3.2 USB Device Architecture Analysis 21-34
3.2.1 USB device status 22-25
3.2.2 Generic USB device operation 25-28
3.2.3 USB devices request 28-31
3.2.4 standard set exhausted request 31-32
3.2.5 Description Table 32
3.2. device class definition 32-34
Chapter BULK-ONLY protocol and SCSI commands Profile 34-40
4.1 the BULK-ONLY transfer agreement 34 -37
4.1.1 Command Block Wrapper (CBW) 34-35
4.1.2 Command Status Wrapper (CSW) 35-36
4.1.3 BULK-ONLY transfer type 36-37
4.1.4 host? equipment synchronization 37
4.2 SCSI command set 37-40
4.2.1 Overview 37-38
4.2.2 Mass. Storage for use by protocols command 38-40
Chapter USB2.0 Mass Storage device design and 40-66 5.1 hardware platform
About 40
5.2 USB2.0IP nuclear Profile 40-42
5.2 firmware by the overall structure of 42-43
5.3 USB device recognition to achieve 43-50
1) Attached 45
2) Powered 45-47
3) Default 47-48
4) Address 48-50
5) Configured 50
6) Suspend 50
5.4 Bulk-Only protocol 50-57
5.4.1 Bulk-Out Interrupt processing to achieve 51-52
5.4.2 Bulk-In interrupt handler to achieve 52-53
5.4.3 exception BULK-ONLY transfer device processing 53 -57
5.5 SCSI command processing to achieve 57-62
5.5.1 the Read (10) the response of the command device 58-59
5. 5.2 Write (10) command device response 59
5.5.3 REQUEST_SENSE command device response 59-60
5.5.4 INQUIRY command equipment response 60-61
5.5.5 Test Unit Ready command device response 61
5.5.6 the Mode Sense command device's response 61 < br /> 5.5.7 Mode Select command device response 61-62
5.5.8 Read Capacity command device response 62
5.6 FLASH ( flash memory) operations and storage management 62-66
5.6.1 the FAT16 file system description 62-63
5.6.2 the FLASH disk FAT structure 63-64
5.6.3 firmware FLASH physical operation 64-66
Chapter VI development and debugging process 66-75
6.1 test and verification environment 66-67
6.2 Test Description 67
6.3 testing process and results of analysis 67-73
.3.1 provide descriptive character 67-69
6.3.2 Bulk-Only Transfer Protocol debugging steps and content 69-70
6.3.3 Mass Storage device functionality debugging steps and content 70-73
6.4 tests found the problem and its analysis 73-75
6.4.1 the Mode Sense command response to an incorrect result in the disk can not be accessed 73-74
6.4.2 DMA mode and non-DMA mode selection 74
6.4.3 SCSI The command set Write10 command processing 74-75
Chapter VII of the design is completed Evaluation and Analysis 75-77
References 77-76
Acknowledgement 76-78
Appendix: 78-100
Appendix I: USB 2.0 test board physical map 78-79
Appendix II: Bus Hound test results 79-80
Appendix III: standard equipment request 80-82
Appendix IV: standard device description table 82-84
Appendix V: Standard configuration description table 84-85
Appendix VI: Standard interface description 85-87
Appendix VII: Standard Endpoint Descriptor Table 87-89
Appendix VIII: mass storage device descriptor defined 89-92
Appendix 9: FAT16 instructions 92-95
Appendix 10: the Samsung K9F5608U0B chip 95-100
biographical 100
Related dissertations
- Research and Realization of the Implementation of Mass Storage Device in Embedded System
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Usb Without Invasive Data Collection Technology Research
- Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
- Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
- Grating Data Acquisition and Error Correction Technology
- CCD Data Acquisition System Implementation Based on FPGA
- Research of Data Acquistion System Based on FPGA
- Research and design of intelligent 3D pulse peak field strength tester
- Multi functional comprehensive test instrument based on Virtual Instrument Technology
- Embedded Fingerprint Identification System and Storage Technology
- Research on the Digital Broadband Electromagnetic Tomography System
- VxWorks Migration on VME Bus Embedded Controler
- Embedded Linux-based USB Encryption Driver Design
- Research and Implementation of Usbtmc Specification about Universal Test Instrument
- Research Communication Device and Communication Protocols Based on USB Interface
- Research and Implementation of Infrared Touch Screen Based on HID Class
- The Designand Realization of Embedded USB Mass Storage System
- Design and development of laser gyro and USB interface frequency test system
- Analysis and Application of USB3.0High-Speed Signal Integrity