Based on USBHCD aids development

Author
ZhuJin
Advisor
LeiHang
School
University of Electronic Science and Technology
Major
Software Engineering
Classification
TP368.12 Microprocessor
Degree
Master's thesis
Year
2010
Downloads
15
Citations
0

Request the full text

Abstract

With the continuous development of embedded systems, a wide variety of embedded products came into being, a lot of new products has caused a shortage of driver developers, but also resulted in increased driver development difficulty. On the other hand, due to the structure of the complex diversity of embedded systems platform diversity, the same equipment for different hardware platforms also need to re-write the appropriate drivers, and how we can improve the reusability of the driver has been studied. Study s3c2410 chip USB host controller driver development process, the design of a USB host controller driver supporting development tools. The tool by defining a specialized interface description language used to describe the USB host controller hardware to achieve improve driver reusability. Interface description language embedded driver development tools supporting the HCDDIL to mark language syntax rules, very simple and clear. The HCDDIL interface description language is divided into two parts, general-purpose hardware description section for a description of the process of the host controller driver. Common hardware interface description part, HCDDIL divided into the register description section, port description part, platform independent description of the part as well as the description of the variable part of the special equipment. Every description file will strive as much as possible detailed and complete description of the hardware manual. Description of some of the major host controller driver is formulated according to each module driven processes in the development of the host of the s3c2410. This can greatly increase the development speed of the a similar host controller driver, and reduce the error in the development process. The host controller driver supporting development tools addition to HCDDIL Interface Description Language also includes graphical input interface and file conversion program is commonly referred to pile code before the program into files corresponding type detection file. Program into files according to the label description file parsing, thus ensuring that the conversion of the generated code has a high readability. This article in the last by a simple serial read and write functions to verify the feasibility of the aids. The experimental results prove that the aids can run, and can improve the reusability of the code.

Table of contents

Abstract 4-5 ABSTRACT 5-9 first chapter 9-13 1.1 Background 9-11 1.2 research 1.3 Solution structure 11-13 the interface description language and related technology research 13-33 2.1 hardware interface description language introduced 13-19 2.2 related technologies 19-21 2.2.1 WinDriver 19-20 2.2.2 UDI 20 2.2.3 model-driven development 20-21 2.3-driven development of basic concepts 21-28 2.3.1 Linux device drivers Category 21-22 2.3.2 device driver level 22-23 2.3.3 module mechanism 23-27 2.3.4 character device driver running 27-28 2.4 linux system USB subsystem driver 28-33 2.4.1 USB background knowledge 28-29 2.4.2 USB structure 29-30 2.4.3 USB transfer types 30-31 2.4.4 USB transmission characteristics 31-33 Chapter s3c2410 chip-based HCD development 33-40 3.1 development environment to build 33-35 3.1.1 hardware environment to build 33 3.1.2 software environment to build 33-35 3.2 based on s3c2410 chip host controller driver development 35-39 3.2.1 hardware information module 35-36 3.2.2 hook function 36-37 3.2.3 USBD interface layer 37-38 3.2.4 Transmission Control Module 38-39 3.3 assist developers usb host controller driver method proposed 39-40 Chapter aids based USB host controller design and realization 40-63 4.1 aids system structure 40-41 the 4.2 HCDDIL hardware interface description language design principles 41-43 4.2.1 follow under linux device driver development 41 4.2.2 generates description files for process driven development process design function 41-43 4.2.3 General description file for chip register 43 4.2.4 regardless of platform independence 43 4.3 HCDDIL realization 43-57 4.3.1 Universal Description 44-49 4.3.1.1 configuration profiles 44-46 4.3.1.2 endpoint description file 46-49 4.3.1.3 register description file 49 4.3.1.4 special equipment variable description file 49 4.3.2 function description file 49-53 the the 4.3.3 platform-independent description of the file 53 4.3.4 USBHCD driven program flow description file 53-57 4.4 graphical input interface 57-58 4.5 conversion process 58-60 4.6 USB driver development tools supporting verification and analysis 60-63 Chapter Summary and Outlook 63-65 5.1 This article summarizes 63-64 5.2 Future Prospects 64-65 Acknowledgements 65-66 the References 66-69

Related dissertations

  1. An embedded driver assisted generation tool design and implementation
    YangZhen ·Beijing University ·2008 ·Master's thesis
  2. Embedded Linux-based USB Encryption Driver Design
  3. Development of Human-Computer Interaction for Control System of Grating Homochromatic Instrument
    XingYan ·Jilin University ·2012 ·Master's thesis
  4. Software Design of Digital TV Receiver Based on USB2.0Technology
    WangJingHui ·Zhejiang University of Technology ·2012 ·Master's thesis
  5. Study and Design of Data Communication and the Host of Telemetry and Command System Basing on GSM Network
    LiMingLi ·Hebei University of Technology ·2007 ·Master's thesis
  6. The Design of USB Host/Slave Interface in Embedded Systems Based on ARM
  7. Microassembly Robot Vision System Research Base on Image Transmission and Recognition
    ChenRen ·Shanghai Jiaotong University ·2008 ·Master's thesis
  8. Analysis and Improvement of Driving Program of Embedded Linux
  9. High-performance data acquisition system based on USB and FPGA design and implementation of technology
  10. Research on USB Protocol and USB Interface Drivers
  11. USB Interface Technology and Application Study
  12. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  13. Usb Without Invasive Data Collection Technology Research
  14. Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
  15. Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
  16. Grating Data Acquisition and Error Correction Technology
    DongShanShan ·Hefei University of Technology ·2014 ·Master's thesis
  17. CCD Data Acquisition System Implementation Based on FPGA
    LiuYu ·Anhui University ·2014 ·Master's thesis
  18. Research of Data Acquistion System Based on FPGA
    XuLongFei ·University of North ·2014 ·Master's thesis
  19. Research and design of intelligent 3D pulse peak field strength tester
  20. Multi functional comprehensive test instrument based on Virtual Instrument Technology