[flashrom] Problem with flashrom and FT2232 Port B

Zak zackwarrior at gmail.com
Tue Mar 21 17:28:04 CET 2017


Hello,

I got flashrom compiled for windows and it works like a charm (has to 
tweet the code a little, add data for the chips i want to work with, add 
4BA and fast rading for FT2232), it works perfectly fine but only for 
the port A (flashrom -p ft2232_spi:type=2232H,port=A)

Using default programmer "ft2232_spi" with arguments "type=2232H,port=A".
Calibrating delay loop... OK.
Found Macronix flash chip "flashrom -p 
ft2232_spi:type=2232H,port=AMX25L25665E" (32768 kB, SPI)
on ft2232_spi.
Reading flash... (0% to done.)

If i use the port B (flashrom -p ft2232_spi:type=2232H,port=B), i get 
this error

Calibrating delay loop... OK.
Unable to reset FTDI device (USB device unavailable).
Unable to set latency timer (USB device unavailable).
Unable to set bitmode to SPI (USB device unavailable).
ftdi_write_data: -666, USB device unavailable
Error: Programmer initialization failed.

I get this error also if i try to compile with make 
CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_FT2232_SPI 
CONFIG_DEFAULT_PROGRAMMER_ARGS="type=2232H,port=B" to force port B

I looked around i didn't find any solution to fix this, anyone could 
give me a hand?

Thanks a bunch

Regards





More information about the flashrom mailing list