[flashrom] ft2232_spi JTAGkey OE disabled for CS high

Ulrich Holeschak ulrich at holeschak.de
Fri May 20 01:08:46 CEST 2016


Hello,
when using the ft2232_spi driver with Amontec JTAGkey, the OE signal 
(bit 4) is disabled
when de-asserting CS:
     msg_pspew("De-assert CS#\n");
     buf[i++] = SET_BITS_LOW;
     buf[i++] = cs_bits;
     buf[i++] = pindir;

This means that the CS high signal is floating and the voltage level is 
unstable.

Filtering the OE bit fixes this issue:
     msg_pspew("De-assert CS#\n");
     buf[i++] = SET_BITS_LOW;
     buf[i++] = cs_bits & 0x0F;    // keep OE active
     buf[i++] = pindir;

Regards,
Ulrich


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3707 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20160520/f1b5209d/attachment.p7s>


More information about the flashrom mailing list