[prev in list] [next in list] [prev in thread] [next in thread] 

List:       flashrom
Subject:    [flashrom] ft2232_spi JTAGkey OE disabled for CS high
From:       Ulrich Holeschak <ulrich () holeschak ! de>
Date:       2016-05-19 23:08:46
Message-ID: 67fb6e64-d285-2ef5-8535-c292daec5e73 () holeschak ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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



["smime.p7s" (application/pkcs7-signature)]

_______________________________________________
flashrom mailing list
flashrom@flashrom.org
https://www.flashrom.org/mailman/listinfo/flashrom

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic