Woooo looks like that did it! I don't have a flash device connected yet but Flashrom certainly found the 2232.

Thanks for the help, I hope I can contribute definitions for the flash chips I use (Cypress/Spansion 128/256Mbit) if I find they aren't in the database already.

=]

--
Anders Nelson

+1 (517) 775-6129

www.erogear.com

On Wed, Nov 8, 2017 at 3:31 PM, Nico Huber <nico.h@gmx.de> wrote:
On 08.11.2017 16:11, Anders Nelson wrote:
> Ohhh my god you're right - when I call the program as ./flashrom it runs
> now!
>
> I am still getting an error though it's new:
>
> ===
>
> chrx@chrx:~/Github/flashrom$ ./flashrom -p ft2232_spi
> flashrom v0.9.9-86-ge1a960e on Linux 4.9.4-galliumos-braswell (x86_64)
> flashrom is free software, get the source code at https://flashrom.org
>
> Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
> Unable to open FTDI device: -3 (device not found).
> Error: Programmer initialization failed.

I guess, you have to specify the model (likely 2232H in your case). See
the manpage `man ./flashrom.8`. If that doesn't work, you can check the
output of `lsusb` if your board uses a special USB device id that we
might have to add to flashrom.

>
> ===
>
> The FTDI device enumerates as /dev/ttyUSB0 and /dev/ttyUSB1... Is it
> necessary to add a rule to udev or something to get Flashrom to find it?

Unlikely.

Nico