USB host controller implementation in embedded systems

Author
MaShiJie
Advisor
YinBo
School
Ocean University of China
Major
Computer technology
Classification
TP368.12 Microprocessor
Degree
Master's thesis
Year
2010
Downloads
72
Citations
0

Request the full text

Abstract

This paper describes an ARM7 core processor based on the development of USB host system. The core of the host system implements USB driver, host controller driver and the user program to support Mass Storage device class protocol, and in the system set up to streamline the FAT file system, can achieve a U disk to read data and write another a U disk function. USB development in the traditional sense is only the development of USB devices, such as designing a Flash card. Architecture in USB, USB devices can not initiate or control a USB transfer process, therefore, be removed from its host, USB device on entirely useless. Today’s USB host in a general sense that PC. The use of PC, as the host, some applications have limitations. Therefore, the development of a USB host, embedded implementation of USB host, so that you can use USB devices from the PC machine is widely used in the future.The system uses the company’s LM1138 chip meritorious week as the main CPU, using Cypress’s SL811HS chip as the host controller chip, USB host system was constructed. System hardware design with low cost, power consumption, speed and so on. In software, the system completed a USB host controller driver, the core driver and user software is designed to complete the device enumeration well, configuration and other functions; system supports Mass Storage Class protocol, and the establishment of a streamlined FAT file system, you can complete the Flash card on the document read. In accordance with the thesis proposed method, realized the USB host system’s construction, on the development of embedded USB host, so that applications from the PC USB universal significance. Papers for the designed system, the USB host system were summarized and analyzed, and the development of embedded USB host prospected.

Table of contents

Summary 5-6 Abstract 6-9 1 Introduction 9-13 1.1 the background and significance of the topic 9-11 1.2 USB host system solutions introduced 11-12 1.3 Summary 12-13 2 USB host system analysis of its working principle 13 - 36 2.1 USB host system's structure 13-15 2.1.1 USB characteristics introduced 13 2.1.2 USB host system structure 13-15 2.2 USB signal characteristics the state 2.2.1 signal line 15 the the 2.2.2 signal transmission order 15 < br /> 2.2.3 encoding, synchronization and bit stuffing 15 2.3 USB bus communication principle analysis 15-21 2.3.1 USB communication logic structure 15-16 2.3.2 USB communication elements 16-21 2.4 USB protocol stack 21-28 2.4.1 standard USB descriptors 21-27 2.4.2 USB standard request command 27-28 2.5 Mass Storage class agreement 28-32 2.5.1 Mass Storage Class Overview 28-29 2.5.2 Single Batch Bulk-only transport protocol 29-30 2.5.3 Mass Storage Class UFI subclass command agreement 30 - 32 2.6 FAT file system 32-33 2.6.1 FAT file system structure 32 2.6.2 Flash flash disk file system structure 32-33 2.7 USB device enumeration process 33-34 2.8 USB host 34-35 2.8.1 USB master controller 34 2.8.2 USB host controller driver 34 2.8.3 USB core driver 34-35 2.9 Summary 35 - 36 3 USB host system planning and hardware design 36-45 3.1 system hardware design ideas 36 3.2 system software functional design module idea 36-37 3.3 system hardware select the select 37-41 3.3.1 central processor 37-38 3.3.2 USB main control chip select 38-41 3.3.3 LCD module select 41 3.4 system hardware circuit 41-44 3.4.1 system power supply circuit design 41-42 3.4.2 SL811HS peripheral circuit design 42-43 3.4.3 reset and clock circuitry 43-44 3.4.4 JTAG test port circuit 44 3.4.5 keyboard interface circuit 44 3.5 Summary 44-45 embedded USB host system software design 45-61 4.1 Software Design Overview the 45-47 4.1.1 system software flow 45-46 4.1.2 application program framework 46-47 4.2 the initialization program designed 47 4.3 keyboard the LCD program designed 47-48 4.3.1 74HC165 keyboard to read and write 47 4.3.2 240 * 128LCD display 47-48 4.4 USB host protocol software design 48-55 4.4.1 SL811HS, read and write driver 48-49 4.4.2 USB device descriptor defined 49-52 4.4.3 USB transfer function realization 52-53 <br / > 4.4.4 USB control transfer software the 53-54 4.4.5 USB bulk transfer software achieve 54 4.4.6 USB the enumeration software implementation 54 -55 4.5 Mass storage class protocol software design 55-57 the 4.5.1 command block packets the CBW and command status packets CSW definition 56 4.5.2 the single bulk Bulk-Only Transport protocol and UFI command software implementation 56-57 4.6 FAT file system to achieve 57-60 4.7 Summary 60-61 The embedded USB host system test the 61-64 5.1 experimental environment introduced 61-62 5.2 debugging process and results of 62-63 < br /> 5.3 Summary 63-64 6 summarizes the outlook the 64-66 6.1 project summary 64-65 6.2 USB host technology development Looking the 65-66 Reference 66-67 Acknowledgements 67-68 the biographical 68 Post academic 68

Related dissertations

  1. The Design of Embedded Network Video Surveillance System Based on ARM9
  2. Data Acquisition System of Cavern Based on Embedded Web Server
  3. Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
    LiuDaoLin ·Dalian Polytechnic University ·2008 ·Master's thesis
  4. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  5. Design and Implementation of Car Embedded Systems to Multimedia Intelligent Terminal
    LiShun ·Northeastern University ·2012 ·Master's thesis
  6. Research on the Digital Controller and PID Parameter Tuning of the Proportional Valve
    ZhangZuoZuo ·Zhejiang University ·2014 ·Master's thesis
  7. Design of Cutting Robot System Platform Based on ARM
    QiChong ·Harbin Engineering University ·2013 ·Master's thesis
  8. AGV car design and development of image recognition and motion control technology based on
  9. Research and Implementation of Intelligent Regulator Based on ARM
    MengFanBing ·Dalian Polytechnic University ·2011 ·Master's thesis
  10. Multi functional comprehensive test instrument based on Virtual Instrument Technology
  11. Embedded Fingerprint Identification System and Storage Technology
  12. The Designand Realization of Embedded USB Mass Storage System
    WangMeng ·Hebei University of Technology ·2013 ·Master's thesis
  13. Design and development of laser gyro and USB interface frequency test system
  14. Research and Design of Embedded Network Video Surveillance System Based on ARM
  15. The Research of Secure Routing Protocols in Ad Hoc Networks and Its Implementation on Embedded Systems
  16. Design and Implementation of Video Surveillance Systems Based on Android Smartphones
    LangNing ·Northeastern University ·2013 ·Master's thesis
  17. Design of Image Acquisition and Wireless Transmission System for Barley Field Based on ARM and WiFi
    MaoHongYu ·Gansu Agricultural University ·2013 ·Master's thesis
  18. Design and Implementation of Embedded Ethernet Communication Module with Data Storage Capabilities
    LiXiaoFeng ·Ocean University of China ·2013 ·Master's thesis
  19. And implementation of vehicle positioning and communication terminal based on GPS/GPRS
    WeiLong ·Northwestern University ·2013 ·Master's thesis
  20. Research and Design of the Injection Molding Machine Control System
    HongXiaoJing ·Hefei University of Technology ·2013 ·Master's thesis