Author Topic: FTDI driver kills fake FTDI FT232??  (Read 1005116 times)

0 Members and 7 Guests are viewing this topic.

Offline Liv

  • Regular Contributor
  • *
  • Posts: 134
  • Country: by
Re: FTDI driver kills fake FTDI FT232??
« Reply #1675 on: January 15, 2016, 06:14:34 pm »
Note that it gives false positives on "programmed" devices.

What does it mean? For the authentication of the chip I attempt to write to the EEPROM at an even address (0x3e). If the attempt is successful, it is a fake. VID and PID values are not affected.

Older FT232BM with an external EEPROM is also determined as a fake. Probably the driver from FTDI they will be brick it.
PSU PSL-3604 Pulse gen. PG-872 Freq. cnt. FC-510
 

Offline 0xdeadbeef

  • Super Contributor
  • ***
  • Posts: 1580
  • Country: de
Re: FTDI driver kills fake FTDI FT232??
« Reply #1676 on: January 15, 2016, 06:30:40 pm »
I tried to test some of my FDTI devices where one is definitely a fake (infamous Gamebuino) others are most likely genuine and one or two are suspicious (pin 1 marking, font) but not detected by the EEPROM approach.
Anyway your program always detected a fake - which puzzled me until I noticed that it obviously always investigated my ScanaPlus logic analyzer..
It contains an FT232H which is most certainly genuine, but MProg reports it as "programmed", so the EEPROM is write protected.
So for some reason your tool mistakes the write protection for "programmed" devices as indication for being fake - which it isn't.
Side note: it would make a lot of sense to be able to select the device if there is more than one.
Trying is the first step towards failure - Homer J. Simpson
 

Offline Liv

  • Regular Contributor
  • *
  • Posts: 134
  • Country: by
Re: FTDI driver kills fake FTDI FT232??
« Reply #1677 on: January 15, 2016, 06:58:37 pm »
Side note: it would make a lot of sense to be able to select the device if there is more than one.

This is true, but I still did not complicate the utility. With its use it is necessary to disconnect all FT devices except one. If it is connected to multiple FT devices, the utility will report an error 'More than one FT device found, error.".

MProg reports it as "programmed", so the EEPROM is write protected.

It is possible to protect the EEPROM? I do not know of such a possibility. If the EEPROM is really write-protected, the utility would report that the device is GENUINE. About behavior of FT232H I do not know, such devices must be disconnected when using of the utility.
PSU PSL-3604 Pulse gen. PG-872 Freq. cnt. FC-510
 

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 6576
  • Country: nl
Re: FTDI driver kills fake FTDI FT232??
« Reply #1678 on: January 16, 2016, 09:26:23 am »
FTDI should write such a program you can test if the chips you bought are genuine or not without destroying them, if not genuine you can return them at once with the printout report.
 

Offline 0xdeadbeef

  • Super Contributor
  • ***
  • Posts: 1580
  • Country: de
Re: FTDI driver kills fake FTDI FT232??
« Reply #1679 on: January 16, 2016, 01:19:40 pm »
Even when the driver was released, it couldn't detect all the clones and I think the Chinese cloners quickly worked around it.
I guess if they had a better way of detecting clones than the EEPROM trick, they would have used it.
They could add some better detection to new revisions but than they still couldn't tell if an IC without this new detection mechanism is a clone or a older genuine one.
Trying is the first step towards failure - Homer J. Simpson
 

Offline Liv

  • Regular Contributor
  • *
  • Posts: 134
  • Country: by
Re: FTDI driver kills fake FTDI FT232??
« Reply #1680 on: January 16, 2016, 03:20:11 pm »
Detecting counterfeit should be exactly the same algorithm, how does the driver. If the driver does not detect a fake, then the chip will work fine. In this situation, the user does not matter, it is an original or a fake chip.
PSU PSL-3604 Pulse gen. PG-872 Freq. cnt. FC-510
 

Offline 0xdeadbeef

  • Super Contributor
  • ***
  • Posts: 1580
  • Country: de
Re: FTDI driver kills fake FTDI FT232??
« Reply #1681 on: January 16, 2016, 05:18:36 pm »
I guess you're still using the same algorithm that was discussed here in October 2014 and that was known to be used by the driver back then.
I just wanted to clarify that even 15 months ago it detected only a part of the clones that behaved differently regarding EEPROM access.
Admittedly most people who just use the FTDI chip as UART converter won't notice that they use clones. Then again, in more advanced use cases (JTAG / logic analyzers and the like) a clone might give different results than the original. Anyway I think that most people wouldn't willingly buy clones and would be interested to have a bullet-proof way of testing - and this is obviously something that can't be done by SW at the moment. Well letting aside the old school clones that still are detectable by the EEPROM trick.
Trying is the first step towards failure - Homer J. Simpson
 

Offline cfauvel

  • Newbie
  • Posts: 2
  • Country: fr
Re: FTDI driver kills fake FTDI FT232??
« Reply #1682 on: January 19, 2016, 09:35:55 pm »
Hello everybody,

I recently made a design with an FT232H USB to UART bridge. In my configuration, the FT232 chip is powered by the USB and there is no EEPROM attached to it, which should be ok as stated in the datasheet.

After receiving and testing the two boards, I tried to plug the USB to my PC under Windows 7 (64 bits) and got an "Unknown USB peripheral" message. I then checked the voltages and clock of the FTDI and everything was fine. I was vaguely aware of the fact that some FTDI chips were bricked by the new driver (thanks to Dave's video), so I emailed FTDI and asked them what to do. They tell me to remove every FTDI drivers (CDC Uninstaller) and to update the drivers with the archive in their website. I tried that procedure and, at the end of the install process, my device shows up with a nice VID/PID identical to the one given in the datasheet. I was so happy that I soon unplugged my board to test the other one. I was unable to make the same miracle a second time. I tried to remove and reinstall the software but nothing worked. Re-plugging the "good" board was not successful either. Windows stupidly set the VID/PID of the two boards to 0000. The first batch of components where bought on Mouser, so I ordered two new components and resolder one board to tackle the "genuine" issue. The hardware was valid (voltages and clock) but no device shows up under Windows.

A few hours later and a lot of messing around with Windows, I try it on a Linux machine (Ubuntu 14.04 64 bits). I was unable to see the device enumeration in dmesg but had a bunch of lines saying that the device doesn't accept the address (device not accepting address xx, error -71). During the enumeration process, the kernel have used the xhci driver. The same issue was visible for both boards.

Finally, I plugged the boards to another Linux machine (Debian 8, 32 bits). Dmesg showed some errors with the "device not accepting address" thing with the ehci_pci driver and then, out of the blue, some lines saying: "using the uhci driver" and a nice "FT232H device detected" with the good values for the VID and PID. I made the same test with the second board and get a success for this one also. I made a small script in Python + MPSSE and was able to blink an LED. Hurrayyy !

I then unplugged and re-plugged the boards several times and everything still works in the Debian 8 machine. Nothing new concerning the Windows or the Ubuntu machines. I then test the boards on two other machines, one with a Debian 6 and one with a Debian 8. The Debian 8 machine showed the same dmesg and enumeration was successful. The Debian 6 didn't recognize the FTDI chip.

I tried a lot of things such as loading the "usb_old_sheme" thing, disabling the "usb_suspend" and loading the uhci and ohci drivers but still get the same enumeration issue !

Do you have some fresh insight for me, I'm really disappointed at the moment !
Thanks in advance,

Best regards,
Christophe

PS: I have ordered an EEPROM and will solder a nice little buggy board over the FTDI to see if this bloody chip will be more sympathetic.
 

Online Monkeh

  • Super Contributor
  • ***
  • Posts: 8063
  • Country: gb
Re: FTDI driver kills fake FTDI FT232??
« Reply #1683 on: January 19, 2016, 09:40:28 pm »
Such significant enumeration issues suggest a hardware problem.
 

Offline wraper

  • Supporter
  • ****
  • Posts: 17642
  • Country: lv
Re: FTDI driver kills fake FTDI FT232??
« Reply #1684 on: January 19, 2016, 09:45:17 pm »
After receiving and testing the two boards, I tried to plug the USB to my PC under Windows 7 (64 bits) and got an "Unknown USB peripheral" message. I then checked the voltages and clock of the FTDI and everything was fine. I was vaguely aware of the fact that some FTDI chips were bricked by the new driver (thanks to Dave's video), so I emailed FTDI and asked them what to do.
...
This have nothing to do with drivers and bricked chips. FT232H never got bricked BTW. As your ICs are from reputable source and you got "Unknown USB peripheral" message, IMO there is 99% chance that your design have an error in it or your USB cable really crappy or faulty USB ports.
 

Offline cfauvel

  • Newbie
  • Posts: 2
  • Country: fr
Re: FTDI driver kills fake FTDI FT232??
« Reply #1685 on: January 20, 2016, 06:52:19 pm »
Hello everybody,

I re-checked the design today and found the issue. I had two USB connectors and a switch to connect one of them to the FTDI.
I finally suspected this chip to be the culprit and was right. I shunted it and the enumeration was successful on all my machines !

Best regards,
 

Offline eneuro

  • Super Contributor
  • ***
  • Posts: 1528
  • Country: 00
Re: FTDI driver kills fake FTDI FT232??
« Reply #1686 on: January 29, 2016, 05:25:02 pm »
I have no problem with  :bullshit: FTDI, too - I use CP21xx instead in my projects  :popcorn:

Fake FTDI? No, THANKS !!!
12oV4dWZCAia7vXBzQzBF9wAt1U3JWZkpk
“Let the future tell the truth, and evaluate each one according to his work and accomplishments. The present is theirs; the future, for which I have really worked, is mine”  - Nikola Tesla
-||-|-
 

Offline Eheran

  • Regular Contributor
  • *
  • Posts: 70
  • Country: de
Re: FTDI driver kills fake FTDI FT232??
« Reply #1687 on: March 10, 2016, 11:54:30 am »
I have a Update "pending" for FTDI in my Windows update (Win 8.1) here, its from 03. Feb. 2016.
Any issues there?
 

Offline serggio

  • Regular Contributor
  • *
  • Posts: 149
  • Country: ru
Re: FTDI driver kills fake FTDI FT232??
« Reply #1688 on: May 25, 2016, 02:19:34 pm »
Just my two cents...
A lot of noise from nothing.
If you bought fake chip you should solve your problems with seller first of all, not with FTDI. FTDI just try to protect their intellectual property and their production. How do you think, if they will continue developing drivers, doing RnD, provide support and etc, and some smart guys will make counterfeit chips and nothing more with hope that their bullshit should work with FTDI drivers who will be happy at the end? End users who spent only 50 cents instead $ 4,50? Of course and those "smart guys", but only not FTDI.
Most people understand prices well but nevertheless continue buying cheap devices and component from aliexpress, alibaba and other world stock of fucking Chinese counterfeit.
If you doing something based on FTDI ICs you should be responsible for your goods in front of your buyers. You should solve problem with your supplier if he has delivered to you counterfeit chips.
Probably most people should understand that they need boycott not FTDI, they need boycott fake components suppliers IMHO.  :-//
 

Offline Eheran

  • Regular Contributor
  • *
  • Posts: 70
  • Country: de
Re: FTDI driver kills fake FTDI FT232??
« Reply #1689 on: May 25, 2016, 02:30:10 pm »
Wasnt that exactly the huge problem? Nobody could get a hold of legit chips. Even the big sellers didnt know if the Chips were original or not.
Quote
End users who spent only 50 cents instead $ 4,50?
This doesnt apply as the end user has one price and no way of checking the authenticity.

BTW: I dont think you read any portion of this thread befor posting. Otherwise this would have been clear. I think Dave even said those things in his Video.
 

Offline serggio

  • Regular Contributor
  • *
  • Posts: 149
  • Country: ru
Re: FTDI driver kills fake FTDI FT232??
« Reply #1690 on: May 25, 2016, 02:43:10 pm »
I read a lot pages in this thread but not all, of course.
Let me ask... When end user buying something related with this thread, what he doing? He going to FTDI web site, download and install driver from them. After that, well know, authenticity checking process starting))
What you will do, contact seller, will go to forum to drop some portion of negative to FTDI side, or what?
BTW: I told about price for situation when people understand their risk when pay for very cheap similar product, and try to use it in their devices.
Before some time FTDI did not nothing and fake components was under working condition. After they decided to change this situation. But this is not FTDI problem, supplier should be responsible in front of end user! That I try to say you   


Sent from my phone using Tapatalk
« Last Edit: May 25, 2016, 03:30:15 pm by serggio »
 

Online nctnicoTopic starter

  • Super Contributor
  • ***
  • Posts: 28059
  • Country: nl
    • NCT Developments
Re: FTDI driver kills fake FTDI FT232??
« Reply #1691 on: May 25, 2016, 06:37:02 pm »
Read the entire thread again. The biggest problem is that you can even buy fake FT232 chips from Farnell (this happened for real a couple of weeks months ago!). Ofcourse everybody wants to use real FTDI chips but with clones so widespread and FTDI's production volumes so low you just can't be 100% sure you'll never get clones. However if FTDI is killing your product behind your back even though you have zero blame (bought from a reputable source, paid the regular price, etc) then you are the victim of FTDI being unable to deal with the cloners properly.

Bottom line: As a designer of electronic circuits/products I really don't want to deal with what is FTDI's problem so I don't use FTDI chips in my designs. That is how the real world works.
« Last Edit: May 25, 2016, 06:40:41 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline wraper

  • Supporter
  • ****
  • Posts: 17642
  • Country: lv
Re: FTDI driver kills fake FTDI FT232??
« Reply #1692 on: May 25, 2016, 07:07:39 pm »
The biggest problem is that you can even buy fake FT232 chips from Farnell (this happened for real a couple of weeks months ago!). Ofcourse everybody wants to use real FTDI chips but with clones so widespread and FTDI's production volumes so low you just can't be 100% sure you'll never get clones.
Actually I'm not convinced about that at all. OP was completely reluctant to verify if they are actually counterfeits or he has some driver problem or some other issue. He didn't even try to install new driver, with which fake chips per se couldn't cause the issue he had.
 

Offline serggio

  • Regular Contributor
  • *
  • Posts: 149
  • Country: ru
Re: FTDI driver kills fake FTDI FT232??
« Reply #1693 on: May 25, 2016, 07:12:29 pm »
Read the entire thread again. The biggest problem is that you can even buy fake FT232 chips from Farnell (this happened for real a couple of weeks months ago!).
Dear nctnico. I don't know what is Farnell and believe me, I even don't want to know  ;)
If you not understand how contribution business work, let me explain to you.
Manufacturer work only with distributors network. Each distributor have some sort of agreements with manufacturer. They buy original product that this manufacturer produced. After that distributor offer this products to dealers network.  In distributors and dealers network special procurement department exist within each company. Their managers monitoring offers, make a deal, and believe me, if some greedy manager in greedy companies decided bought fake goods (they well know what he buying and where) from infringement manufacture for 1/5 at normal price and sell it at full price like original goods, that FTDI should not be responsible for that!

Quote
However if FTDI is killing your product behind your back even though you have zero blame (bought from a reputable source, paid the regular price, etc) then you are the victim of FTDI being unable to deal with the cloners properly.
What property you talking about? You bought (you has been defrauded by seller) fake and want to use it like original one. You try to apply to it original software and be foiled, and what? Go to your supplier and tell him: take you bullshit back, give me my money, I will order original one from fro honest seller! That all that you need to do.

Quote
Bottom line: As a designer of electronic circuits/products I really don't want to deal with what is FTDI's problem so I don't use FTDI chips in my designs. That is how the real world works.
:-DD Up to you! FTDI try to do their business, they not give you fake chips and responsible for that some f@cking asshole stolen their design, microcode, sold his fake to next greedy asshole that sold it to you like original one. That is how the real world works.  ;)

Now, I would like to ask you, if somebody will stolen your design, print your name on their fake bullshit, will transfer responsibility to your name in front of end users, what you will do, hmm??
Send them message, Oh sorry, somebody f@ck me, but I will spent another 1000 hours to new drivers for support your fake goods?
 

Online Monkeh

  • Super Contributor
  • ***
  • Posts: 8063
  • Country: gb
Re: FTDI driver kills fake FTDI FT232??
« Reply #1694 on: May 25, 2016, 07:16:26 pm »
Read the entire thread again. The biggest problem is that you can even buy fake FT232 chips from Farnell (this happened for real a couple of weeks months ago!).
Dear nctnico. I don't know what is Farnell and believe me, I even don't want to know  ;)

You don't know of and don't want to know of one of the largest electronics equipment and component distributors in the western world?

Your arrogance and willful ignorance is terrifying.
 

Offline serggio

  • Regular Contributor
  • *
  • Posts: 149
  • Country: ru
Re: FTDI driver kills fake FTDI FT232??
« Reply #1695 on: May 25, 2016, 07:28:16 pm »

You don't know of and don't want to know of one of the largest electronics equipment and component distributors in the western world?

Your arrogance and willful ignorance is terrifying.
May be this seems like that to you, but I do not have any business with them and their name tell nothing for me. If they selling infringing goods, may be it's time to stop work with them?
Probably they thick and arrogant enough, that their reputation does not matter for them, if they still selling counterfeit?
They need stop to do this, or, if FTDI really have problem with their production, stop to work with FTDI instead?
 

Offline Gyro

  • Super Contributor
  • ***
  • Posts: 10025
  • Country: gb
Re: FTDI driver kills fake FTDI FT232??
« Reply #1696 on: May 25, 2016, 07:40:41 pm »
 :scared:  It lives  :scared:
Best Regards, Chris
 

Offline serggio

  • Regular Contributor
  • *
  • Posts: 149
  • Country: ru
Re: FTDI driver kills fake FTDI FT232??
« Reply #1697 on: May 25, 2016, 07:49:55 pm »
:scared:  It lives  :scared:
Indeed!
Before criticize manufacturer, may be better think about, what you will do at their place?
If you will make good design, spent a tons of money for realizing your ideas, build a business, and make extremely popular product and then somebody will make 1:1 fakes with your name responsibilities, what you will do then?  :-//   
 

Offline Gyro

  • Super Contributor
  • ***
  • Posts: 10025
  • Country: gb
Re: FTDI driver kills fake FTDI FT232??
« Reply #1698 on: May 25, 2016, 07:54:05 pm »
I think you have 70 pages of reading to do before you can even suspect that you might have anything new to add!  :palm:
Best Regards, Chris
 
The following users thanked this post: PA0PBZ

Offline serggio

  • Regular Contributor
  • *
  • Posts: 149
  • Country: ru
Re: FTDI driver kills fake FTDI FT232??
« Reply #1699 on: May 25, 2016, 08:03:42 pm »
From past read pages I extremely like this one message
Quote
how is it my fault if I'm delivered a product with a fake chip?

As a society, we have forgotten personal accountability and responsibilities.

It's the fast foot companies' fault that I am too fat;

It's MaDonald's fault that my coffee is hotter than I expected;

It's the rich's fault that I am poor;

It's employers' fault that I am jobless;

It's banks' fault that I have to pay my debts;

It's taxpayers' fault that I am driving a beat-up car;

It's policy's fault that I am in jail.

...

At some point, you ARE going to be responsible for who you are and where you are.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf