Skip to content

Instantly share code, notes, and snippets.

View FrancisGuo's full-sized avatar

osfg FrancisGuo

  • Ningbo,China
View GitHub Profile
@FrancisGuo
FrancisGuo / ft2232_to_digilent_jtag.md
Created May 31, 2019 12:00 — forked from rikka0w0/ft2232_to_digilent_jtag.md
FT2232 to Digilent JTag for Xilinx FPGAs (ISE/Vivado)

The Digilent JTag uses FT2232, but its configuration EEPROM contains secrete data needed to be recoginzed by Xilinx ISE/Vivado. The following method only works on linux (tested on Ubuntu16.04), but the patched FT2232 doggle also works on Windows.

DONT use FT_Prog on the programmed FT2232 or offical Digilent cables, as it can trash the firmware! The correct eeprom contains secrete data that cannot be handled correctly by FT_Prog.

  1. Install softwares: sudo apt-get install libftdi1
  2. Download the zip file (digilent_eeprom.zip) from the link at the end of this page and unzip it. If the link/file is not accessable, see the following for their content.
  3. Backup the original content of the EEPROM: sudo ftdi_eeprom --read-eeprom flash_digilent.conf
  4. Flash the EEPROM: $ sudo ftdi_eeprom --flash-eeprom flash_digilent.conf