The Design of USB Host/Slave Interface in Embedded Systems Based on ARM
- Author
- DengWenZuo
- Advisor
- ZhangYunSheng
- School
- Kunming University of Science and Technology
- Major
- Detection Technology and Automation
- Classification
- TP334.7 Interface devices,plug-in
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 553
- Citations
- 3
Abstract
USB (Universal Serial Bus) which has hugely changed the development of the technology of connecting computers to external equipments, has lots of advantages, just as plug and play, hot plug, small volume of the interface, and so on. The USB system usually involves two aspects: USB host contoller and USB slave controller. Today, the USB slave system has been extensively adopted and the USB host control applications in PCs are widespread. As the expanding of USB application area, it is more and more necessary to add mobilestorage function to embedded system. But, the limit resources have greatly restricted the development of USB host technology in embeded systems, especially the one which has not an operating system. Now, the application and realization of the USB technology to embeded systems is one of the focuses in the USB-Field.In this USB host/slave control system, we chose Samsung’s S3C44B0 as the central CPU, Cypress’s SL811HS as the USB host controller and Phillips’s PDIUSBD12 as the USB device interface.According to the demand of our projects, this paper analyzed the USB1.1 protocol firstly, from which we can know about the structure of USB system, the model of data-communication, the format of data-package and the standard descriptor of USB. After the design of SL811HS host controller driver and the USB driver, this paper established the model of the logical communication between the USB host controller and slave devices which belong to Mass Storage Class. For the design of the firmware and simple application, the way how to programme USB drivers based on WDM structure in Windows XP systems also have been illustrated in this design.This paper analyzed and summarized the principle and structure of the USB control system, and finally finished the design of the embeded USB host control system which has not operating system and the USB slave system used in Windows XP.
Table of contents
Abstract 4-5
Abstract 5-9
Chapter 1 Introduction 9-13
1.1 research background 9-12
1.1.1 Embedded Systems Introduction
1.1.2 USB origin and development 9-10
1.1.3 USB characteristics 10-12
1.2 papers arrangement 12-13
Chapter 2 USB communication protocol About 13-30
2.1 USB architecture 13-15
2.1.1 USB system described 13-14
2.1.2 USB system software and hardware components analysis 14-15
2.2 USB specification development process 15-17
2.3 USB mechanical and electrical characteristics 17-18
2.4 USB data communication protocol 18-30
2.4.1 binary number sequence - domain 18-20
2.4.2 basic data units - package 20-22
2.4.3 Data transmission type 22-27
the 2.4.4 data stream model 27-28
2.4.5 USB device enumeration 28-30
Chapter 3 USB host development 30-67
3.1 USB host protocol 30-35
3.1.1 USB host controller functionality and structure 30-32
3.1.2 host controller driver 32-33
3.1.3 USB core driver 33-35
3.2 USB host communication protocol 35-43
3.2.1 standard USB descriptors 35-39
3.2.2 standard USB device request command 39-43
3.3 USB mass storage protocol and file system 43-49
3.3.1 USB Mass Storage protocol 43-44
3.3.2 Bulk-Only Transport Protocol 44-46
3.3.3 Mass Storage subclass command 46-48
3.3.4 FAT file system structure 48-49
3.4 SL811HS chip and hardware design 49-56
the
characteristics of 3.4.1 SL811HS chip 49-50
3.4.2 internal hardware resources SL811HS in 50-51
3.4.3 SL811HS related registers 51-52
the 3.4.4 SL811HS pinout 52-53
3.4.5 S3C44BO chip and Pin Description 53-55
3.4.6 SL811HS hardware circuit design 55-56
3.5 USB host software design 56-67
3.5.1 ARM integrated development environment ADS About 56
3.5.2 USB host protocol software design 56-61
3.5.3 Mass Storage Class protocol software to achieve 61-64
3.5.4 file system to achieve 64-66
3.5.5 system software processes 66-67
Chapter 4 USB slave development 67-80
4.1 PDIUSBD12 chip and hardware design 67-72
4.1.1 PDIUSBD12 chip introduced 67-68
4.1.2 PDIUSBD12 pin distribution 68-69
the
major command in 4.1.3 PDIUSBD12 69-70
4.1.4 PDIUSBD12 use 70-71
4.1.5 PDIUSBD12 hardware circuit design 71-72
4.2 PDIUSBD12 firmware design 72-75
4.3 USB device driver and application design 75-80
4.3.1 WDM device driver functions 75
4.3.2 WDM device driver model 75-77
4.3.3 device driver program development tools 77-79
4.3.4 USB application design 79-80
Chapter 5 Summary and Outlook 80-82
5.1 thesis work summarizes 80-81
5.2 Job Outlook 81-82
Acknowledgements 82-83
the
References 83-86
Appendix A (the system hardware schematic) 86-87
Appendix B (graduate student papers published and to participate in the project) 87
Related dissertations
- Embedded Linux-based USB Encryption Driver Design
- Development of Human-Computer Interaction for Control System of Grating Homochromatic Instrument
- The Design and Research of Two-dimensional Barcode Recognition Embedded System
- Software Design of Digital TV Receiver Based on USB2.0Technology
- Study and Design of Data Communication and the Host of Telemetry and Command System Basing on GSM Network
- Microassembly Robot Vision System Research Base on Image Transmission and Recognition
- Analysis and Improvement of Driving Program of Embedded Linux
- High-performance data acquisition system based on USB and FPGA design and implementation of technology
- Research and Design for Filesystem Used in Embedded Environment
- Research on USB Protocol and USB Interface Drivers
- USB Interface Technology and Application Study
- 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