Research and Development of USB Bus Client Driver in WINCE.Net System

Author
NaHongYang
Advisor
LiYang
School
Beijing University of Technology
Major
Mechanical Manufacturing and Automation
Classification
TP311.11 Programming method
Degree
Master's thesis
Year
2005
Downloads
598
Citations
3

Request the full text

Abstract

Involved in this project is to explore the research carried out in embedded systems WinCE.Net USB bus device client driver development related works. Subject comes from Beijing Electric Co., Ltd. First Branch Group Cage WinCE.Net system to the host system for the new CNC equipment research and development in the direction of a branch application. USB bus has become the microcomputer and functional range of important criteria for connecting external devices means, so in order for the system WinCE.Net NC hosts with support for USB bus will be able to connect more with USB bus interface in the form of functional equipment, expand product applications, the product became a prominent competitive advantage. Therefore, this research topic of great theoretical significance and practical value. During the study, due in embedded systems developed under the relevant outcomes of the USB bus driver less information, the subject of a related field such as transverse analogy Windows, Linux and other operating systems USB bus device driver development of various types of mature and more mature thinking , combined with WinCE.Net system development related to a variety of information in English, to analyze the system comes with a variety of driver source code examples, which made the drive mode to flow under the framework for the strategic development of such specific bus device driver process summarized as follows: ⑴ USB bus system and other conventional serial bus is different, the host side and device-side is an interrelated organic whole, functional equipment production needs to follow the same device class specification, which device driver should take the specification developed by the USB bus device characteristics and content of the agreement as the basis for development. ⑵ analysis WinCE.Net system the degree of support for the USB bus, USB bus proposed and elaborated client driver development strategies and policies developed under the experimental device USB bus driver, which is the main part of this project. As for the different application areas, as opposed to mature as Windows, Linux and other major operating systems, WinCE.Net embedded system device driver development mechanism is relatively simple and can be flexible depending on the function of the realization of the two devices communicate. This paper summarizes the flow-driven development strategy is driven in the form of streaming data can be applied to produce a device or associated in this way with a similar device driver development. ⑶ analysis of the system stack and USB bus device configuration and interaction with the device corresponding to the device driver interface matching process. The results of these two processes is one of the important results of this project can be used as a general principle applicable to all USB devices on the bus. The device driver must be able to control the device before stage six states protocol to configure the host device, and only by agreement subsequent functions specified device interface and device drivers matching process, the host to control the target device.

Table of contents

Abstract 4-5 Abstract 5-8 Chapter 1 Introduction 8-11 1.1 topics background 8-9 < br /> 1.2 project sources and the main content of 9 1.3 research of theoretical and practical significance 9 1.4 topics related to the field of technology status and development 9-11 Chapter 2 WinCE.Net system USB bus driver development foundation 11-27 2.1 USB bus describes 11-12 2.2 Host end of the USB bus architecture 12-14 2.3 USB bus devices feature 14-20 2.3.1 USB bus kinds of descriptors 14-16 2.3.2 USB bus request command 16-18 2.3.3 USB bus ducts and endpoint 18-20 2.4 USB bus device configuration process 20-21 2.5 WinCE.Net USB bus system software architecture 21-22 2.6 WinCE.Net system driver structure 22-24 2.7 WinCE.Net system registry 24-25 2.8 Chapter Summary 25-27 Chapter 3 WinCE.Net system USB bus driver development and key points analysis 27-39 3.1 development environment 27-28 3.2 USB bus client device driver development strategy proposed 28-32 3.2 .1 driver manifestations 28-29 3.2.2 flow-driven model 29-31 3.3.3 USB protocol stack three entry function 31 3.3.4 USB bus client driver development 31-32 3.3 client drivers and protocol stacks connection analysis 32-37 3.3. an enumeration process analysis 33-35 3.3.2 driver matching priority, and process analysis 35-37 3.3 data transfer 37-38 3.4 Summary 38-39 Chapter 4, the main driver development module design 39-64 4.1 test-driven development and implementation of programs 39 - 40 4.2 for USB-bus device information necessary 40-43 4.3 main driver function module flowchart 43-62 4.3.1 USB bus protocol stack entry function to achieve 43-47 4.3.2 Data processing equipment to achieve thread function 47-49 4.3.3 activation device interface functions to achieve 49 - 51 4.3.4 stream driver interface functions to achieve 51-55 4.3.5 device notification function implementation 55-58 4.3.6 Remove Device object function is implemented 58-60 4.3.7 Equipment Inspection function is implemented 60-62 4.4 custom system platforms and making driving 62-63 4.5 Chapter Summary 63-64 Conclusion 64-66 References 66-68 master's degree papers published during the 68-69 Thanks 69

Related dissertations

  1. Development of USB Camera Driver Based on ARM9