On Sat, 24 Jan 2015 16:24:36 +0100 Stefan Tauner stefan.tauner@alumni.tuwien.ac.at wrote:
- 0x11 to enable writes
The 0x11 seems to be equivalent of "MPSSE_DO_WRITE | MPSSE_WRITE_NEG", right? If anyone can confirm this, I'll commit that resulting patch.
Yes, this is right. I've just checked FTDI AN114 document about this. The MPSSE_DO_WRITE | MPSSE_WRITE_NEG is correct for the 0x11 number.
Also, today I've added ft2232_spi_send_multicommand function for ft2232 programmer to group multi-commands into one ftdi request and encreased ftdi write buffer. Now I have the only 3-7 ms delay for each 256b write instead of 2 delays before: 1st for WREN and 2nd for PROGRAM command. The result I've got is 18 min for write + verify of 32 MB flash.
Boris