From 836b26a423c5dad86646bc6bc24560d444181405 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 14 Oct 2011 20:33:14 +0000 Subject: TIAO/DIYGADGET USB Multi-Protocol Adapter (TUMPA) support Thanks to TIAO/DIYGADGET for sponsoring a test device! This is an FTDI FT2232H based device which provides an easily accessible JTAG, SPI, I2C, serial breakout. The SPI part can be used to flash SPI flash chips using flashrom. http://www.diygadget.com/tiao-usb-multi-protocol-adapter-jtag-spi-i2c-serial.html http://www.tiaowiki.com/w/TIAO_USB_Multi_Protocol_Adapter_User%27s_Manual#SPI_Connector_1 There are two SPI connectors (pin headers) on the board: SPI1, which is connected to the FT2232H's A interface, and SPI2, which is connected to the chip's B interface. Both can be used to flash SPI chips: flashrom -p ft2232_spi:type=tumpa,port=A flashrom -p ft2232_spi:type=tumpa,port=B The default interface is A, so for SPI1 you can also just write: flashrom -p ft2232_spi:type=tumpa I tested all operations on both interfaces, everything works fine. Corresponding to flashrom svn r1451. Signed-off-by: Uwe Hermann Acked-by: Stefan Tauner --- flashrom.8 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'flashrom.8') diff --git a/flashrom.8 b/flashrom.8 index 76f25bd1..7a012de8 100644 --- a/flashrom.8 +++ b/flashrom.8 @@ -199,7 +199,8 @@ cards)" 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, Dangerous Prototypes Bus Blaster, \ -Olimex ARM-USB-TINY/-H, and Olimex ARM-USB-OCD/-H." +Olimex ARM-USB-TINY/-H, Olimex ARM-USB-OCD/-H, and TIAO/DIYGADGET USB +Multi-Protocol Adapter (TUMPA). .sp .BR "* serprog" " (for flash ROMs attached to a programmer speaking serprog), \ including AVR flasher by Urja Rannikko, AVR flasher by eightdot, \ @@ -441,7 +442,8 @@ syntax where .B model can be .BR 2232H ", " 4232H ", " jtagkey ", " busblaster ", " openmoko ", " \ -arm-usb-tiny ", " arm-usb-tiny-h ", " arm-usb-ocd " or " arm-usb-ocd-h +arm-usb-tiny ", " arm-usb-tiny-h ", " arm-usb-ocd ", " arm-usb-ocd-h \ +", or " tumpa and .B interface can be -- cgit v1.2.3