Jump to content
  • 1

How to restore FT2232 EEPROM back to factory settings?


mixsemi

Question

Hi Everyone,

Just accidentally flashed the EEPROM attached to the FT2232 device on the Arty. The board is dead without the USB connection. Been using for 2 months without issues until today.

In Vivado it is showing:

 "ERROR: [Labtoolstcl 44-469] There is no current hw_target.". 

when trying to Auto Connect with the target in Hardware Manager.

Within FT_Prog (FTDI's flash tool), the registers (e.g. serial number, vendor ID, D2XX/VCP driver ...) can all be read and modified. How can it be restored back to Digilent factory setting? Is there an FT_Prog template that we can use?

Thanks,

Robin

Link to comment
Share on other sites

Recommended Posts

  • 0

Hello from me as well @JColvin

I am having trouble with the FT2232 chip as well, but am unsure what exactly the issue is. First it would only be detected in Vivado, but I got no serial ports in Device Manager. After removing the device from Device Manager, the serial port works, but now the board is invisible to Vivado.

The EEPROM content, as exposed by the FT Prog program, is:

Device: 0 [Loc ID:0x111] 

Word  MSB
0000: 0801 0403 6010 0700 FA80 0008 0000 129A   ....`...........
0008: 34AC 1AE0 0000 0000 0056 0000 0000 0000   4........V......
0010: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0018: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0028: 0000 0000 0000 0302 0000 0000 0000 0000   ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0038: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0040: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0048: 0000 0000 0000 0000 0000 0312 0044 0069   .............D.i
0050: 0067 0069 006C 0065 006E 0074 0334 0044   .g.i.l.e.n.t.4.D
0058: 0069 0067 0069 006C 0065 006E 0074 0020   .i.g.i.l.e.n.t. 
0060: 0041 0064 0065 0070 0074 0020 0055 0053   .A.d.e.p.t. .U.S
0068: 0042 0020 0044 0065 0076 0069 0063 0065   .B. .D.e.v.i.c.e
0070: 031A 0032 0031 0030 0033 0035 0032 0041   ...2.1.0.3.5.2.A
0078: 0036 0042 0046 0042 0032 0000 0000 DB39   .6.B.F.B.2.....9

Thank you in advance for your help.

Link to comment
Share on other sites

  • 0

Hi @JColvin,

I have an ArtyS7-50 Board with the FT2232 chip on it. After changing the JP1 jumper position while the board was running it now isn't recognized by Vivado any more. The FPGA itself still works fine from SPI flash.

Would you please provide me with instructions, how reprogram the EEPROM of the FTDI?

Best regards,

Christan

 

Edited by cbmarco
Link to comment
Share on other sites

  • 0

Hi @DaveGeerardyn-AS,

I have sent you a PM with some instructions.

-------

@jb9631,

Which board are you using so I can provide the proper instructions?

-------

@cbmarco,

I'm surprised to hear that this is what caused the issue on the Arty S7. Changing that jumper only affects how the FPGA device is programmed on power-up (though you can still reconfigure the FPGA via a bitstream if the jumper is set and the device was already reprogrammed over flash (and I'm presuming that you did not change the jumper in the middle of the configuration process).
My gut reaction to this (I don't know what you have already tried, so maybe this is not the case) is that Vivado has not released it's previous connection to the device. I would recommend either restarting Vivado or checking the task manager (presuming you are on Windows) to see there is an active hw_server process running and then kill that process so that Vivado "releases" its previous JTAG access.
If this does not resolve the problem, let me know and I can provide some further instructions.

--------

Thanks,
JColvin

 

Link to comment
Share on other sites

  • 0

Hi JColvin,

sorry, my bad. I was trying to program the FPGA under Linux without Vivado using openocd-0.11. At first I succeeded two times using "sudo openocd ...", then I changed the jumper, changed the command and continued without sudo. So the program didn't find the board anymore and I thought something would be damaged. In fact openocd was missing the rights to access the USB. Then I tried with my Windows Vivado installation. It didn't recognize the board.

Then I transferred the EEPROM Contents of a second Arty S7-50 board to my first board with an old installation of FT_Prog_v3.6.88.402.

Later I found out my Windows Vivado doesn't recognize any Boards. On a second Windows PC our second board is recognized fine, while the first board now isn't recognized by any Vivado any more. And I found I still can program the first board using "sudo openocd ..." under Linux.

So what's the missing magic to make my board appear as a programmer in Vivado again?

Link to comment
Share on other sites

  • 0

Hi @JColvin thanks for the response. I'm using an Arty S7-50 board. Revision B, I think, if my eyes can read the silkscreen correctly.

I've found a relevant procedure over on GitHub (link), where somebody has shared a working dump of the FT2232HQ EEPROM, and flashed it using `ftdi-eeprom` on Linux. Still, if you would be kind enough to forward me the proper procedure, I would be delighted.

Thanks in advance

--jb

Edited by jb9631
Link to comment
Share on other sites

  • 0

Hi everyone, I did the same mistake with a FT4232H embedded in the Xilinx Virtex UltraScale+ VCU129, mistakenly programmed using the FT_progr and losing the serial number descriptor. 

Can someone provide me support to have Vivado recognizing the chip again?

Thanks,

Felippe 

Link to comment
Share on other sites

  • 0

Hi, 

I accidentally  change the VID and PID with FT_Prog and cant restore to default value.

Now when I try to scan in Ft_Prog I see

“no devices found” and cant change the VID and PID cause its I did not see nothing

Please help me how to restore to default value of Ftdi to read from EEPROM the default values

Link to comment
Share on other sites

  • 0

Hi Everyone,

I have a BASYS-3 board and I have the same issue.

By mistake i have changed the config of FTDI FT2232H eeprom. And now Vivado doesn't detect the FPGA.

Is there any way to restore the FT2232 configs to factory defaults? Please help.

Thank you.

HRathod

FTDI FPGA detection problem.JPG

Link to comment
Share on other sites

  • 0

Hi, @JColvin

I accidentally erased the EEPROM on my "JTAG-SMT3-NC". 

Now the system sees the device with ID ffff:fffff

Can you please PM me instructions to correct it? Thanks.I accidentally erased the EEPROM on my "JTAG-SMT3-NC". Can you please PM me instructions to correct it? Thanks.

Edited by Zhikh
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...