I have designed a board to program serial flash memories using the JTAG-SMT2-NC operated as an SPI master.
This works fine but now I want to use the same board to program an I2C EEPROM (on a different target).
FTDI's document "USB to I2C Example using the FT232H and FT201X devices" suggests that this should be possible and I belive that the JTAG-SMT2-NC uses the FT232H.
Has anyone tried this?
What would the mapping of the connections be? I imagine that it would be:-
TMS - connect to Write Protect on the EEPROM
TCK - connect to I2C's SCK
TDI, TDO - tie together and connec to I2C's SDA
alternatively I suppose that one could bit-bash the GPIO pins (GPIO0, GPIO1, and GPIO2) but this would require a hardware change to my adapter that I'd prefer to avoid.
Question
Robert Pearce
I have designed a board to program serial flash memories using the JTAG-SMT2-NC operated as an SPI master.
This works fine but now I want to use the same board to program an I2C EEPROM (on a different target).
FTDI's document "USB to I2C Example using the FT232H and FT201X devices" suggests that this should be possible and I belive that the JTAG-SMT2-NC uses the FT232H.
Has anyone tried this?
What would the mapping of the connections be? I imagine that it would be:-
TMS - connect to Write Protect on the EEPROM
TCK - connect to I2C's SCK
TDI, TDO - tie together and connec to I2C's SDA
alternatively I suppose that one could bit-bash the GPIO pins (GPIO0, GPIO1, and GPIO2) but this would require a hardware change to my adapter that I'd prefer to avoid.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.