[flashrom] [commit] r1412 - trunk

repository service svn at flashrom.org
Fri Aug 12 03:19:33 CEST 2011


Author: stefanct
Date: Fri Aug 12 03:19:32 2011
New Revision: 1412
URL: http://flashrom.org/trac/flashrom/changeset/1412

Log:
ft2232_spi: add support for the Dangerous Prototypes Bus Blaster

Add support for the Dangerous Prototypes Bus Blaster (v1/v2).
The new model is called "busblaster".
So far only v2 has been tested, but since both v1 and v2
emulate a Amontec JTAGKEY in the default configuration,
it is assumed that v1 should work fine as well.

Information about the Busblaster can be found at:
http://dangerousprototypes.com/docs/Bus_Blaster

Signed-off-by: Steve Markgraf <steve at steve-m.de>
Acked-by: Stefan Tauner <stefan.tauner at student.tuwien.ac.at>

Modified:
   trunk/flashrom.8
   trunk/ft2232_spi.c

Modified: trunk/flashrom.8
==============================================================================
--- trunk/flashrom.8	Thu Aug 11 07:47:32 2011	(r1411)
+++ trunk/flashrom.8	Fri Aug 12 03:19:32 2011	(r1412)
@@ -198,8 +198,8 @@
 .BR "* ft2232_spi" " (for SPI flash ROMs attached to an FT2232/FT4232H family \
 based USB SPI programmer), including the DLP Design DLP-USB1232H, \
 FTDI FT2232H Mini-Module, FTDI FT4232H Mini-Module, openbiosprog-spi, Amontec \
-JTAGkey/JTAGkey-tiny/JTAGkey-2, Olimex ARM-USB-TINY/-H, and Olimex \
-ARM-USB-OCD/-H."
+JTAGkey/JTAGkey-tiny/JTAGkey-2, Dangerous Prototypes Bus Blaster, \
+Olimex ARM-USB-TINY/-H, and Olimex ARM-USB-OCD/-H."
 .sp
 .BR "* serprog" " (for flash ROMs attached to a programmer speaking serprog), \
 including AVR flasher by Urja Rannikko, AVR flasher by eightdot, \
@@ -440,8 +440,8 @@
 syntax where
 .B model
 can be
-.BR 2232H ", " 4232H ", " jtagkey ", " openmoko ", " arm-usb-tiny ", " \
-arm-usb-tiny-h ", " arm-usb-ocd " or " arm-usb-ocd-h
+.BR 2232H ", " 4232H ", " jtagkey ", " busblaster ", " openmoko ", " \
+arm-usb-tiny ", " arm-usb-tiny-h ", " arm-usb-ocd " or " arm-usb-ocd-h
 and
 .B interface
 can be

Modified: trunk/ft2232_spi.c
==============================================================================
--- trunk/ft2232_spi.c	Thu Aug 11 07:47:32 2011	(r1411)
+++ trunk/ft2232_spi.c	Fri Aug 12 03:19:32 2011	(r1412)
@@ -173,6 +173,12 @@
 			ft2232_interface = INTERFACE_A;
 			cs_bits = 0x18;
 			pindir = 0x1b;
+		} else if (!strcasecmp(arg, "busblaster")) {
+			/* In its default configuration it is a jtagkey clone */
+			ft2232_type = FTDI_FT2232H_PID;
+			ft2232_interface = INTERFACE_A;
+			cs_bits = 0x18;
+			pindir = 0x1b;
 		} else if (!strcasecmp(arg, "openmoko")) {
 			ft2232_vid = FIC_VID;
 			ft2232_type = OPENMOKO_DBGBOARD_PID;




More information about the flashrom mailing list