On Fri, Jun 19, 2009 at 3:36 AM, Freddie Chopin<freddie_cho...@op.pl> wrote: > As Michael wrote to me, you actually need a hacked version of > libusb0.sys for any composite USB device (FT2232) to work... It's just > asking for trouble IMHO... > > http://www.nabble.com/LibUSB---composite-USB-devices-td11027391.html > > Add that libusb cannot be compiled on Windows and you need to use > libusb-win32, which is 2 y.o. now and only 0.1.12... When someday > OpenOCD switches to newer libusb, what will happen to windows support? > Will that be dropped, for the sake of GPL?
Please refer to my reply to Michael. You may want to try out two methods. 1) Use the svn version of libusb-win32. This may not work. https://lists.berlios.de/pipermail/openocd-development/2009-June/008004.html 2) I believe the INF file is not correct in order to use a composite device with libusb-win32 0.1.12. You should use the INF wizard to generate the driver for the whole device, not the individual interface. I have used libusb-win32 0.1.12 with USB composite device using this method and it works fine. https://lists.berlios.de/pipermail/openocd-development/2009-June/008022.html https://lists.berlios.de/pipermail/openocd-development/2009-June/008066.html Reference: http://article.gmane.org/gmane.comp.lib.libusb.devel.windows/2088 Unfortunately I do not have an FTDI device to try out this method. But you may want to give it a try. As for the speed issue, I think that might get some help if OpenOCD will switch to use libusb 1.0 under Linux and use asynchronous I/O. libusb-win32 0.1.12 already supports asynchronous I/O. As for GPL issue, I think that is up to the authors. I personally think it would be better to grant a exception to the D2XX driver given the complications of using libsub-win32/libftdi under Windows. But I am not an author (can not code) so I have no say on this topic. -- Xiaofan http://mcuee.blogspot.com _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development