Regards
Le 22 mars 2017 12:14, "Nico Huber" <nico.huber(a)secunet.com> a écrit :
Hi Zak,
On 21.03.2017 17:28, Zak wrote:
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?
the problem probably lies within your (windows) version of libftdi. I'd
try another OS / libftdi to rule that out.
Nico