|
![]() USB
![]() Simple bulk example
|
| next newest topic | next oldest topic |
| Author | Topic: Simple bulk example |
|
Tsuneo Member |
Simple bulk example SiLabs USB_Bulk example is excellent. However, as the start point for modification, simpler example is desirable. USB_INT (now USB_Interrupt) example is rather simpler than USB_Bulk on its control structure. This is the reason why USB_INT is often selected by developers who attempt USB world. Fortunately, USB_INT can be easily converted to bulk one. The conversion procedure is summarized as follows. On the firmware, On the host application (Note) The detail is as follows. Enjoy your USB development. Tsuneo
[EDIT] [This message has been edited by Tsuneo (edited March 28, 2007).] IP: Logged |
|
egawtry Member |
Tsuneo, Don't you also have to install the bulk driver on the PC? -Erik IP: Logged |
|
Tsuneo Member |
Hi Erik, That's right. If the SiLabs bulk device driver is not installed on the PC yet, Windows will show the New Hardware wizard, when the device is plugged in to the PC. C:\SiLabs\MCU\Examples\C8051F32x\USB_Bulk Either will do. The device driver is identical. Tsuneo [This message has been edited by Tsuneo (edited January 30, 2007).] IP: Logged |
|
Tsuneo Member |
BulkUSB device driver on WinDDK Other than SiLabs bulk device driver, WinDDK provides BulkUSB device driver example. This device driver is almost compatible (same?) to SiLabs one.
Burn the ISO image of WinDDK to a CDR disk, run the installer as usual. After installation of WinDDK, you'll see this example here. To build this example, 2) In the poped-up DOS window, move to the example source directory, and run the build utility cd src\wdm\usb\bulkusb\sys 3) When the build finishes successfully, bulkusb.sys is resulted in The INF file (bulkusb.inf) is found in Copy these sys and INF file to a directory.
The default VID/PID on the INF file is, Match the VID/PID on the firmware to that of the INF file.
Copy this header file to the host app project, and change As the SiLabs bulk device driver, each endpoint is accessed like "PIPE00", "PIPE01".
Tsuneo [This message has been edited by Tsuneo (edited October 25, 2007).] IP: Logged |
All times are CT (US) | next newest topic | next oldest topic |
![]() |
|
Have you seen our MCU Knowledge Base?