The Portable Data Storage System Based on USB
- Author
- LiuJinFeng
- Advisor
- YangFang
- School
- Northeast Agricultural University
- Major
- Agricultural Electrification and Automation
- Classification
- TP333 Memory
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 444
- Citations
- 6
Abstract
USB interface with easy to use , high data transfer rate , but also supports plug-and-play features , but due to the complexity of the USB interface protocol involved a wide , especially in the software more types , and a wide range of USB chip , making the development of USB devices very difficult. With the gradual expansion of USB applications , the expectations of the people for the USB is getting higher and higher , USB can be applied in a variety of computer areas , especially in the field of mobile data hopes PDA and other mobile devices directly and USB the peripherals communication , USB can be used in the field without a PC . The USB applied to the field of embedded USB peer-to-peer communication , to become the USB hot area of ??research . This paper introduces the main from a USB controller chip SL811HS, microcontroller embedded systems applications . , Focusing on the use of this chip in the C programming language, under the control of how to identify U disk insertion and removal , and how to write microcontroller data required by protocol describes the main features of the SL811HS controller chip based on U disk , including FAT file protocol , USB1.1 protocol and UFI command protocol agreement . In device selection , in addition to host controller functionality SL811HS chip , the chip uses its core is fully compatible with MCS-51 AT89C55 It has 20K of FLASH do not have to chip expansion ROM, and simplify the hardware circuit . Serial protocol of the system to achieve a single-chip U disk data storage , speed , storage capacity , data easy to read , intuitive and clear , the system is safe and reliable , strong anti-jamming capability , scalability , and design for the next -bit machine simple , usually meet the data acquisition system data storage requirements .
Table of contents
Summary 7-8
English summary 8-9
Preface 9-12
1.1 Background and significance of the research - 10
1.2 Research Survey at home and abroad 10-11
1.3 The main work the 11-12
2 USB basic characteristics the 12-16
2.1 USB basic architecture the 12-13 2.2 USB
hardware specification 13-15
2.2.1 USB hardware features 13-14
2.2.2 USB power management 14-15
2.3 USB encoding 15-16
System Application Protocol Overview 16-27
3.1 USB1.1 agreement the 16-24
3.1.1 USB communication protocol 16-18
3.1.2 packet format 18-19
3.1 .3 USB transfer types 19-20
3.1.4 USB data exchange format 20-23
3.1.5 USB descriptor 23-24 <br / > 3.1.6 USB device requests 24
3.2 FAT file protocol 24-26
3.3 UFI command protocol 26-27
SL811HS chip Main features 27-33
4.1 SL811HS chip Overview 27-28
4.1.1 external microcontroller and USB connector 27
4.1. 2 power-on and reset mode 27-28
4.1.3 chip Features 28
4.2 SL811HS register 28-30
4.2.1 Power-on value of each register and reset 28
the 4.2.2 USB control register 28-29
4.2.3 Additional control registers 29-30 <br / > 4.3 chip logic diagram the 30-31
4.4 SL811HS pin functionality 31-33
USB-based portable data storage system designed 33-44 < br /> 5.1 constitutes 33
5.2 system hardware design 33-36
5.2.1 microcontroller, select 33-34
5.2.2 expanded RAM unit 34-35
5.2.3 SL811HS, unit circuit design 35-36
5.3 system software design 36-44
5.3. 1 development platform 36
5.3.2 Main program designed to 36-41
5.3.3 serial interrupt the processing subroutine Design 41-43
5.3 .4 USB data transfer subroutine designed 43-44
6 system test the 44-46
6.1 testing purposes 44
6.2 Functional test 44-45
6.3 performance test 45
6.4 Analysis of the 45-46 July
conclusion 46-47
Reference literature 47-50
Appendix 1 main circuit schematic diagram 50-51
Appendix 2 C language source code fragment 51-55
master's degree Papers published during 55-56
Acknowledgements 56
Related dissertations
- 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
- A Reaserch of Phase Locked Loop Design Applying to Universal Serial Bus Equipment