FT2232SPI Programmer: Difference between revisions

From flashrom
Jump to navigation Jump to search
m (→‎DLP Design DLP-USB1232H: More info on SPI programmer.)
(→‎Setup: Document working setup .)
Line 19: Line 19:
== Setup ==
== Setup ==


* Put a jumper on '''pins 8 and 9''', which configures the device to be powered by USB. Without this jumper it will not be powered, and thus not be detected by your OS (e.g. it will not appear in the '''lsusb''' output).
* Connect '''pins 8 and 9''', which configures the device to be powered by USB. Without this connection it will not be powered, and thus not be detected by your OS (e.g. it will not appear in the '''lsusb''' output).
* Connect a 3.3V voltage regulator and two capacitors (e.g. 100nF and 10uF) so you can power the 3.3V SPI BIOS chip.
* Connect a 3.3V voltage regulator and two capacitors (e.g. 100nF and 10uF, but slightly different values should also work) so you can power the 3.3V SPI BIOS chip.
** TODO: Details
** TODO: Details
* Connect the following pins from the DLP-USB1232H to the SPI BIOS chip:
* Connect the following pins from the DLP-USB1232H to the SPI BIOS chip:
** 18 (SK) to SCLK
** '''18 (SK)''' to '''SCLK'''
** 16 (DO) to SO# (?)
** '''16 (DO)''' to '''SI'''
** 2 (DI) to SI# (?)
** '''2 (DI)''' to '''SO'''
** 5 (CS) to CS#
** '''5 (CS)''' to '''CS#'''
** The '''WP# and HOLD#''' pins are left unconnected (?).
** The '''WP# and HOLD#''' pins should be tied to '''VCC'''.
* TODO
** All '''GND''' pins should be connected together ('''pins 1 and 10''' on the DLP-USB1232H, pin 8 on the SPI chip, pin 1 on the voltage regulator)
 
You have to invoke flashrom with the following parameters:
 
$ '''flashrom -p ft2232spi:ft2232_type=2232:port=A'''


== Photos ==
== Photos ==

Revision as of 03:30, 5 September 2009

Recent versions of flashrom support the -p ft2232spi option which allows you to use a FTDI FT2232H/FT4232H based device as external SPI programmer.

This is made possible by using libftdi. flashrom autodetects the presence of libftdi headers and enables FT2232H/FT4232H support if they are available.

Devices

Documentation

DLP Design DLP-USB1232H

Setup

  • Connect pins 8 and 9, which configures the device to be powered by USB. Without this connection it will not be powered, and thus not be detected by your OS (e.g. it will not appear in the lsusb output).
  • Connect a 3.3V voltage regulator and two capacitors (e.g. 100nF and 10uF, but slightly different values should also work) so you can power the 3.3V SPI BIOS chip.
    • TODO: Details
  • Connect the following pins from the DLP-USB1232H to the SPI BIOS chip:
    • 18 (SK) to SCLK
    • 16 (DO) to SI
    • 2 (DI) to SO
    • 5 (CS) to CS#
    • The WP# and HOLD# pins should be tied to VCC.
    • All GND pins should be connected together (pins 1 and 10 on the DLP-USB1232H, pin 8 on the SPI chip, pin 1 on the voltage regulator)

You have to invoke flashrom with the following parameters:

$ flashrom -p ft2232spi:ft2232_type=2232:port=A

Photos

Where to buy

FT2232H Mini-Module

Where to buy

FT4232H Mini-Module

Where to buy