On Wed, Mar 10, 2010 at 5:42 PM, Laurent Gauch <laurent.ga...@amontec.com> wrote: > Actually, the FTDI d2xx driver is still much faster than LIBFTDI + LIBUSB > ... > If you are Linux only try using FTDI d2xx driver ;-) ! > But the actual linux d2xx driver do not provide the same performances as the > windows performance.
Under Linux, FTD2xx is based on libusb 0.1. According to the author of libftdi-1.0 (Jie Zhang), libftdi 1.0 which is based on libusb 1.0 can greatly increase the performance of FT2232x based JTAG debuggers based on his evaluation of UrJTAG (from 10.3KB/s to 110.2KB/s for his BlackFin target). As per him, OpenOCD's ft2232 driver can be re-written to improve the performance. I forwarded his post last time. Here is the part again. BTW, libusb 1.0 is working under Linux and Mac OS X. FreeBSD has a libusb 1.0 wrapper which seems to work as well. And libusb-1.0 Windows backend is now in pre-release mode (kind of feature freeze). ---------- Forwarded message ---------- From: Jie Zhang <jzhang918 at gmail.com> Date: Sat, Feb 20, 2010 at 11:47 AM Subject: Re: libftdi-1.0 for Ubuntu 9.10 To: libftdi at developer.intra2net.com You need to modify OpenOCD to utilize the async mode to get higher performance. See The commit: http://urjtag.git.sourceforge.net/git/gitweb.cgi?p=urjtag/urjtag;a=commit;h=ad53771377357e1f10206b2916069373fda01122 The patch: http://sourceforge.net/mailarchive/message.php?msg_name=4B70279A.3010307%40analog.com The explanation: http://developer.intra2net.com/mailarchive/html/libftdi/2010/msg00065.html -- Xiaofan http://mcuee.blogspot.com _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development