]> git.sur5r.net Git - openocd/commit
drivers/jtag: rewrite usb_blaster driver
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sun, 14 Apr 2013 20:23:18 +0000 (22:23 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 4 Jun 2013 20:00:42 +0000 (20:00 +0000)
commit8890ce34696d2e6a18eeda4a410724d24ad57360
tree596b86658ddae9b6ac5af3c18d9a202e8fdfc010
parent452df0371e90705f9dce01fe0ebd4139a7dcba21
drivers/jtag: rewrite usb_blaster driver

Rewrite the Altera USB Blaster dongle driver :

 - make extensive use of byte-shift mode, to improve JTAG
   speed.
   This is the main reason of the rewrite. It improves the
   memory dumps with a factor 3 at least, and upload 100
   times, from 1 kBytes/sec to 100 kBytes/sec with a
   USB-Blaster connected to an Altera Virtual JTAG TAP +
   OpenRISC CPU.

 - split the low level API part (between FTDI and FTD2xx)
 from core driver, so that in the future, if both libftdi
 and ftd2xx can coexist, the driver will be able to switch
 dynamically from one access to the other.

Change-Id: I2ee9cedf4a5eb27501f337993ee0cdee52517e7c
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Marek Czerski <ma.czerski@gmail.com>
Tested-by: Franck Jullien <franck.jullien@gmail.com>
Reviewed-on: http://openocd.zylin.com/467
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-by: Alexandre Becoulet <alexandre.becoulet@free.fr>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
configure.ac
src/Makefile.am
src/jtag/drivers/Makefile.am
src/jtag/drivers/usb_blaster.c [deleted file]
src/jtag/drivers/usb_blaster/Makefile.am [new file with mode: 0644]
src/jtag/drivers/usb_blaster/ublast_access.h [new file with mode: 0644]
src/jtag/drivers/usb_blaster/ublast_access_ftd2xx.c [new file with mode: 0644]
src/jtag/drivers/usb_blaster/ublast_access_ftdi.c [new file with mode: 0644]
src/jtag/drivers/usb_blaster/usb_blaster.c [new file with mode: 0644]