On Thu, 29 Jan 2015 00:41:21 +0000
Phillip Vallejo <pvallejo(a)pacificbiosciences.com> wrote:
> In using the FT2232H chip in MPSSE with SPI there are many GPIO bits on other pins. I have 2 questions about flashrom with ft2232_spi mode:
> 1. Is there access through flashrom to those GPIO bits? (if so, where is the description?)
> 2. If not, If I use a different program before flashrom to set GPIO bits, will flashrom reset GPIO bits to a particular state?
the ft2232_spi.c driver sets some non-SPI GPIO pins for some programmer
models that require it. That's what the cs_bits and pindir variables
are for. Check out the comments at the declaration and around accesses
of those variables. I guess your programmer needs something similar
too? Can you please explain why? There is no way to apply these
settings from the command line (so far), and I am not sure if that
would be a good idea either...
Kind regards/Mit freundlichen Grüßen, Stefan Tauner