Add support for the Dangerous Prototypes Bus Blaster (v1/v2). The new type 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@steve-m.de --- ft2232_spi.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/ft2232_spi.c b/ft2232_spi.c index 689f276..9d35d27 100644 --- a/ft2232_spi.c +++ b/ft2232_spi.c @@ -47,6 +47,7 @@ const struct usbdev_status devs_ft2232spi[] = { {FTDI_VID, FTDI_FT2232H_PID, OK, "FTDI", "FT2232H"}, {FTDI_VID, FTDI_FT4232H_PID, OK, "FTDI", "FT4232H"}, + {FTDI_VID, FTDI_FT2232H_PID, OK, "FTDI", "Dual RS232-HS"}, {FTDI_VID, AMONTEC_JTAGKEY_PID, OK, "Amontec", "JTAGkey"}, {FIC_VID, OPENMOKO_DBGBOARD_PID, OK, "FIC", "OpenMoko Neo1973 Debug board (V2+)"}, @@ -168,7 +169,12 @@ int ft2232_spi_init(void) ft2232_type = FTDI_FT2232H_PID; else if (!strcasecmp(arg, "4232H")) ft2232_type = FTDI_FT4232H_PID; - else if (!strcasecmp(arg, "jtagkey")) { + else if (!strcasecmp(arg, "busblaster")) { + ft2232_type = FTDI_FT2232H_PID; + ft2232_interface = INTERFACE_A; + cs_bits = 0x18; /* is a jtagkey clone in its */ + pindir = 0x1b; /* default configuration */ + } else if (!strcasecmp(arg, "jtagkey")) { ft2232_type = AMONTEC_JTAGKEY_PID; ft2232_interface = INTERFACE_A; cs_bits = 0x18;
Add support for the Dangerous Prototypes Bus Blaster (v1/v2). The new type 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@steve-m.de --- flashrom.8 | 4 ++-- ft2232_spi.c | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/flashrom.8 b/flashrom.8 index 6556609..537b61e 100644 --- a/flashrom.8 +++ b/flashrom.8 @@ -440,8 +440,8 @@ type and interface/port it should support. For that you have to use the 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 diff --git a/ft2232_spi.c b/ft2232_spi.c index 689f276..438e31d 100644 --- a/ft2232_spi.c +++ b/ft2232_spi.c @@ -173,6 +173,11 @@ int ft2232_spi_init(void) ft2232_interface = INTERFACE_A; cs_bits = 0x18; pindir = 0x1b; + } else if (!strcasecmp(arg, "busblaster")) { + ft2232_type = FTDI_FT2232H_PID; + ft2232_interface = INTERFACE_A; + cs_bits = 0x18; /* is a jtagkey clone in its */ + pindir = 0x1b; /* default configuration */ } else if (!strcasecmp(arg, "openmoko")) { ft2232_vid = FIC_VID; ft2232_type = OPENMOKO_DBGBOARD_PID;
On Thu, 11 Aug 2011 22:58:10 +0200 Steve Markgraf steve@steve-m.de wrote:
Add support for the Dangerous Prototypes Bus Blaster (v1/v2). The new type 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@steve-m.de
hello,
after a few iterations on IRC i have committed a derived patch in r1412, thanks! for the record.. it was Acked-by: Stefan Tauner stefan.tauner@student.tuwien.ac.at