libftdi Archives

Subject: Re: Could anyone spare a clue?

From: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@xxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 20 Aug 2010 17:40:53 +0200
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 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.



libftdi - see for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread