Under Windows XP -based USB to RS-232 interface converter driver development
- Author
- YangDeChang
- Advisor
- LuZhiYuan
- School
- Xi'an University of Electronic Science and Technology
- Major
- Environmental Engineering
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 145
- Citations
- 1
- Windows Driver Model
- Universal Serial Bus
- RS-232 Interface Converter
- Input-output request packet
- Universal Serial Bus request packet
Abstract
Universal Serial Bus (Universal Serial BUS, USB) has become necessary computer interfaces, various computer consumer electronics products have gradually equipped with the superior performance of the USB interface , and RS-232 products also abound for the realization of communication , development USB to RS-232 interface converter is necessary. Subjects using the Windows XP DDK, Visual C 6.0, DbgView, WinDbg and other development and debugging tools developed based on Windows XP platform interface converter driver, creating the same basic functions and true virtual serial port , use the interface converter provide software assurance. Firstly, by analyzing the status of the communication protocol and abroad illustrate the necessity of issue , then the hardware design of the interface converter are analyzed for Windows Driver Mode (WDM) drive mode has been described ; designed interface converter driver model , established a development plan , understand and analyze the necessary mechanisms designed to focus on routine implementation strategy ; thesis final test on the driver , the installation process is described , made ??a summary of the entire design and made ??further perfect idea .
Table of contents
Abstract 3-4
Abstract 4-7
first chapter 7-11
1.1 RS-232 serial interface standard review 7
1.2 Universal Serial bus (USB) Summary 7-8
1.3 domestic situation 8-9
1.4 this research background and work content 9-11
Chapter communication Protocol 11-15
2.1 RS-232 serial interface standard 11-12
2.2 USB communication protocol 12-15
Chapter III USB to RS-232 interface converter hardware 15-25
3.1 overall system architecture 15-17
3.2 USB port 17-18
3.3 UART 18-20
3.4 Buffer 20-21
3.5 FIFO 21-25
Chapter interface converter driver model analysis and implementation mechanisms 25-43
4.1 WDM driver model Introduction 25-27
4.2 WDM-based model -driven framework designed interface converter 27-30
4.3 development plan established 30-31
4.4 integrated development environment configuration 31-32
4.5 I / O request packet (IRP) 32
4.6 dispatch function 32-33
4.7 USB data processing 33-34
4.8 memory allocation strategy 34 -35
4.9 synchronization 35-39
4.10 deferred procedure call 39-40
4.11 completion routine 40-43
Chapter V focuses interface converter driver routines designed 43-59
5.1 driver Entry routine 43-44
5.2 plug and play routine 44-49
5.3 dispatch routine 49-56
5.4 power management routines 56-57
5.5 uninstall routine 57-59
Chapter driven testing and installation 59-65
6.1 driver testing 59-61
6.2 driver installation 61-65
Summary and Outlook 65-67
Thanks 67-69
References 69-71
research 71-72
Related dissertations
- Design of Driver for Laser Marking Controller Based on USB
- Research on a Remote USB System and Its Implementation
- FPGA Implementation of USB Interface Based on UPLI Protocol
- Research on Electromagentic Leakage Emanations of USB Keyboard
- A Research and Design of the Secure Storaged USB Device Controller Based on FPGA
- Implementation of USB OHCI Host Stack Based on μC/OS-Ⅱ
- Research and Design of Virtual Serial Port Based on USB Communication Device Class
- The design of USB2.0 device controller and C code verification
- Flight Control Integrated Test Facility Hardware System Design and Implementation
- The Reasearch and Application of NCUC-Bus and USB Conversion
- Storage USB2.0 interface test system design
- The Design of High Speed Data Collection System Base on USB Bus
- Record playback unit designed based on USB2.0 data
- Design of a USB2.0 Interface Controller
- The Research of Communication and Storage Technology on Distributed Fault Detecting System of the Train
- USB-based parallel multi -channel design frequency tester
- The Research on Multi-Channel Real Signal Acquisition System Based on TMS320C6713 and USB2.0
- The Research on Fingerprint Gatherer System and Preprocessing of Image
- Windows family of operating systems underlying drive technology in real-time control system application
- Development of the Tramcar Speed Measuring and Recording System Based on USB