The design and implementation of embedded USB host system
- Author
- Gu
- Advisor
- HeZiShu , YeJianZhong
- School
- University of Electronic Science and Technology
- Major
- Electronics and Communication Engineering
- Classification
- TP336 Bus channel
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 423
- Citations
- 4
Abstract
Universal Serial Bus (USB-Universal Serial Bus) is a computer with an external device connected to the new technology , relative to the traditional PC serial / parallel interface , USB has a higher data transfer rate , plug-and-play , hot-swappable easy expansion and low-cost advantages . From a short period of time since the enactment of the USB standard , USB has become a the PC must- standard interface . With the popularity of USB interface , a large number of embedded applications began to consider the USB integrated into the system . Part of which is designed as a PC peripheral device , while the other part is to use a PC peripheral device USB host . , USB host at the core of the USB system structure . Any USB data transfer by USB host to initiate and control all USB devices and USB host only to establish a connection between the two devices can not communicate directly . Embedded USB host technology can solve the problems of embedded systems can not use USB devices . The paper first briefly introduced the USB , then succinctly expounded the USB protocol , followed by a detailed account of the entire design and development process of embedded USB host system , including the hardware design and software programming , and finally for a USB printer as the actual target device USB device class of examples to explain the project program .
Table of contents
Abstract 3-4
ABSTRACT 4-5
directory 5-9
first chapter 9-15 <br / > 1.1 USB Introduction the 1.1.1 USB characterized 9-12
the 9-10 the 1.1.2 USB system structure
10-11
1.1 of .3 USB system software and hardware the 11-12 topics background
1.2 program to determine 12-15
Chapter II USB protocol 15-29
2.1 USB signal characteristics 15
the 2.1.1 signal line status 15
2.1.2 Signal transmission order 15
2.1.3 encoding synchronization and bit stuffing 15
2.2 USB Communication Theory 15-23
2.2.1 USB communication structure 15-16
2.2.2 domain 16-17
2.2.3 package 17-19
2.2.4 Affairs the 2.2.5 19
transmission 19-23 < br /> 2.3 USB protocol stack 23-25 ??
2.3.1 standard USB descriptors 23-25 ??
the 2.3.2 standard USB device requests 25
2.4 USB device class 25-26
2.5 USB device state machine 26
2.6 USB bus enumeration 26-27
2.7 USB host 27-29
2.7.1 USB host system structure the 27-28 2.7.2 USB Host Controller
2.7.3 USB on the 28th host controller driver; nbsp 28
2.7.4 USB core driver 28-29
Chapter embedded USB host system hardware design 29-41
3.1 embedded USB host controller-SL811HS the 29-32
3.1.1 SL811HS, characteristics the 29-30
3.1.2 SL811HS, structure 30-32
3.1.3 SL811HS, register 32
3.2 embedded USB host microcontroller-P89C51RD2 32-36
3.2.1 P89C51RD2 Overview the 32-33
3.2.2 P89C51RD2, characteristics the 33-34
3.2.3 P89C51RD2, structure 34-35
3.2.4 P89C51RD2, programming and erasing are found; 35-36
3.3 overall circuit design nbsp the 36-41
3.3.1 SL811HS, peripheral circuits; 38-39
3.3. a 2 P89C51RD2 peripheral circuits 39-41
Chapter embedded USB host system software design 41-61
4.1 embedded USB host system software development tools 41-42
4.2 embedded USB host system software architecture overview 42-43
4.3 SL811HS with the MCU communications 43-48
4.3.1 bus definition 43-44
4.3.2 single-byte read 44-45
4.3.3 single-byte write 45
4.3.4 block read / write 45-46
4.3.5 SL811HS, memory self-test 46-47
4.3.6 USB reset 47
4.3.7 USB device clinic measured 47-48
4.4 USB protocol stack to achieve 48-61
4.4.1 USB device description breaks 48-49
4.4.2 USB packet transmission 49-55
4.4.3 USB control transfer 55-57
4.4.4 USB bulk transfer 57
4.4.5 USB device requests 57-59
4.4.6 device enumeration 59-61
Chapter V USB print device class and HP PCL 61-69
5.1 USB printing device class 61-64
5.1.1 operating model 61
5.1.2 interface 61-62
5.1.3 the equipment request 62-63
5.1.4 Device Description break 63-64
5.2 the HP the PCL Profile 64-69
5.2.1 HP PCL syntax 64-65
5.2.2 the HP OCL Application Programming 65-69
Chapter VI Conclusion 69-70
Reference 70-71
Related dissertations
- The Design of Data Storage and Communication Module Based on Embedded Technology
- The Development of Embedded USB Data Acquisition System
- The Design of Small Coal Mine Remote Monitoring System Based on ARM
- Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
- The Research and Design of Embedded Graphic Remote Monitor Terminal
- Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
- The Design and Implementation of Integrated Data Acquisiton Instrument Hardware Platform for Gas Station
- The Research for the Engraving Machine Control System Based on ARM and FPGA
- Design and Implementation of Control System for Stabilized Platform Based on Embedded System
- Study on the Control System of Lower Limbs Rehabilitative and Fitness Robot
- Research and implementation of data recorder SD card and embedded USB host based
- The Research of Embedded Web Sensor Node
- The Research of Embedded Image Processing Technology Based on ARM
- The Research and Realization of Target Tracking Algorithms on Embedded Platform
- The Core Algorithm Research and System Implementation of Embedded Image Information Processing System
- Development of embedded network fingerprint attendance system
- A Drowning Features Recognition System Based on AIS
- Design and Implementation of Automated GUI Testing Framework Based on Android
- Research and design of secure data terminal based on Trusted Computing
- FPGA Implementation of USB Interface Based on UPLI Protocol