Problem with ftdi_eepprom 0.3 and FT2232H

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Problem with ftdi_eepprom 0.3 and FT2232H

Steffen Mauch
Hi,

I tried to change the manufactor and product string of FT2232h.
I used ftdi_eeprom to do it and something went wrong.

Now the FT2232h doesn't enumerate. I disabled the eeprom and now it is  
working again.
How could I fix the wrong eeprom?

I thought that if I boot the FT2232h without eeprom and enable it  
after enumeration then I should be able to program it again.
I tried FT-Prog, but I got an error, vendor id or product id are not  
allowed to be zero.
But I tried to erase the device.

ftdi_eeprom says that it could write. But I have he feeling that  
something goes wrong during programming the eeprom.
If I read back the eeprom, it looks as the attached eeprom.new.


Has anyone programmed an FT2232H device with ftdi_eeprom?
So does it really work?

How could I repair my wrong eeprom?

Thanks.


Mit freundlichen Grüßen
Steffen Mauch

-------------------------
cand. B.Sc. Steffen Mauch

Digital Communications & Signal Processing Lab
Fakultät Computer & Electrical Engineering

Hochschule Furtwangen University
Robert-Gerwig-Platz 1
78120 Furtwangen

Tel    +49 (0)7723 920 2342
Fax    +49 (0)7723 920 2802
Cell   +49 (0)1511 235 2355

[hidden email]
www.DCSP.HS-Furtwangen.de


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [hidden email]  


example.conf (1008 bytes) Download Attachment
eeprom.new (178 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problem with ftdi_eepprom 0.3 and FT2232H

Piotr Pawluczuk
Hi Steffen,

The ftdi_eeprom utility and ftdi eeprom related functions are not
working well with new FTDI chips. I haven't tried to program any of
FT2232H series, but I broke my FT232R chip. I didn't have much time to
work on that, so I still don't know exactly which part of the EEPROM
building code is broken.

I was able to fix it with a Linux box and a raw EEPROM backup I made
from a different chip. If you have another FT2232H chip, please make a
dump of the EEPROM and then restore it.

I have attached a simple utility I made for that purpise, but you will
probably need to modify it, as in my case the VID and PID were still
correct.

Good Luck!
Piotr

On 10-02-08 00:01, Steffen Mauch wrote:

> Hi,
>
> I tried to change the manufactor and product string of FT2232h.
> I used ftdi_eeprom to do it and something went wrong.
>
> Now the FT2232h doesn't enumerate. I disabled the eeprom and now it is
> working again.
> How could I fix the wrong eeprom?
>
> I thought that if I boot the FT2232h without eeprom and enable it
> after enumeration then I should be able to program it again.
> I tried FT-Prog, but I got an error, vendor id or product id are not
> allowed to be zero.
> But I tried to erase the device.
>
> ftdi_eeprom says that it could write. But I have he feeling that
> something goes wrong during programming the eeprom.
> If I read back the eeprom, it looks as the attached eeprom.new.
>
>
> Has anyone programmed an FT2232H device with ftdi_eeprom?
> So does it really work?
>
> How could I repair my wrong eeprom?
>
> Thanks.
>
>
> Mit freundlichen Grüßen
> Steffen Mauch
>
> -------------------------
> cand. B.Sc. Steffen Mauch
>
> Digital Communications & Signal Processing Lab
> Fakultät Computer & Electrical Engineering
>
> Hochschule Furtwangen University
> Robert-Gerwig-Platz 1
> 78120 Furtwangen
>
> Tel    +49 (0)7723 920 2342
> Fax    +49 (0)7723 920 2802
> Cell   +49 (0)1511 235 2355
>
> [hidden email]
> www.DCSP.HS-Furtwangen.de
>
>
> --
> libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
> To unsubscribe send a mail to [hidden email]


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [hidden email]  

recover.c (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problem with ftdi_eepprom 0.3 and FT2232H

Steffen Mauch
Hi Piotr,

I tried your program, but hadn't any sucess.

macbook-steffen:eeprom steffenmauch$ hexdump eeprom.new
0000000 00 00 03 04 10 60 00 04 c0 64 00 00 00 00 94 0a
0000010 9e 08 a6 10 0a 03 74 00 65 00 78 00 74 00 08 03
0000020 55 00 53 00 42 00 10 03 6b 00 6f 00 6d 00 69 00
0000030 73 00 63 00 68 00 00 00 00 00 00 00 00 00 00 00
0000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d6 75


macbook-steffen:eeprom steffenmauch$ hexdump eeprom.new
0000000 00 81 a5 82 11 80 ca 80 08 80 1a 80 10 80 19 80
0000010 1c 80 0b 80 00 80 00 80 00 80 00 80 00 80 3a bd
0000020 ff bf ff bf ff bf ff bf ff bf ff bf ff bf ff bf
0000040 00 81 a5 82 11 80 ca 80 08 80 1a 80 10 80 19 80
0000050 1c 80 0b 80 00 80 00 80 00 80 00 80 00 80 3a bd
0000060 ff bf ff bf ff bf ff bf ff bf ff bf ff bf ff bf

The first is a build eeprom, the second the eeprom I read back.
I also tried a file with 128 bytes of 0x00 and 0xff.

I think I can't programm anything to the device, because nothing  
changed during these tests.
I could solder another new eeprom, but I didn't want to kill these  
eeproms too.

Does anyone know, why I can't write anything to it?
Could I write such a mess to my eeprom that it is really broken?

Thanks.

Steffen

Am 08.02.2010 um 00:16 schrieb Piotr Pawluczuk:

> Hi Steffen,
>
> The ftdi_eeprom utility and ftdi eeprom related functions are not  
> working well with new FTDI chips. I haven't tried to program any of  
> FT2232H series, but I broke my FT232R chip. I didn't have much time  
> to work on that, so I still don't know exactly which part of the  
> EEPROM building code is broken.
>
> I was able to fix it with a Linux box and a raw EEPROM backup I made  
> from a different chip. If you have another FT2232H chip, please make  
> a dump of the EEPROM and then restore it.
>
> I have attached a simple utility I made for that purpise, but you  
> will probably need to modify it, as in my case the VID and PID were  
> still correct.
>
> Good Luck!
> Piotr
>
> On 10-02-08 00:01, Steffen Mauch wrote:
>> Hi,
>>
>> I tried to change the manufactor and product string of FT2232h.
>> I used ftdi_eeprom to do it and something went wrong.
>>
>> Now the FT2232h doesn't enumerate. I disabled the eeprom and now it  
>> is working again.
>> How could I fix the wrong eeprom?
>>
>> I thought that if I boot the FT2232h without eeprom and enable it  
>> after enumeration then I should be able to program it again.
>> I tried FT-Prog, but I got an error, vendor id or product id are  
>> not allowed to be zero.
>> But I tried to erase the device.
>>
>> ftdi_eeprom says that it could write. But I have he feeling that  
>> something goes wrong during programming the eeprom.
>> If I read back the eeprom, it looks as the attached eeprom.new.
>>
>>
>> Has anyone programmed an FT2232H device with ftdi_eeprom?
>> So does it really work?
>>
>> How could I repair my wrong eeprom?
>>
>> Thanks.
>>
>>
>> Mit freundlichen Grüßen
>> Steffen Mauch
>>
>> -------------------------
>> cand. B.Sc. Steffen Mauch
>>
>> Digital Communications & Signal Processing Lab
>> Fakultät Computer & Electrical Engineering
>>
>> Hochschule Furtwangen University
>> Robert-Gerwig-Platz 1
>> 78120 Furtwangen
>>
>> Tel    +49 (0)7723 920 2342
>> Fax    +49 (0)7723 920 2802
>> Cell   +49 (0)1511 235 2355
>>
>> [hidden email]
>> www.DCSP.HS-Furtwangen.de
>>
>>
>> --
>> libftdi - see http://www.intra2net.com/en/developer/libftdi for  
>> details.
>> To unsubscribe send a mail to [hidden email]
>
>
>
> --
> libftdi - see http://www.intra2net.com/en/developer/libftdi for  
> details.
> To unsubscribe send a mail to [hidden email]
>    <recover.c>


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Problem with ftdi_eepprom 0.3 and FT2232H

Emmanuel Blot-2
> How could I repair my wrong eeprom?

Simply use the ( Windoze ;-( ) tool freely available from FTDI web site.
They change the tool once again, nevertheless you can safely reset
your EEPROM content from it.

I've been using a virtual machine w/ Windows 7 for my experiments with
the EEPROM, until I finally understood what was going wrong with FT
[24]232 EEPROM and libftdi ;-)

HTH,
Manu

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [hidden email]  

Loading...