The Design and Implementation of EZ-USB Device Driver in Windows CE
- Author
- WangWei
- Advisor
- LeiYueMing
- School
- Chongqing University
- Major
- Computer Software and Theory
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 156
- Citations
- 0
Abstract
EZ-USB FX2 produced by Cypress company is a Single Chip Micyoco with USB interface. This device is wildly used in Digital multimedia, data collection, medicine sanitation and so on.Medicine image technology gradually becomes the essential method for modern diagnose since sciencedeveloped. Medicine Image Process System use a USB device to collect image data, the device use USB to transmit image information, the main chip of this USB device is EZ-USB FX2 which produced by Cypress company. The intent of This dissertation is to design and implement EZ-USB FX2 device driver in Windows CE and this will lay a foundation for transplant Medicine Image Process System from PC Windows to embedded Windows CE.We use EBOX-II as our hardware platform to run Windows CE, use platform builder 5.0 to create operating system, use C language to develop the device driver. First, we analyse the Windows CE operating system, then tailor a proper windows CE Operating System image for device driver development. We design the implementation blue print for EZ-USB FX2 device driver According to Windows CE driver model.The device driver can be accessed by File System APIs after implementing the stream interface functions. All the call back functions provided by USB bus driver module are implemented, so the device driver can be installed, loaded and unloaded successfully. The operation for getting descriptors and configuring device are implemented. The function for pipe establishment and data transfer are implemented too. This dissertation analyse the memory layout of EZ-USB FX2 then implement the firmware download.
Table of contents
Abstract 4-5
ABSTRACT 5-9
1 Introduction 9-12
1.1 WINDOWS EMBEDDED Overview 9
1.2 USB development and status 9-10
1.3 project background 10
1.4 paper structure 10-12
2 EZ-USB device driver implements basic 12-35
2.1 USB Protocol Overview 12-26
2.1.1 USB System Introduction 12-13
2.1.2 USB system implementation view 13-14
2.1.3 USB traffic 14-16
2.1.4 USB packet 16-19
2.1.5 Transfer Type 19-23
2.1.6 descriptor 23-24
2.1.7 device requests 24-25
2.1.8 USB device enumeration 25-26
2.2 EZUSB FX2 microcontroller 26-31
2.2.1 Device Description 26-28
2.2.2 FX2 structure and characteristics of 28-29
2.2.3 Starting and heavy cited 29
2.2.4 program / data memory 29-30
2.2.5 endpoint buffer 30-31
2.2.6 External FIFO Interface 31
2.3 WINDOWS CE operating system 31-35
2.3.1 System Architecture 31
2.3.2 Windows CE system creates 31-32
2.3.3 Windows CE driver model 32-33
2.3.4 Device Manager 33-34
2.3.5 device driver loading 34-35
3 device driver design 35-44
3.1 WINDOWS CE USB device driver framework 35-40
3.2 device object 40-41
3.3 install device drivers 41-42
3.4 device connectivity 42
3.5 Access Device 42-44
4 device driver implementation 44-65
4.1 stream interface 44-48
4.2 USB callback function 48-51
4.2.1 USBInstallDriver 48-50
4.2.2 USBDevieceAttach 50-51
4.2.3 USBUnInstallDriver 51
4.3 IO control code 51-65
4.3.1 standard device request IO control 52-56
4.3.2 Auxiliary Class IO control 56-60
4.3.3 Data transmission IOCTL 60-62
4.3.4 EZ-USB -specific IOCTL, firmware download 62-65
5 Summary and Outlook 65-67
5.1 Work Summary 65
5.2 technology foresight 65-67
Thanks 67-68
References 68-70
Appendix 70-72
Related dissertations
- Development on the Human-Computer Interactive System of Heat Pump Controller Based on WinCE and Qt
- Design and Development of Software for Diagnostic Equipment Based on Wince Platform
- The Hardware Platform Design and Device Dirver Design of Diagnostic Equipment for Endothelial Cell Function
- The Design and Implementation of EZ-USB Device Driver on Linux System
- Research on an Embedded CNC System Based on ARM-WinCE
- PXA270 - based embedded computer design
- The Real-time Control of CNC System Based on Windows CE
- Design of Embedded Battlefield Information Processing Terminal System
- Design of Security Surveillance System Based on Intelligent Video Analysis
- The Study of Physiological Parameters Monitoring and Remote Wireless Alarming System Based on ARM
- The Research for the Engraving Machine Control System Based on ARM and FPGA
- Research on the Embedded Control System of Fed-Batch Culture in the Production of Monosodium Glutamate
- Design and Implementation of Car Embedded Systems to Multimedia Intelligent Terminal
- Research on Distributed Control System of Batch Dyeing
- The Design of a User Software for a Portable Infrared System on Windows CE Operating System
- Real-time Operating System Customization of Linux and Development of Device Driver
- The Design and Realization of the Windows CE Vehicle Navigation System Modem Driver
- Research and Implementation of Usbtmc Specification about Universal Test Instrument
- Research and Development of Bottom Software of Inkjet Printer System Based on Embedded Linux
- Radio Monitoring and Direction-finding System Software Development