USB Host Controller Driver in 8051 Core SOC

Author
GuoRui
Advisor
LiuPeiLin , OuLei
School
Shanghai Jiaotong University
Major
Electronics and Communication Engineering
Classification
TN47 LSI,ultra LSI
Degree
Master's thesis
Year
2008
Downloads
44
Citations
0

Request the full text

Abstract

USB(Universal Serial Bus) is widely used in Embedded System. Most of them are USB devices in the USB system. Like MP3 player, U-disk, camera, USB mouse and keyboard. Some powerful systems have the USB host, but these systems are usually using an Operating System, like WinCE, Linux, etc. Today, the electronic industry is very sensitive for cost, it is the opportunity to SOC(System on Chip).How to design a SOC, which is powerful and cheap, is the important task in electronic design.The goal of this discussion is design a USB host driver on a low-cost audio SOC,which has the enhanced 8051 IP core and OHCI(Open Host Controller Interface) USB host controller. The main function of this SOC is reading MP3 file from USB storage device and playing it. This SOC is designed for consumption electronic market.For the purpose of reading data from USB storage device, this design implements the USB host software on the SOC, which has an enhanced 8051 IP core. On the design, I refer to the Linux USB host software. Because the resource in the 8051 IP core is not abundance, I simplify the USB host software, which uses smaller RAM and ROM size. These make the SOC more cheaper.Now, this SOC has been designed completely and quantity produced. Millions of the chip has been sold, most of them are used to digital audio player and car audio device. The USB host driver of this discussion has been test in many schemes. The compatibility problem of USB storage device has been resolved, many types USB devices can be support, like U-disk, mobile-hard-disk, USB-card-reader, etc.

Table of contents

Abstract 3-5 ABSTRACT 5-9 first chapter 9-21 1.1 research background and significance 9 -13 1.1.1 SOC chip application status and development trend 9-10 1.1.2 USB applications and Features 10-11 1.1.2.1 transfer high rate 10 1.1.2.2 reliability 10-11 1.1.2.3 easy extensions 11 1.1.2.4 Plug and Play 11 1.1.3 consumer Electronics audio products status quo and development trend 11-12 1.1.4 thesis research significance 12-13 1.1.4.1 optimize the cost structure of electronic products 12 1.1.4.2 improve functional value of electronic products 12 1.1.4.3 utility model to achieve SOC chip innovation 12-13 1.2 USB papers involving theoretical concepts 13-20 1.2.1 USB protocol 13-14 1.2.2 USB frame 14 1.2.3 bus topology 14-15 1.2.4 USB data transfer 15-16 1.2.5 USB devices 16 1.2.6 device-side hardware 16-17 1.2.7 device endpoint and pipe 17 1.2.8 device functional hierarchy 17-18 1.2.9 USB host 18-19 1.2.10 host-side hardware 19 1.2.11 host software 19-20 <br / > 1.3 Chapter Summary 20-21 Chapter implementations 21-38 2.1 implementations Overview 21 2.2 hardware platform to determine 21-22 2.3 driver software implementations 22-34 2.3.1 driver software program is based - OHCI host 22-27 2.3 .1.1 OHCI interface architecture 22-24 2.3.1.2 OHCI data structure 24-25 2.3.1.3 OHCI controller 25 2.3. 1.4 OHCI driver 25-27 2.3.2 driver software programs draw - Linux for the USB host software 27-33 2.3.2.1 HCD layer 27-30 2.3.2.2 USBD layer 30-33 2.3.2.3 client driver layer 33 2.3.3 driver software design program to determine 33-34 2.4 SOC chip debugging program topics 34-37 2.4.1 debugging platform 34-35 2.4.2 USB protocol Analyzer application 35-37 2.5 Chapter Summary 37-38 Chapter papers software design and implementation 38-61 3.1 HCD layer software design 38-45 3.1.1 HCD data structure 39-40 3.1.2 HCD initialization module 40-41 3.1.3 root hub module 41-42 3.1.4 data Transmission Module 42-44 3.1.5 USBD interface module 44-45 3.2 USBD layer software design 45-52 3.2.1 USBD data structures 46-47 3.2.2 control Transmission Interface 47-48 3.2. 3 bulk transmission interface 48-49 3.2.4 USB device enumeration 49-52 3.3 MassStorage layer software design 52-57 3.3 .1 MassStorage protocol 53-55 3.3.2 storage devices read and write interfaces 55-57 3.4 transfer performance testing 57-59 3.5 USB device compatibility debugging 59-60 3.6 Summary 60-61 Chapter topics summarize 61-62 4.1 The main conclusions 61 4.2 research Prospects 61-62 References 62-63 Thanks 63-64 master's degree period have been published or accepted papers 64-66

Related dissertations

  1. The Design and Verification of USB Interface Soft IP CORE
  2. Research and Development of a Multifunctional IP Core Based on USB 2.0 Protocol
    ZuoGaiLin ·Guangxi University ·2008 ·Master's thesis
  3. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  4. Usb Without Invasive Data Collection Technology Research
  5. Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
  6. Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
  7. Grating Data Acquisition and Error Correction Technology
    DongShanShan ·Hefei University of Technology ·2014 ·Master's thesis
  8. CCD Data Acquisition System Implementation Based on FPGA
    LiuYu ·Anhui University ·2014 ·Master's thesis
  9. Research of Data Acquistion System Based on FPGA
    XuLongFei ·University of North ·2014 ·Master's thesis
  10. Research and Design of Low-power WSN Node Based on SOC
    DongJiFeng ·Hebei University of Technology ·2012 ·Master's thesis
  11. Research and design of intelligent 3D pulse peak field strength tester
  12. Multi functional comprehensive test instrument based on Virtual Instrument Technology
  13. Embedded Fingerprint Identification System and Storage Technology
  14. Research on the Digital Broadband Electromagnetic Tomography System
    ChenGuang ·Tianjin University ·2010 ·Doctoral dissertation
  15. VxWorks Migration on VME Bus Embedded Controler
    GuanFei ·Harbin Institute of Technology ·2012 ·Master's thesis
  16. Design and Implementation of the Mobile Corporation Security Management Platform
  17. Embedded Linux-based USB Encryption Driver Design
  18. Research and Implementation of Usbtmc Specification about Universal Test Instrument
  19. Research Communication Device and Communication Protocols Based on USB Interface
    YuXiaoLei ·Harbin Institute of Technology ·2012 ·Master's thesis
  20. Research and Implementation of Infrared Touch Screen Based on HID Class
    WangYun ·Anhui University ·2014 ·Master's thesis