Hi John, On 20.08.2010 17:20, John Oyler wrote: > After doing the ftdi_usb_open(), I then do a ftdi_set_bitmode(&ftdic, 0x00, > 0x02); which doesn't return an error. Am I correct in understanding that this > puts the chip into MPSSE mode? Can anyone summarize what needs to be done > next to talk to an SPI chip on the other side? >
flashrom at http://www.flashrom.org/ uses libftdi to drive a FT2232H to communicate with SPI flash chips. Maybe you can take a look at the code in the flashrom source, specifically ft2232_spi.c. Regards, Carl-Daniel -- http://www.hailfinger.org/ -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
