libFTDI - FTDI USB driver with bitbang mode

libFTDI is an open source library to talk to FTDI chips: FT232BM, FT245BM, FT2232C, FT2232D, FT245R, FT232H and FT230X including the popular bitbang mode. The library is linked with your program in userspace, no kernel driver required.
libFTDI works perfectly with Linux, Windows, MacOS X and BSD variants thanks to libusb.

If you have questions or want to talk to other developers, join the mailing list.

News

2016-05-20: Version 1.3 of libftdi released

  • Added ftdi_usb_get_strings2() to prevent automatic device close (Fahrzin Hemmati)
  • Added ftdi_transfer_data_cancel() for cancellation of a submitted transfer, avoided resubmittion of a canceled transfer in the callbacks, replaced calls to libusb_handle_events with libusb_handle_events_timeout_completed (Eugene Hutorny)
  • ftdi_eeprom / eeprom handling:
    • Add support for arbitrary user data (Salvador Eduardo Tropea)
    • Add --build-eeprom support (Salvador Eduardo Tropea)
    • Fix use_usb_version config file option (Thilo Schulz)
    • Ability to include other config files in EEPROM config file (Thilo Schulz)
    • Add external oscillator enable bit (Raphael Assenat)
    • Support channel configuration (Stephan Linz)
    • Added --device option to ftdi_eeprom to specify FTDI device (Robin Haberkorn)
    • Fixed EEPROM user-area space checks for FT232R and FT245R chips (Robin Haberkorn)
  • Various improvements to CBUS handling, including the EEPROM (Robin Haberkorn)
  • swig wrapper: Fix handling of binary strings in ftdi_write_data() for python 3 (xantares09)
  • cbus python example code (Rodney Sinclair)
  • ftdi_stream: fix timeout setting (Ларионов Даниил)
  • Fixed typo in CBUS defines: CBUSG_DRIVE1 -> CBUSH_DRIVE1
2014-11-21: Version 1.2 of libftdi released
  • Support for FT230X devices (Uwe Bonnes)
  • ftdi_usb_get_strings(): Don't try to open an already open device (Denis Sirotkin)
  • Support for finding devices bricked by the Windows driver (Forest Crossman)
  • cmake build system: New LibFTDI1ConfigVersion.cmake file (xantares09)
  • Fix a typo in the MPSSE command CLK_BYTES_OR_LOW (Benjamin Vanheuverzwijn)
  • Minor fixes for MSVC++ (Andrei Errapart)
  • Various small code improvements (Florian Preinstorfer, Jochen Sprickerhof, xantares09)
2014-02-05: Version 1.1 of libftdi released
  • Fix FT232H eeprom suspend pulldown setting (Davide Michelizza)
  • Fix FT232H eeprom user area size (Davide Michelizza)
  • Improved mingw build (Paul Fertser and Michel Zou)
  • C++ wrapper: Get/set functions for USB timeouts (Jochen Sprickerhof)
  • Partial support for FT230X (Nathael Pajani)
  • New API function: ftdi_eeprom_set_strings() (Nathael Pajani)
  • Prevent possible segfault in ftdi_eeprom_decode() (Nathael Pajani)
  • Save device release number in eeprom (Jarkko Sonninen)
  • Fix "self powered" eeprom flag (Jarkko Sonninen)
  • Improved python wrapper (Michel Zou)
  • Many buildsystem improvements (Michel Zou and Mike Frysinger)
  • See the git history for more changes and fixes

License

The library itself is licensed under LGPL 2.1 (not any later),
the EEPROM programmer is licensed under GPL 2 (not any later)