summaryrefslogtreecommitdiff
path: root/usb/usbsamp
diff options
context:
space:
mode:
authorBarry Golden <[email protected]>2015-08-05 18:07:36 -0700
committerBarry Golden <[email protected]>2015-08-05 18:07:36 -0700
commitbd17fd844b4f074821b9d4c7bc86b9dc7f0e4a59 (patch)
treea60e3be184c49ba280c2fae23fc99709c0717510 /usb/usbsamp
parent36bf4df42a182a6b6d3e707099f985fe8a644001 (diff)
Remove obsolete readme.htm
Diffstat (limited to 'usb/usbsamp')
-rw-r--r--usb/usbsamp/usbsamp.htm92
1 files changed, 0 insertions, 92 deletions
diff --git a/usb/usbsamp/usbsamp.htm b/usb/usbsamp/usbsamp.htm
deleted file mode 100644
index 015e7f28..00000000
--- a/usb/usbsamp/usbsamp.htm
+++ /dev/null
@@ -1,92 +0,0 @@
-<HTML>
-<HEAD>
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-
-1252">
-<META NAME="Generator" CONTENT="Microsoft FrontPage 5.0">
-<TITLE>Bulk Usb</TITLE>
-</HEAD>
-<BODY LINK="#0000ff">
-
-<FONT FACE="Verdana" SIZE=5><H2>USBSAMP</H2>
-</FONT><FONT FACE="Verdana" SIZE=2>
-
-<P>
-<FONT FACE="Verdana" SIZE=5><H3>Summary</H3>
-</FONT><FONT FACE="Verdana" SIZE=2>
-
-<p>The USBSAMP sample demonstrates how to perform full and high speed bulk and isochronous, and super speed bulk stream data transfers to a generic USB device using Windows Kernel Mode Driver Framework (KMDF). Super speed bulk transfer only works on Microsoft USB 3.0 stack. The sample also contains a console test application to initiate bulk, bulk stream & isochronouse transfers and
-obtain information on the device's I/O endpoints. The application also
-demonstrates how to use GUID-based device names and pipe names generated by the
-operating system using the SetupDiXXX user-mode APIs.</p>
-
-
-<H3><A NAME="build"></A>Building the sample</H3></FONT><FONT FACE="Verdana"
-SIZE=2><P>
-To build the sample driver and exe, you must first set up the DDK build environment on your host machine. The �Installation and Release Notes� in the Windows DDK has a complete description on how to do this.
-
- <OL>
-
-
- <LI>
- Run the build �ceZ command in the usbsamp directory to build <I>usbsamp.sys</I> and <I>usbsamp.exe</I>.
-
-
-
- <LI>
- Copy <I>KMDF coinstaller (wdfcoinstallerMMmmm.dll)</I>, <I>usbsamp.sys</I>, <I>usbsamp.exe</I>, and <I>usbsamp.inf</I> to a floppy disk or a temporary directory on the target system.
-</OL>
- <P>
-
-
-<H3>Installing the Driver</H3>
-
- Make sure your device has been programmed with the device VID/PID in the
- USBSAMP.inf file. If not, edit the device VID, PID, and description text in the INF to
- match your test board/device. <p>
- After you plug the device:
- <p><b>On Windows 7 and later:</b></p>
- <ul>
- <li>Bring up the device manager, find the device, right click on the device to &quot;Update Driver Software..&quot;
-<li>Choose the &quot;Browse my computer for driver software&quot; option
-<li>Click on &quot;Let me pick from a list of device drivers on my computer&quot;
-<li>In the &quot;Select your device's type from the list below&quot;, pick the &quot;Show All Devices&quot;
-<li>Click on &quot;Have Disk&quot; and specify the target media or the directory where the INF and SYS files are copied and then hit the &quot;Next&quot; button.
-<li>The system will scan the directory and pick up the matching INF and start the installation. You will get a Hardware Installation Warning dialog stating that your driver has not passed Windows Logo Testing. Hit &quot;Continue Anyway&quot; button.
-<li>The system will copy the KMDF coinstaller (wdfcoinstallerMMmmm.dll), driver, INF file, load the driver and start the device. If every thing goes fine, you will get &quot;Completing the Found New Hardware Wizard&quot;. Hit the &quot;Finish&quot; button and the installation is complete.
-<li> You should be able to see the device in the Device manager under &quot;Samples&quot device type
- </ul>
-
-
-<h3>Testing</h3>
-
-You can use usbsamp.exe to test the device. This console application enumerates the interface registered by the driver and opens the device to send read, write or ioctl requests based on the command line options.
-<p>
-usbsamp.exe -u <-- Will dump all the descriptors and endpoint information. Always use it to dump the endpoint information to get correct pipe number for read and write
-</P>
-<p>
-usbsamp.exe -r 1024 -w 1024 -c 100 -v <-- This command first writes 1024 bytes of data to bulk out endpoint (pipe1), and then reads 1024 bytes from bulk in endpoint (pipe0), and compares the read buffer with write buffer to see if they match. If the buffer contents match, it performs this operation 100 times.
-</P>
-<p>
-To read and write to bulk endpoints you can run one or more of these commands simultaneously. When it reads or writes to super speed bulk endpoints with streams, the sample driver always uses the first underlying stream in that super speed bulk endpoints. The driver is multi-thread safe so it can handle multiple request at a time.
-<p>
-usbsamp.exe -r 65536 <--- by default, the device reads pipe0
-<p>
-usbsamp.exe -w 65536 <--- by default, the device write to pipe1
-<p>
-usbsamp.exe -r 65536 -i pipe02 <--- read 65536 bytes from pipe02
-<p>
-usbsamp.exe -w 65536 -o pipe03 <--- write 65536 bytes to pipe03
-
-<p>
-To read and write to Isochronous endpoints you can run one or more of these commands simultaneously.
-<p>
-usbsamp.exe -r 510 -i pipe04
-<p>
-usbsamp.exe -w 510 -o pipe05
-<p>
-usbsamp.exe -w 1024 -o pipe05 -r 1024 -i pipe04 -c 100 -v
-
-<p>
-When run with "-x" option for read and write, it skips validation of read and write data.
-</BODY>
-</HTML> \ No newline at end of file