Monday, March 4, 2013

libftdi1-1.0 released and Windows binary download

libftdi1-1.0 has been released on 29-Jan-2013 after three years of active development.

Main highlights
------------------
* Ported to libusb 1.x
* Many EEProm handling improvements
* Library .so / pkgconfig files are called "libftdi1".
  So it can co-exist with libftdi 0.x
* ftdi_eeprom is part of the main distribution

Download:
http://www.intra2net.com/en/developer/libftdi/download/libftdi1-1.0.tar.bz2

I provided the MinGW32 download here.

Saturday, September 22, 2012

OpenOCD 0.6.0 release 32bit Windows binary using libusbx 1.0.13

http://code.google.com/p/picusb/downloads/detail?name=openocd_0.6.0_mingw32.zip

OpenOCD 0.6.0
Release date: 7 September 2012
build date: 22 September 2012
build system: Windows XP SP3
compiler: GCC 4.7.0 (MinGW.org), 32bit only

Libraries used (32bit)
libftdi-0.20
libusb-win32-1.2.6.0
libusbx-1.0.13

Build commands used:

LDFLAGS="-lusb-1.0" ../configure --enable-ftdi \
--enable-ft2232_libftdi --enable-presto_libftdi --enable-stlink \
--enable-arm-jtag-ew --enable-jlink --enable-rlink \
--enable-usbprog --enable-vsllink --enable-usb_blaster_libftdi \
--enable-remote-bitbang  --enable-vsllink --enable-ulink \
--enable-osbdm --enable-opendous \
--disable-shared --disable-werror

Drive installation.
1) ST-Link V2: use the driver from ST (winusb based)

2) libusb-1.0 drivers are required for:
- ST-LINK V1
- J-Link
- FTDI FTx232 adapters when using config files from
interface/ftdi/ subfolder (mpsse engine)

You can install libusb-1.0 drivers using Zadig software from
the libwdi project
https://sourceforge.net/projects/libwdi/files/zadig/

You can choose to use winusb.sys, libusb0.sys, or libusbk.sys.
In general, they should perform the same but Winusb.sys
support in libusbx 1.0.13 may be more mature than libusb0.sys
and libusbk.sys.

For ST-Link V1 and J-Link, you may want to use the libusb-win32
filter driver since you can keep the existing vendor driver.

For FTx232 adapters (USB composite device), you can not use
the filter driver since libusbx 1.0.13 does not support
the filter driver for USB Composite device.

3) Other USB JTAG debuggers including FTDI FTx232 adapters when
not using config files from interface/ftdi/ subfolder (not using
the new mpsse engine)

Use Zadig to install libusb-win32 drivers (device driver or
filter driver)

Saturday, June 2, 2012

OpenOCD 0.6.0 development Windows binary snapshot for testing

I've packaged two Windows binary snapshots for those who are interested in testing the upcoming OpenOCD 0.6.0 release.

Download: http://code.google.com/p/picusb/downloads/list

One of the download is for the new mpsse patch series which use libusb-1.0 asynchronous API to speed up the speed of FTDI based adapters. The other is the regular git version. Compared to 0.5.0, the improvement in 0.6.0 is very significant, both in terms of new support (like ST-Link) and performance.