Add MPSSE communications layer for FTDI chips
commitb598efb6135103ef2f2b451402b5a0aca1c87d22
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sun, 29 Jan 2012 23:16:41 +0000 (30 00:16 +0100)
committerPeter Stuge <peter@stuge.se>
Tue, 17 Jul 2012 01:34:01 +0000 (17 01:34 +0000)
treece9d5864da8fb040e3ec23e9e6464bb3a590f80e
parent2aab7d3ce2b53200ed01eeedb8348fa4b977bed3
Add MPSSE communications layer for FTDI chips

This is a higher-level libftdi replacement for use when implementing
protocol drivers for FT2232, FT2232H or FT4232H. It takes care of device
open/close and, unlike libftdi, also MPSSE command abstraction, command
queueing, buffer handling and return data parsing.

The FTDI device is accessed through libusb-1.0 in asynchronous mode.

Change-Id: I051adb574dcc39f8ca9cd7f6dbe6ae4aeea5f4c8
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/451
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Reviewed-by: Peter Stuge <peter@stuge.se>
src/jtag/drivers/mpsse.c [new file with mode: 0644]
src/jtag/drivers/mpsse.h [new file with mode: 0644]