没有合适的资源?快使用搜索试试~ 我知道了~
首页WinDriver USB USer's Manual
资源详情
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/755087/bg2.jpg)
COPYRIGHT
© Jungo Ltd. 2005 – 2008 All Rights Reserved.
Information in this document is subject to change without notice. The software
described in this document is furnished under a license agreement. The software
may be used, copied or distributed only in accordance with that agreement. No part
of this publication may be reproduced, stored in a retrieval system, or transmitted in
any form or any means, electronically or mechanically, including photocopying and
recording for any purpose without the written permission of Jungo Ltd.
Brand and product names mentioned in this document are trademarks of their
respective holders and are used here only for identification purposes.
1
![](https://csdnimg.cn/release/download_crawler_static/755087/bg3.jpg)
Contents
Table of Contents
2
List of Figures 10
1 WinDriver Overview 12
1.1 Introduction to WinDriver . . . . . . . . . . . . . . . . . . . . . . 12
1.2 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.2.1 The Challenge . . . . . . . . . . . . . . . . . . . . . . . . 13
1.2.2 The WinDriver Solution . . . . . . . . . . . . . . . . . . . 14
1.3 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.4 WinDriver Benefits . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.5 WinDriver Architecture . . . . . . . . . . . . . . . . . . . . . . . . 16
1.6 What Platforms Does WinDriver Support? . . . . . . . . . . . . . . 17
1.7 Limitations of the Different Evaluation Versions . . . . . . . . . . . 17
1.8 How Do I Develop My Driver with WinDriver? . . . . . . . . . . . 17
1.8.1 On Windows and Linux . . . . . . . . . . . . . . . . . . . 17
1.8.2 On Windows CE . . . . . . . . . . . . . . . . . . . . . . . 18
1.9 What Does the WinDriver Toolkit Include? . . . . . . . . . . . . . 18
1.9.1 WinDriver Modules . . . . . . . . . . . . . . . . . . . . . 19
1.9.2 Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
1.9.3 WinDriver’s Specific Chipset Support . . . . . . . . . . . . 20
1.9.4 Samples . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
1.10 Can I Distribute the Driver Created with WinDriver? . . . . . . . . 21
2 Understanding Device Drivers 22
2.1 Device Driver Overview . . . . . . . . . . . . . . . . . . . . . . . 22
2.2 Classification of Drivers According to Functionality . . . . . . . . . 23
2.2.1 Monolithic Drivers . . . . . . . . . . . . . . . . . . . . . . 23
2.2.2 Layered Drivers . . . . . . . . . . . . . . . . . . . . . . . 24
2.2.3 Miniport Drivers . . . . . . . . . . . . . . . . . . . . . . . 24
2.3 Classification of Drivers According to Operating Systems . . . . . . 25
2
![](https://csdnimg.cn/release/download_crawler_static/755087/bg4.jpg)
CONTENTS
3
2.3.1 WDM Drivers . . . . . . . . . . . . . . . . . . . . . . . .
25
2.3.2 VxD Drivers . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.3.3 Unix Device Drivers . . . . . . . . . . . . . . . . . . . . . 26
2.3.4 Linux Device Drivers . . . . . . . . . . . . . . . . . . . . 26
2.4 The Entry Point of the Driver . . . . . . . . . . . . . . . . . . . . . 27
2.5 Associating the Hardware to the Driver . . . . . . . . . . . . . . . 27
2.6 Communicating with Drivers . . . . . . . . . . . . . . . . . . . . . 27
3 WinDriver USB Overview 29
3.1 Introduction to USB . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.2 WinDriver USB Benefits . . . . . . . . . . . . . . . . . . . . . . . 30
3.3 USB Components . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.4 Data Flow in USB Devices . . . . . . . . . . . . . . . . . . . . . . 31
3.5 USB Data Exchange . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.6 USB Data Transfer Types . . . . . . . . . . . . . . . . . . . . . . . 34
3.6.1 Control Transfer . . . . . . . . . . . . . . . . . . . . . . . 34
3.6.2 Isochronous Transfer . . . . . . . . . . . . . . . . . . . . . 35
3.6.3 Interrupt Transfer . . . . . . . . . . . . . . . . . . . . . . 35
3.6.4 Bulk Transfer . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.7 USB Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.8 WinDriver USB . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.9 WinDriver USB Architecture . . . . . . . . . . . . . . . . . . . . . 40
3.10 Which Drivers Can I Write with WinDriver USB? . . . . . . . . . . 42
4 Installing WinDriver 43
4.1 System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . 43
4.1.1 Windows System Requirements . . . . . . . . . . . . . . . 43
4.1.2 Windows CE System Requirements . . . . . . . . . . . . . 44
4.1.3 Linux System Requirements . . . . . . . . . . . . . . . . . 44
4.2 WinDriver Installation Process . . . . . . . . . . . . . . . . . . . . 45
4.2.1 Windows WinDriver Installation Instructions . . . . . . . . 45
4.2.2 Windows CE WinDriver Installation Instructions . . . . . . 46
4.2.2.1 Installing WinDriver CE when Building New
CE-Based Platforms . . . . . . . . . . . . . . . 46
4.2.2.2 Installing WinDriver CE when Developing
Applications for Windows CE Computers . . . .
48
4.2.2.3 Windows CE Installation Note . . . . . . . . . . 49
4.2.3 Linux WinDriver Installation Instructions . . . . . . . . . . 50
4.2.3.1 Preparing the System for Installation . . . . . . 50
4.2.3.2 Installation . . . . . . . . . . . . . . . . . . . . 51
4.2.3.3 Restricting Hardware Access on Linux . . . . . 53
4.3 Upgrading Your Installation . . . . . . . . . . . . . . . . . . . . . 53
4.4 Checking Your Installation . . . . . . . . . . . . . . . . . . . . . . 54
![](https://csdnimg.cn/release/download_crawler_static/755087/bg5.jpg)
CONTENTS
4
4.4.1 Windows and Linux Installation Check . . . . . . . . . . .
54
4.4.2 Windows CE Installation Check . . . . . . . . . . . . . . . 54
4.5 Uninstalling WinDriver . . . . . . . . . . . . . . . . . . . . . . . . 55
4.5.1 Windows WinDriver Uninstall Instructions . . . . . . . . . 55
4.5.2 Linux WinDriver Uninstall Instructions . . . . . . . . . . . 57
5 Using DriverWizard 58
5.1 An Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
5.2 DriverWizard Walkthrough . . . . . . . . . . . . . . . . . . . . . . 59
5.2.1 Logging WinDriver API Calls . . . . . . . . . . . . . . . . 69
5.2.2 DriverWizard Logger . . . . . . . . . . . . . . . . . . . . 69
5.2.3 Automatic Code Generation . . . . . . . . . . . . . . . . . 69
5.2.3.1 Generating the Code . . . . . . . . . . . . . . . 69
5.2.3.2 The Generated USB C Code . . . . . . . . . . . 69
5.2.3.3 The Generated Visual Basic and Delphi Code . . 70
5.2.3.4 The Generated C# and Visual Basic .NET Code . 70
5.2.4 Compiling the Generated Code . . . . . . . . . . . . . . . 70
5.2.4.1 Windows and Windows CE Compilation: . . . . 70
5.2.4.2 Linux Compilation . . . . . . . . . . . . . . . . 70
5.2.5 Bus Analyzer Integration – Ellisys Visual USB . . . . . . . 71
6 Developing a Driver 72
6.1 Using the DriverWizard to Build a Device Driver . . . . . . . . . . 72
6.2 Writing the Device Driver Without the DriverWizard . . . . . . . . 73
6.2.1 Include the Required WinDriver Files . . . . . . . . . . . . 73
6.2.2 Write Your Code . . . . . . . . . . . . . . . . . . . . . . . 74
6.3 Developing Your Driver on Windows CE Platforms . . . . . . . . . 75
6.4 Developing in Visual Basic and Delphi . . . . . . . . . . . . . . . . 76
6.4.1 Using DriverWizard . . . . . . . . . . . . . . . . . . . . . 76
6.4.2 Samples . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
6.4.3 Creating your Driver . . . . . . . . . . . . . . . . . . . . . 76
7 Debugging Drivers 77
7.1 User-Mode Debugging . . . . . . . . . . . . . . . . . . . . . . . . 77
7.2 Debug Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
7.2.1 Using the Debug Monitor in Graphical Mode –
wddebug_gui . . . . . . . . . . . . . . . . . . . . . . . .
78
7.2.1.1 Running the Graphical Debug Monitor for a
Renamed Driver . . . . . . . . . . . . . . . . . 80
7.2.2 Using the Debug Monitor in Console Mode – wddebug . . 81
8 Enhanced Support for Specific Chipsets 85
8.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
剩余236页未读,继续阅读
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)