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?

Anyway, about that "equal" performance with libftdi:

Tested with a ~29kB image on LPC2103 (upload to flash):

libftdi:

 > Start address 0x3c, load size 29640
 > Transfer rate: 6 KB/sec, 14820 bytes/write.

ftd2xx:

 > Start address 0x3c, load size 29640
 > Transfer rate: 15 KB/sec, 14820 bytes/write.

So: libftdi is 2.5x slower

Tested with ~114kB image on STM32 (upload to flash):

libftdi:

 > Start address 0x8000134, load size 114432
 > Transfer rate: 8 KB/sec, 16347 bytes/write.

ftd2xx:

 > Start address 0x8000134, load size 114432
 > Transfer rate: 11 KB/sec, 16347 bytes/write.

Again slower, this time only about 30%, but still, that's nowhere to 
"comparable"

4\/3!!

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to