USB interface embedded systems research and development of technology applications

Author
SongPeng
Advisor
ZuoZhenZhong
School
Yangzhou University
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2005
Downloads
1,023
Citations
21

Request the full text

Abstract

The development of computer architecture is shifting from the "center of CPU" period to the "center of BUS" period. In the "center of CPU" period , the development of computer centered on the CPU and instituted related standards for CPU. The design of peripheral equipment and the extending of architecture are restricted within narrow limits .whereas the "center of BUS" period , just as its name implies, it constituted different bus standards to be applied in different situations, for different bus system has its unique standard protocol and peripheral equipments . The appearance of every new bus standard is either for solving the flaw of old bus , or for optimizing the computer’s performance based on some given consideration. The appearance of USB bus standard is no other than the reason, for solving the shortcoming of traditional bus and leading the trend of the development of computer. Furthermore, the research and design of embedded USB system will broaden the applied field of USB interface technology, and bring the brand-new world of the design of embedded system.In PC, along with the maturation of USB technology , the exchange and storage of mobile data has recently become a hot focus in IT fields. USB is the medium of data mobiling as well as the kernel. Along with the spread of USB application , the industry has introduced USB to the non-PC field ,namely embedded system, actualizing the point-to-point communication . But for USB’s topologic architecture, based on the host, has various restrictions to all kinds of handy equipments, the applications of USB Host in embedded system become a hot topic in nowadays electronic world. In theory , the realization of USB Host in embedded system need loading and interpreting USB protocols, establishing related equipment class protocols ,and implementing especial embedded USB Host application. But the primary difficulty is that USB protocol needs high degree memory and operating speed which 8/16 MCU is difficult to match. How to solve the contradiction between the limited resource of MCU and complex USB protocols is the key of embedded USB Host system of MCU. This paper is based on the point of seeking and solving the embedded USB Host system of MCU with a optimal means.Both theory and practice are included in this paper. The part of theory is the development、 condition、 trend、 demand and skill of embedded system, USB protocols and equipment class protocols, the data traffic framework of USB, the structure of MCU ,and so on. The part of practice is mastering developing means, designing thestructure of embedded USB Host, fabricating hardware circuit, writing program which based on W77E58 and SL811HS ,reducing USB protocols, loading USB protocols, using the developing tools to compile、 run and debug code, testing、 improving and maintaining the application system, finally ,bringing the USB Host model into a practical application.Five chapters are involved in this paper. In chapter 1, the history and trend of embedded systems, the characteristics of embedded technology and the researching significance and contend of this paper are introduced. In chapter 2, USB protocols which are closely related to the programming of embedded USB Host are introduced. In chapter 3, Firstly, the current solutions of embedded USB Host system are depicted, secondly a basic design thought of embedded USB Host system based on MCU is provided. In chapter 4, the inner-structure and using methods about the SL811HS chip, the hardware and software architecture of a kind of embedded USB Host are depicted, how to use the SL811HS chip to realize the data communication based on USB protocols about MCU is discussed. This helps to design cheap and powerful function embedded devices, and can be widely used in information device and controller. In chapter 5, the practical application of embedded USB Host in embedded system.

Table of contents

Abstract 3-5 Abstract 5-7 directory 7-11 Introduction 11-13 1 Introduction 13-19 1.1 USB host is moving from the PC area to expand the field of embedded 13-14 1.2 embedded systems and their development 14 1.3 Technical characteristics of embedded systems and application prospects 14-15 1.3.1 Technical characteristics of embedded systems 14-15 1 .3.2 embedded system application prospects 15 1.4 The main technical support 15-16 1.4.1 Embedded Systems major hardware technology 15-16 1.4.2 main software in embedded systems technology 16 1.5 The significance of this research 16-17 1.6 The main research contents 17-19 2 USB Protocol Overview 19-45 2.1 USB Introduction 19-21 <br / > 2.1.1 USB technology has the advantage 19-20 2.1.2 USB system model and topology 20-21 2.1.3 USB specification Introduction 21 2.2 USB data communication structure 21-33 2.2.1 Data Communication Protocol Introduction 21-23 2. 2.2 domain format 23-26 2.2.2.1 synchronization domain 23 2.2.2.2 identify the domain 23 - 25 2.2.2.3 address field 25 2.2.2.4 endpoint domain 25 2.2.2.5 frame number Domain 25-26 2.2.2.6 Data Field 26 2.2.2.7 checksum field 26 2 .2.3 the basic unit of data - packets 26-28 2.2.3.1 token packet 26-27 2.2.3.2 Data package 27 2.2.3.3 handshake packet 27-28 2.2.4 Data transfer type 28-33 2 .2.4.1 interrupt transmission 28-30 2.2.4.2 bulk transfer 30 2.2.4.3 Synchronous Transfer 30-31 2.2.4.4 Control Transmission 31-33 2.2.5 dataflow model 33 2.3 USB protocol stack Device Framework 33-40 2.3.1 standard USB descriptors 33-37 2.3.1.1 device descriptor 34-35 2.3.1.2 Configuration Descriptor 35 2.3.1.3 Interface Descriptor 35 2.3.1.4 Endpoint Descriptor 35-36 2.3.1.5 string descriptor 36-37 2.3.2 standard USB device request command 37 -38 2.3.3 Universal USB firmware program flow 38-40 2.3.3.1 USB devices transient 38-39 2.3.3.2 USB enumeration process 39-40 2.3.3.3 USB firmware stack overall description 40 2.4 USB Device Class 40-43 2.4.1 Device Class Overview 40 2.4.2 Mass Storage Device Class and Bulk-Only Transport Protocol 40 -42 2.4.3 Mass Storage subclasses command 42-43 2.5 USB host 43-45 2.5.1 USB Host Interface industry standard 43 2.5.2 USB host system function and structure 43 2.5.3 Embedded USB host system hardware and software planning 43-45 3 Embedded USB Host system design 45-51 3.1 implementations and ways 45-47 3.1 .1 use common interface / bus-USB converter 45-46 3.1.2 system using a dedicated on-chip USB transceiver 46 3.1.3 use 32 MCU RTOS implementation 46 3.1.4 direct use MCU to achieve 46-47 3.2 specific implementation plan 47-51 3.2.1-based 8-bit microcontroller's USB Host program 47-48 3.2.2 workflow and software design 48-51 4 embedded USB Host implementation 51-101 4.1 system hardware design 51-60 4.1.1 Performance analysis of the new USB controller chip research and development 51-55 4.1.1.1 several new USB controller chip performance analysis 51-54 4.1.1.2 USB chip select other relevant Factors 54-55 4.1.1.3 USB new developments in technology 55 4.1.2 Embedded USB Host system hardware design 55 -60 4.2 USB Host interface chip SL811HS 60-67 4.2.1 SL811HS performance characteristics 60-61 4.2.2 SL811HS internal structure 61 4.2.3 SL811HS pin and work 61-63 4.2.4 SL811HS register 63 - 67 4.2.5 USB downstream port design 67 4.3 system software design 67-96 4.3.1 USB host system software designed to simplify 68-69 4.3.2 SL811HS initialization and driver design 69-71 4.3.3 USB host protocol system software design 71-85 4.3.4 Mass Storage Class protocol programming 85-89 4.3.5 embedded file system creation 89-96 4.4 system test 96-98 4.5 Summary, reflection and discussion 98-101 5 Embedded USB Host Application 101-109 5.1 Embedded USB Host module based mobile data exchange 101-102 5.1.1 Overview 101-102 5. 1.2 Based on Embedded USB Host Module nerve - motor response time measurement system 102 5.2 Building an Embedded USB Host μcLinux a USB startup disk 102-109 5.2.1 USB startup disk principle 103 5.2.2 kernel cut 103 5.2.3 construct the root file system 103-104 5.2.4 USB module to achieve with the initrd loaded 104-106 5.2.5 implementation can start with grub 106-107 <br / > 5.2.6 Embedded Development Platform 107-108 5.2.7 The next step 108-109 Conclusion 109-111 < br /> References 111-115 Appendix 115-121 Thanks 121-123 papers published 123

Related dissertations

  1. Design of Digital MCA Based on FPGA Technology
    LiJiaoLong ·Chengdu University of Technology ·2012 ·Master's thesis
  2. USB HOST embedded systems technology research and achieve
    HuangYing ·Central South University ·2008 ·Master's thesis
  3. USB Host Mode Development Based on Embedded System USB
  4. USB interface technology based smart gun shooting logger research
  5. The Update and Experiment for FMT System Based on the WINDOWS
    ZhengYong ·Chongqing Institute of Technology ·2008 ·Master's thesis
  6. Design and Implementation Based on S7-200 PLC experimental system
  7. Research on USB Protocol and USB Interface Drivers
  8. Research and Realization of Embedded USB-HOST
    XiaoChaoQiong ·East China Normal University ·2004 ·Master's thesis
  9. The USB HOST technical logging tool
    RenBo ·Northwestern Polytechnical University ·2007 ·Master's thesis
  10. Design of the Embedded USB Host Interface
  11. Study and Implement of an Embedded System Based on USB Host
    SunFei ·Jiangsu University ·2005 ·Master's thesis
  12. Design and Implementation of the vehicle traveling data recorder and background data analysis software
  13. Research of Function on Embedded USB HOST and OTG
  14. Mass Storage System of Relay Protection on Vehicle Based on USB Host
    LiuTongJie ·West China University ·2009 ·Master's thesis
  15. USB Interface Circuit Based on Single Chip and Its Application in Data Communication
  16. The Foam Insulation Greenhouse Monitoring System Design
    ZhangZuo ·Northeast Forestry University ·2013 ·Master's thesis
  17. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  18. Usb Without Invasive Data Collection Technology Research
  19. Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
  20. Research of a System Integrated Rotational Speed and Temperature Measurement Based on MCU
    ZhangRen ·Dalian Jiaotong University ·2013 ·Master's thesis