The Research and Development of the USB Test System
- Author
- LiuJingJing
- Advisor
- GuHong
- School
- Nanjing University of Technology and Engineering
- Major
- Signal and Information Processing
- Classification
- TP336 Bus channel
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 262
- Citations
- 7
Abstract
USB (Universal Serial Bus, Universal Serial Bus ) is used to connect peripheral devices to the computer of a new standard interface , currently in the computer peripherals already more widely used . Papers USB-based experimental systems developed according to the needs , to understand the internal mechanism of USB traffic for USB-based hardware and software development . With this USB application system design and implementation, based on the USB bus master interface technology application and development . This paper describes the development of the USB bus interface , USB bus protocol and the USB bus interface chip PDIUSBD12; then focuses according to the USB bus protocol, carried out the USB interface circuit design ; followed by detailed discussion of the USB firmware experimental system design , US8 WDM driver interface to design and based on Visual C host application software development.
Table of contents
1 Introduction 9-12
1.1 research purpose and meaning 9
1.2 Overview of bus (USB) 9-10
1.3 The main research content and structure of the paper 10-12
2 USB bus specification 12-26
2.1 Introduction 12
2.2 USB basic characteristics 12-17
2.2.1 USB infrastructure 12
2.2.2 USB bus structure 12-13
2.2.3 USB data flow model and pipelines The concept 13-15
2.2.3.1 USB logical bus topology 13-14
2.2.3.2 USB traffic 14
2.2.3.3 pipeline concept 14-15
2.2.4 USB hardware specification 15-17
2.2.4.1 USB hardware features 15-16
2.2 .4.2 USB interface electrical characteristics 16-17
2.2.4.3 USB power management 17
2.2.5 USB encoding 17
2.3 USB communication protocol 17-25
2.3.1 USB packet data field types 17-18
2.3.2 packet format 18-19
2.3.3 USB transfer types 19-20
2.3.4 USB descriptors 20-24
2.3.5 USB device requests 24-25
2.4 Summary 25-26
3 USB experimental system hardware circuit design 26-38
3.1 Introduction 26
3.2 USB Interface Common chip 26
3.3 PDIUSBD12 features 26-34
3.3.1 PDIUSBD12 chip general description 26-27
3.3.2 PDIUSBD12 composition 27-29
3.3.2.1 analog transceiver 28
3.3.2.2 voltage regulator 28
3.3.2.3 PLL 28
3.3.2.4 bit clock recovery 28
3.3.2.5 PHILIPS Serial Interface Engine (PSIE) 28
3.3.2.6 Memory Management Unit (MMU) and Integrated RAM 28-29
3.3.2.7 Parallel and DMA interface 29
3.3.3 PDIUSBD12 endpoint mode 29-30
3.3.4 PDIUSBD12 Pin Configuration and Typical Connection 30-33
3.3.4.1 PDIUSBD12 pin configuration 30-31
3.3.4.2 PDIUSBD12 typical connection 31-33 < br /> 3.3.5 PDIUSBD12 read and write commands Introduction 33-34
3.3.5.1 initialization commands 33
3.3.5.2 Data Flow command 33-34 < br /> 3.3.5.3 General Command 34
3.4 USB experimental system hardware circuit design 34-37
3.4.1 USB experimental system circuit diagram 34 - 35
3.4.2 USB interface circuit of each module introduces 35-37
3.4.2.1 suspend and reset circuit 35-36
3.4.2.2 Electrostatic Discharge ( ESD) protection circuit 36-37
3.5 Summary 37-38
4 firmware programming 38-50
4.1 Introduction 38
4.2 USB Firmware Programming Overview 38-39
4.3 firmware programming strategy 39-40
4.4 firmware structure 40-41
4.5 USB application system firmware programming 41-49
4.5.1 two important data structures 41-43
4.5.1.1 USB event flags of the Commonwealth 41-42
4.5.1.2 data buffer structure 42-43
4.5.2 The main loop 43-44
4.5.3 Interrupt Service Routine 44-45
4.5.3.1 Control endpoint handler 44-45
4.5.3.2 common endpoint handler 45
4.5.4 Standard device requests and vendor requests 45-47
4.5.4.1 USB standard device request and control transfer relationship 45
4.5.4.2 protocol layer programming 45 - 47
4.5.5 PDIUSBD12 command interface 47-48
4.5.5.1 initialization commands 47
4.5.5.2 Data Flow command 47-48 < br /> 4.5.5.3 General Command 48
4.5.6 Hardware Abstraction Layer 48-49
4.6 Chapter Summary 49-50
5 devices Driver Design 50-59
5.1 Introduction 50
5.2 driver features 50
5.3 device drivers and USB system software division of roles 50-52
5.4 devices and drivers hierarchy 52-53
5.5 driver design 53-58
5.5.1 two important Concepts IRP and URB 53
5.5.2 DriverEntry () routine 53-55
5.5.3 The main routine processing plug IRP D12_Dispatch 55-56
5.5.4 Power Management IRP's main routine D12_ProcessPowerIrp 56-57
5.5.5 IRP process the data read and write the main routine of D12_Write and D12_Read 57 -58
5.5.6 The main routine processing WMI D12_Dispatch 58
5.6 Chapter Summary 58-59
6 USB experiment system host application software design 59-67
6.1 Introduction 59
6.2 Software Development Kit 59-60
6.3 software features and implementation process 60
6.4 Software Design 60-66
6.5 Chapter Summary 66-67
7 Conclusion 67-68
Thanks 68-69 < br /> References 69-70
Related dissertations
- Research and Application of USB Interface Technology to Recording Telephone
- Research on the Image Transmission Module of Capsule Endoscope System Based on USB2.0 Technology
- Development of Computerized Intermediate Frequency Therapy Apparatus and Control Center
- Design and Realization of High-Energy Industrial Computed Tomography System Multi-Channel Data Transfer and Control Interface
- Design and Implementation of High Speed Transmission Interface for Medicinal Ultrasonic Data
- Development of Inductance Sensor Signal Acquisition System Based on USB
- The Research of Communications and Interface-driven Based on USB
- The Design and Implementation of Remote Monitoring System for Solar Hot Water Project
- The Manufacture of Synthesized Data Transmission and Collection Module
- Design and Implementation of Medical Data Monitoring System Based on HL7Standard
- Data Acquisition and Management System of Wireless Remote Large-diameter Water Meter
- Research on the Embedded Control System of Fed-Batch Culture in the Production of Monosodium Glutamate
- Microcomputer-controled Precision AC High-Voltage Power
- The Design and Implementation of the Small Integrative PLC System
- Research and Implementation of Big Data Transmission Technology Based on WAN
- Research of Deception and Anti-Attack Methods in Dynamic Target Defense
- Research in Imaging System for2D Image Based on Linear Array CCD
- Study on Industrialrobot Real-time Controlsoftware with Windows-based
- Embedded Linux-based USB Encryption Driver Design
- Disk Image Management System Based on Distributed Storage