tigard-tools / tigard

An FTDI FT2232H-based multi-protocol tool for hardware hacking
Other
560 stars 65 forks source link

Configuring for FT245 FIFO mode #60

Closed svanimisetti closed 1 year ago

svanimisetti commented 1 year ago

Tigard is an amazing project - and I am planning to purchase it soon from CrowdSupply.

How can I configure Tigard for FT245 using the EEPROM. From the documentation, I did not find enough information on how to set configuration parameters on the EEPROM to enable "not-the-usual" programming modes? From Table 4.11 on Page 46 of the datasheet, FT245 has both sync/async modes. I would appreciate if you can share documentation which show how I can use FT_Prog utility to set the configuration parameters on Tigard by myself.

Thanks in advance!

securelyfitz commented 1 year ago

There's no way to use tigard in 245 mode without hardware modifications. That mode expects to use several pins as bidirectional I/O, but all the pins are hardwired to unidirectional level shifters to properly support UART, SPI, JTAG, I2C, and SWD.

If you do want to explore the additional modes, I've attached the tigard-eeprom.conf which is used when programming the eeprom in production. The actual serial number is put in place of the x's and then it's flashed on a linux system using:

ftdi_eeprom  --flash-eeprom tigard-eeprom.conf

Similar settings should be possible with FT_Prog, but i haven't used it. You should be able to use it to read out the firmware and see how it's configured, and set the settings you're interested in.

Since 245 mode isn't possible, I'm going to close this issue as can't fix, but let me know if you have any additional questions.