📄 windriver usb v9_01 user's manual.htm
字号:
</A></LI></UL></LI></UL><BR>
<LI><A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#SECTION001800000000000000000"
name=tex2html512>C. Troubleshooting and Support </A>
<LI><A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#SECTION001900000000000000000"
name=tex2html513>D. Evaluation Version Limitations </A>
<UL>
<LI><A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#SECTION001910000000000000000"
name=tex2html514>D.1 Windows WinDriver Evaluation Limitations </A>
<LI><A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#SECTION001920000000000000000"
name=tex2html515>D.2 Windows CE WinDriver Evaluation Limitations </A>
<LI><A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#SECTION001930000000000000000"
name=tex2html516>D.3 Linux WinDriver Evaluation Limitations </A></LI></UL><BR>
<LI><A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#SECTION002000000000000000000"
name=tex2html517>E. Purchasing WinDriver </A>
<LI><A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#SECTION002100000000000000000"
name=tex2html518>F. Distributing Your Driver - Legal Issues </A>
<LI><A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#SECTION002200000000000000000"
name=tex2html519>G. Additional Documentation </A></LI></UL><!--End of Table of Contents-->
<P><BR>
<H2><A name=SECTION00300000000000000000>List of Figures</A> </H2>
<UL>
<LI>1.1. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#4374"
name=tex2html4>WinDriver Architecture</A>
<LI>2.1. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#4771"
name=tex2html6>Monolithic Drivers</A>
<LI>2.2. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#4778"
name=tex2html7>Layered Drivers</A>
<LI>2.3. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#4785"
name=tex2html8>Miniport Drivers</A>
<LI>3.1. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#5052"
name=tex2html9>USB Endpoints</A>
<LI>3.2. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#5063"
name=tex2html10>USB Pipes</A>
<LI>3.3. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#5080"
name=tex2html12>Device Descriptors</A>
<LI>3.4. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#5089"
name=tex2html14>WinDriver USB Architecture</A>
<LI>5.1. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#7086"
name=tex2html15>Create or Open a WinDriver Project</A>
<LI>5.2. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#7092"
name=tex2html16>Select Your Device</A>
<LI>5.3. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#7104"
name=tex2html17>DriverWizard INF File Information</A>
<LI>5.4. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#7109"
name=tex2html18>DriverWizard Multi-Interface INF File Information - Specific
Interface</A>
<LI>5.5. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#7114"
name=tex2html19>DriverWizard Multi-Interface INF File Information - Composite
Device</A>
<LI>5.6. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#7129"
name=tex2html20>Select Device Interface</A>
<LI>5.7. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#7139"
name=tex2html21>USB Control Transfers</A>
<LI>5.8. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#7152"
name=tex2html22>Listen to Pipe</A>
<LI>5.9. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#7159"
name=tex2html23>Write to Pipe</A>
<LI>5.10. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#7170"
name=tex2html24>Code Generation Options</A>
<LI>5.11. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#7215"
name=tex2html25>Ellisys Visual USB Integration</A>
<LI>7.1. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#8085"
name=tex2html26>Start Debug Monitor</A>
<LI>7.2. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#8094"
name=tex2html27>Debug Options</A>
<LI>9.1. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#8485"
name=tex2html28>USB Data Exchange</A>
<LI>9.2. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#8645"
name=tex2html29>USB Read and Write</A>
<LI>9.3. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#8677"
name=tex2html31>Custom Request</A>
<LI>9.4. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#8683"
name=tex2html32>Requests List</A>
<LI>9.5. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#8688"
name=tex2html33>USB Request Log</A>
<LI>B.1. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#13958"
name=tex2html45>WinDriver USB Calling Sequence</A>
<LI>B.2. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#15246"
name=tex2html46>WinDriver USB Structures</A>
<LI>B.3. <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#16986"
name=tex2html47>WinDriver API Calling Sequence</A></LI></UL>
<P>
<H1><A name=SECTION00400000000000000000></A><A name=WD_Overview></A><BR>1.
WinDriver Overview </H1><I>In this chapter you will explore the uses of
WinDriver, and learn the basic steps of creating your driver.</I>
<P><FONT
color=#0f75ff>****************************************************************************************</FONT>
<TABLE cellPadding=3>
<TBODY>
<TR>
<TD vAlign=top align=left width=14> </TD>
<TD vAlign=top align=left width=567><FONT
color=#0f75ff><B><U>NOTE</U></B></FONT></TD></TR>
<TR>
<TD vAlign=top align=left width=14> </TD>
<TD vAlign=top align=left width=567>This manual outlines WinDriver's
support for USB devices. WinDriver also supports development for
PCI/PCMCIA/CardBus/ISA/EISA/CompactPCI/PCI Express devices. For detailed
information regarding WinDriver's support for these buses, please refer to
the WinDriver Product Line page on our web-site (<TT><A
href="http://www.jungo.com/windriver.html"
name=tex2html1>http://www.jungo.com/windriver.html</A></TT>) and to the
WinDriver PCI/PCMCIA/CardBus/ISA/EISA/CompactPCI/PCI Express User's
Manual, which is available on-line at: <TT><A
href="http://www.jungo.com/support/support_windriver.html"
name=tex2html2>http://www.jungo.com/support/support_windriver.html</A></TT>.</TD></TR></TBODY></TABLE><FONT
color=#0f75ff>****************************************************************************************</FONT>
<P>
<H1><A name=SECTION00410000000000000000></A><A
name=Introduction_to_WinDriver></A><BR>1.1 Introduction to WinDriver </H1>
<P>WinDriver is a development toolkit that dramatically simplifies the difficult
task of creating device drivers and hardware access applications. WinDriver
includes a wizard and code generation features that automatically detect your
hardware and generate the driver to access it from your application. The driver
and application you develop using WinDriver is source code compatible across all
supported operating systems [<A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#WD_sup_platforms">1.6</A>].
The driver is binary compatible across Windows 98/Me/2000/XP/Server 2003/Vista.
WinDriver provides a complete solution for creating high-performance drivers.
<P>Don't let the size of this manual fool you. WinDriver makes developing device
drivers an easy task that takes hours instead of months. Most of this manual
deals with the features that WinDriver offers to the advanced user. However,
most developers will find that reading this chapter and glancing through the
DriverWizard and function reference chapters is all they need to successfully
write their driver.
<P>WinDriver supports development for all USB chipsets. Enhanced support is
offered for Cypress, Microchip, Philips, Texas Instruments, Agere and Silicon
Laboratories USB chipsets, as outlined in Chapter <A
href="file:///D:/Program%20Files/WinDriver/docs/wdusb_man_html/html_wdusb_man.html#Enhanced-Support">8</A>
of the manual.
<P>Visit Jungo's web site at <TT><A href="http://www.jungo.com/"
name=tex2html3>http://www.jungo.com/</A></TT> for the latest news about
WinDriver and other driver development tools that Jungo offers.
<P>
<H1><A name=SECTION00420000000000000000></A><A
name=WD_overview_background></A><BR>1.2 Background </H1>
<P>
<H2><A name=SECTION00421000000000000000></A><A
name=WD_overview_the_challenge></A><BR>1.2.1 The Challenge </H2>
<P>In protected operating systems such as Windows and Linux, a programmer cannot
access hardware directly from the application level (user mode), where
development work is usually done. Hardware can only be accessed from within the
operating system itself (kernel mode or Ring-0), utilizing software modules
called device drivers. In order to access a custom hardware device from the
application level, a programmer must do the following:
<P>
<UL>
<LI>Learn the internals of the operating system he is working on.
<LI>Learn how to write a device driver.
<LI>Learn new tools for developing/debugging in kernel mode (DDK, ETK,
DDI/DKI).
<LI>Write the kernel-mode device driver that does the basic hardware
input/output.
<LI>Write the application in user mode that accesses the hardware through the
device driver written in kernel mode.
<LI>Repeat the first four steps for each new operating system on which the
code should run. </LI></UL>
<P>
<H2><A name=SECTION00422000000000000000></A><A
name=WD_overview_the_WD_solution></A><BR>1.2.2 The WinDriver Solution </H2>
<P>
<DL>
<DT><STRONG>Easy Development:</STRONG>
<DD>WinDriver enables Windows, Windows CE and Linux programmers to create USB
based device drivers in an extremely short time. WinDriver allows you to
create your driver in the familiar user-mode environment, using MSDEV/Visual
C/C++, MSDEV .NET, Borland C++ Builder, Borland Delphi, Visual Basic 6.0, MS
eMbedded Visual C++, MS Platform Builder C++, GCC, or any other appropriate
compiler. You do not need to have any device driver knowledge, nor do you have
to be familiar with operating system internals, kernel programming, the DDK,
ETK or DDI/DKI.
<P></P>
<DT><STRONG>Cross Platform:</STRONG>
<DD>The driver created with WinDriver will run on Windows 98/Me/2000/XP/Server
2003/Vista, Windows CE.NET, Windows Embedded CE v6.00, Windows Mobile 5.0/6.0
and Linux. In other words - write it once, run it on many platforms.
<P></P>
<DT><STRONG>Friendly Wizards:</STRONG>
<DD>DriverWizard (included) is a graphical diagnostics tool that lets you view
the d
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -