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

0 Members and 2 Guests are viewing this topic.

Offline GNU_Ninja

  • Regular Contributor
  • *
  • Posts: 200
  • Country: gb
  • Mostly Harmless
Re: FTDI driver kills fake FTDI FT232??
« Reply #375 on: October 23, 2014, 11:39:31 am »
Here ya go ==> http://zeptobars.ru/en/read/FTDI-FT232RL-real-vs-fake-supereal

Must admit. The logo on the fake IC is way better than the one on the real IC  ;D
 

Offline maxstone

  • Contributor
  • Posts: 13
Re: FTDI driver kills fake FTDI FT232??
« Reply #376 on: October 23, 2014, 11:40:10 am »
I now face an interesting problem. Suppose I want to buy a USB to serial cable from Saturn (a reputable electronics retailer here in Europe) and the outside of the packet says that it has an FTDI chipset:

If the chipset is genuine the I am supporting FTDI and I do not want to do this.

If the chipset is fake then it will die as soon as I plug the cable into an MS Windows machine.

My only option is therefore to avoid ANY product that has an FTDI chip leading to loss of business on their part. Rather silly on their part, killing their own market like that.

Perhaps they are already receiving a bad reputation and loosing their market share as people are buying what they believe to be FTDI products that do not meet the full specifications in the datasheet.

It'll be interesting to see if someone does a full comparison of a fake IC next to a real one.
 

Offline krater

  • Regular Contributor
  • *
  • Posts: 60
  • Country: de
Re: FTDI driver kills fake FTDI FT232??
« Reply #377 on: October 23, 2014, 11:51:44 am »
In case anyone was still wondering if this is intentional and malicious...



Straight out of their driver. Function/variable naming and comments mine.

Edit: Ooooh this is cleverer than I thought. So what's going on is that on real FT232RLs, the EEPROM is written in 32-bit units: writes to even addresses are buffered, and writes to odd addresses write 32 bits at once: the buffered 16 bits, and the supplied 16 bits. So, on a real FT232RL, this code does nothing; it just buffers 16 bits then buffers another 16 bits and no writes are issued. On a clone FT232RL, this writes the PID to 0 (breaking the checksum) and writes not the checksum, but the value required to make the existing checksum match to address 62. In combination, these two writes make the checksum at address 63 valid again (without modifying it). I've updated the image above with the new analysis.


Thanks for your reverse engineering.


I think all other things are sayd. I would wonder if no one of the poeple that posts here for FTDI is payd.
"it was working yesterday.  hmmm.  maybe the vendor FTDI'd me via a windows update..."
 

Offline sacherjj

  • Frequent Contributor
  • **
  • Posts: 993
  • Country: us
Re: FTDI driver kills fake FTDI FT232??
« Reply #378 on: October 23, 2014, 11:52:21 am »
Parody patch sent for linux kernel.  :)

https://lkml.org/lkml/2014/10/23/129
 

Offline crenn6977

  • Newbie
  • Posts: 1
Re: FTDI driver kills fake FTDI FT232??
« Reply #379 on: October 23, 2014, 11:56:55 am »
Parody patch sent for linux kernel.  :)

https://lkml.org/lkml/2014/10/23/129

You sure that's a parody? Also, damn you beat me to posting that link.
 

Offline krater

  • Regular Contributor
  • *
  • Posts: 60
  • Country: de
Re: FTDI driver kills fake FTDI FT232??
« Reply #380 on: October 23, 2014, 11:58:07 am »
"it was working yesterday.  hmmm.  maybe the vendor FTDI'd me via a windows update..."
 

Offline wraper

  • Supporter
  • ****
  • Posts: 16847
  • Country: lv
Re: FTDI driver kills fake FTDI FT232??
« Reply #381 on: October 23, 2014, 11:59:50 am »
Their only defense was that they're exploiting a side-effect of running some code on the counterfeit device, but that stopped being effective as an excuse the moment they acknowledged they are aware their drivers are actively bricking third party devices.
Technically why should they bother in that case. It works perfectly on the target device. If the poorly cloned counterfeit device which is illegal to sell cannot bear normal operation of the driver, why should they bother at all. Manufacturer is not supposed to modify drivers because of the counterfeit device exists. Moreover rolling back to the older driver if you know that it is a fake, is also breaking of the older driver licence agreement. So technically what is a difference between bricking the device and make user to know that it is a fake as it becomes illegal to use the counterfeit device since the moment user becomes aware of it being fake?
 

Offline krater

  • Regular Contributor
  • *
  • Posts: 60
  • Country: de
Re: FTDI driver kills fake FTDI FT232??
« Reply #382 on: October 23, 2014, 12:06:55 pm »
Their only defense was that they're exploiting a side-effect of running some code on the counterfeit device, but that stopped being effective as an excuse the moment they acknowledged they are aware their drivers are actively bricking third party devices.
Technically why should they bother in that case. It works perfectly on the target device. If the poorly cloned counterfeit device which is illegal to sell cannot bear normal operation of the driver, why should they bother at all. Manufacturer is not supposed to modify drivers because of the counterfeit device exists. Moreover rolling back to the older driver if you know that it is a fake, is also breaking of the older driver licence agreement. So technically what is a difference between bricking the device and make user to know that it is a fake as it becomes illegal to use the counterfeit device since the moment user becomes aware of it being fake?

Why ? Because they are now in a war that they can't win. Chinese manufacturers will follow and then they can update their drivers again. And so on.....

AND:It's NOT illegal to sell the chip. Maybee some of the chips are wrapped with epoxid and tagged as ftdi, but you're sure all destroyed chips are so? how can the driver test this ? Its illegal to destroy chips with this insufficient test!

It will not be more true if you post this wrong fact in every of your messages.

Edit:And if the war runs long enough, chinese cloners have perfect rebuilds that works like the original with no chance to test for the driver.
« Last Edit: October 23, 2014, 12:08:40 pm by krater »
"it was working yesterday.  hmmm.  maybe the vendor FTDI'd me via a windows update..."
 

Offline wraper

  • Supporter
  • ****
  • Posts: 16847
  • Country: lv
Re: FTDI driver kills fake FTDI FT232??
« Reply #383 on: October 23, 2014, 12:12:29 pm »
AND:It's NOT illegal to sell the chip.
Yes it is. As it is illegal to even send it abroad tor return back to the seller as any other counterfeit.
 

Offline bookaboo

  • Frequent Contributor
  • **
  • Posts: 727
  • Country: ie
Re: FTDI driver kills fake FTDI FT232??
« Reply #384 on: October 23, 2014, 12:12:42 pm »

Agreed.

I'm still wondering just how big of a problem this is for FTDI and just what other options it had to protect itself from being cloned out of its own market?

Well, there are plenty of ways they could have taken instead of bricking hardware. And it obviously is a problem for them when they are taking such ridiculous action as to sabotage someone else's hardware.


Such as?

Nag screen when you plug in a device something like what microsoft do, in form the user and annoy them slightly then let them on their way  :-//

"You may be a victim of USB hardware counterfeiting, please contact your supplier to ensure they use only genuine FTDI parts"
 

Offline nctnicoTopic starter

  • Super Contributor
  • ***
  • Posts: 26891
  • Country: nl
    • NCT Developments
Re: FTDI driver kills fake FTDI FT232??
« Reply #385 on: October 23, 2014, 12:14:02 pm »
Parody patch sent for linux kernel.  :)

https://lkml.org/lkml/2014/10/23/129
It seems the official Linux kernel is already patched to keep using the bricked FT232 devices. https://www.mail-archive.com/linux-usb@vger.kernel.org/msg50762.html
I also see that the driver supports a healthcare device so I hope there are real FTDI devices in there.
« Last Edit: October 23, 2014, 12:20:26 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline German_EE

  • Super Contributor
  • ***
  • Posts: 2399
  • Country: de
Re: FTDI driver kills fake FTDI FT232??
« Reply #386 on: October 23, 2014, 12:18:04 pm »
After going through my USB devices it appears that I may need to be careful with one item:

Logic Analyzer Bus 001 Device 004: ID 0925:3881 Lakeview Research

MiniVNA Bus 006 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART)

Picoscope Bus 002 Device 003: ID 0ce9:1001 pico Technology PicoScope3204

Parallel Port Interface Bus 006 Device 004: ID 067b:2305 Prolific Technology, Inc. PL2305 Parallel Port

Old Webcam Bus 006 Device 005: ID 093a:2460 Pixart Imaging, Inc. Q-TEC WEBCAM 100

New Webcam Bus 002 Device 007: ID 046d:082b Logitech, Inc.

I have no idea if the FTDI chip in my MiniVNA is genuine or a fake and just to get to the chip will mean a complete strip down. I may wait a few days to see if the patch is removed by Microsoft.
Should you find yourself in a chronically leaking boat, energy devoted to changing vessels is likely to be more productive than energy devoted to patching leaks.

Warren Buffett
 

Offline krater

  • Regular Contributor
  • *
  • Posts: 60
  • Country: de
Re: FTDI driver kills fake FTDI FT232??
« Reply #387 on: October 23, 2014, 12:32:07 pm »
AND:It's NOT illegal to sell the chip.
Yes it is. As it is illegal to even send it abroad tor return back to the seller as any other counterfeit.


Why should it be illegal ? the chip is not a copy, its a rebuild from reverse engineering and datasheets. Thats legal in the complete eu and in many other countries. in china, where the chips are developed its legal too. So can you me name ANY real reason why this chips should be illegal ?
"it was working yesterday.  hmmm.  maybe the vendor FTDI'd me via a windows update..."
 

Offline Immortal

  • Newbie
  • Posts: 2
Re: FTDI driver kills fake FTDI FT232??
« Reply #388 on: October 23, 2014, 12:33:05 pm »
FTDI is at fault for this as they were the ones who passed on the driver to Microsoft to be included in the update. Microsoft are doing as they have always done and take the word of the manufacturers that what they are going to be including into their update will not be malicious to preexisting devices.

Yes it's a pain that this situation has come about and yes it's a pain that some peoples devices are being affected by this, but it is not the customers fault that devices are being bricked, intentionally or not. The fact of the matter is that this situation has happened. The only foreseeable way out of this is for FTDI to change their code to support correcting this issue in affected devices, which they will not want to do or foot the bill for as it's not their product in the device which is now broken.

Such as the situation is bad, this has highlighted sellers of this chip so people who have bought fake chips know where they bought them from and those places should be listed as not to further the problem. Microsoft should reverse the update so that it doesn't affect any further devices and those with affected devices will have to foot the bill and pass that back on to the manufacturing and sellers of the fake devices which were purchased.

In the long run, it's a terrible thing that has happened but but it can be reversed on most devices and once Microsoft pulls the update those devices will be able to work again, albeit that FTDI won't want to be changing their source... they should think about doing so as a customer relations exercise.
 

Offline wraper

  • Supporter
  • ****
  • Posts: 16847
  • Country: lv
Re: FTDI driver kills fake FTDI FT232??
« Reply #389 on: October 23, 2014, 12:39:38 pm »
AND:It's NOT illegal to sell the chip.
Yes it is. As it is illegal to even send it abroad tor return back to the seller as any other counterfeit.


Why should it be illegal ? the chip is not a copy, its a rebuild from reverse engineering and datasheets. Thats legal in the complete eu and in many other countries. in china, where the chips are developed its legal too. So can you me name ANY real reason why this chips should be illegal ?
If you can find a single clone that is not marked as FT232, then maybe. But I'm not aware of such existing, as they are mostly prolific clones. Anyway now people are yelling about bricking devices where are chips with FTDI and FT232Rx written on them indeed. I'm not big supporter of such tactics, but i think that technically it is OK to do in legal aspect.
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17814
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: FTDI driver kills fake FTDI FT232??
« Reply #390 on: October 23, 2014, 12:45:01 pm »
I bought an FTDI cable from farnell, it came with no driver so FTDI seem to be maliciously using microsoft as a distribution medium as a device that was originally installed by windows is more likely to have an update installed for it by windows......

If FTDI supplied a driver then they could remote;ly argue that they aren't responsible for the choice of drivers used.
 

Offline krater

  • Regular Contributor
  • *
  • Posts: 60
  • Country: de
Re: FTDI driver kills fake FTDI FT232??
« Reply #391 on: October 23, 2014, 12:52:41 pm »
AND:It's NOT illegal to sell the chip.
Yes it is. As it is illegal to even send it abroad tor return back to the seller as any other counterfeit.


Why should it be illegal ? the chip is not a copy, its a rebuild from reverse engineering and datasheets. Thats legal in the complete eu and in many other countries. in china, where the chips are developed its legal too. So can you me name ANY real reason why this chips should be illegal ?
If you can find a single clone that is not marked as FT232, then maybe. But I'm not aware of such existing, as they are mostly prolific clones. Anyway now people are yelling about bricking devices where are chips with FTDI and FT232Rx written on them indeed. I'm not big supporter of such tactics, but i think that technically it is OK to do in legal aspect.

The thing is, the driver will destroy the chips that are not marked as FTDI too. In germany(and I think EU too) we have laws against this.

Technically all you can do is okay. But technically if FTDI has a security problem of his computers it's okay too to steal all it's IP and sell it to china. They are dumb enough to don't close the security flaw, so they must suffer. But shall we really think just technically ?

I think its really dumb to do that, because it's just breaks old payd working devices, and some new ones. The new ones will now equiped with better fakes or chips from other vendors. The win of this is volatile. the image problem for FTDI will remain.
"it was working yesterday.  hmmm.  maybe the vendor FTDI'd me via a windows update..."
 

Offline andersm

  • Super Contributor
  • ***
  • Posts: 1198
  • Country: fi
Re: FTDI driver kills fake FTDI FT232??
« Reply #392 on: October 23, 2014, 12:53:59 pm »
So what makes it impossible that someone in china bought 1k FTDI chips and is willing to sell them to me at cost+shipping+margin ending up cheaper than Farnell at 5, 10 or 20 quantity?
Nothing, but if you buy from a source that doesn't offer the traceability of distributors, that's a chance you're willing to take. You're also willing to accept that the parts may have suffered from ESD damage, been improperly stored and all the other things distributors take care of.

Edit:And if the war runs long enough, chinese cloners have perfect rebuilds that works like the original with no chance to test for the driver.
That goes without saying. The only question is how long it takes for the current generation of clones to disappear from the market.

Why should it be illegal ? the chip is not a copy, its a rebuild from reverse engineering and datasheets. Thats legal in the complete eu and in many other countries. in china, where the chips are developed its legal too. So can you me name ANY real reason why this chips should be illegal ?
The chips are sold as FTDI chips, bearing the FTDI markings. That makes them counterfeits, and selling them is not legal in the EU.

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17814
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: FTDI driver kills fake FTDI FT232??
« Reply #393 on: October 23, 2014, 01:02:51 pm »
So what makes it impossible that someone in china bought 1k FTDI You're also willing to accept that the parts may have suffered from ESD damage, been improperly stored and all the other things distributors take care of.


And would you like a tin hat to go with that ? I've never had problems and use paper bags

I bought 1000 ATmega328's from Farnell only to find that they were packed in the shittiest tubes I've ever seen (looked more like extra thick socket tubes) with wrong sized rubber plugs, they fell out got all bent up in the box and some didn't even work, god knows how they ended up in non atmel branded tubes of random lengths. I could be forgiven for thinking they had been swept up from a factory floor and repackaged.......

Good news is that I program the arduino bootloaders myself so any dodgy ones show up and get canned by me.
 

Offline hans

  • Super Contributor
  • ***
  • Posts: 1637
  • Country: nl
Re: FTDI driver kills fake FTDI FT232??
« Reply #394 on: October 23, 2014, 01:06:29 pm »
I can think of 2 issues why FTDI would do this, and why they should not do this:

The biggest problem I can think of is support for FTDI. If a customer have had a batch made in China, came back for compliance testing and failed on the USB part. "But I thought we were using the FTDI chip correctly - all engineering data looked OK; let's contact FTDI!". It would be a very nasty surprise for both parties if it turns out the chips were fake. I suspect they have had numerous cases of this happening, which had maybe costed them a lot of money and faith for those customers. Resetting the Vendor ID sounds like:  "get of my USB lawn!" - which is OK-ish.

However their software states you can only use it with official FTDI chips. Unless I have read over it, but does that also reserve them the right to interface and interact with chips that are not official FTDI? If it does, then it was OK in the first place to use FTDI-compliant chips with their driver. But that is obviously not what they want.
So I assume their driver license excludes the usage of unofficial FTDI chips with their driver - so why they the hell are they interfacing with it in the first place and change the ID? Or will they defend this as the only detection mechanism for a counterfeit chip?

I would have thought a better solution would be that the FTDI chip wouldn't enumerate and display the device descriptor as "Counterfeit FT232RL". Bricking the chips and affecting end customers is rather.. how the Chinese works. They will probably be beaten by experience at that level.
 

Offline krater

  • Regular Contributor
  • *
  • Posts: 60
  • Country: de
Re: FTDI driver kills fake FTDI FT232??
« Reply #395 on: October 23, 2014, 01:09:51 pm »

Why should it be illegal ? the chip is not a copy, its a rebuild from reverse engineering and datasheets. Thats legal in the complete eu and in many other countries. in china, where the chips are developed its legal too. So can you me name ANY real reason why this chips should be illegal ?
The chips are sold as FTDI chips, bearing the FTDI markings. That makes them counterfeits, and selling them is not legal in the EU.

No, the CHIPS are marked as SR1107 SUPEREAL, the epoxid where the chips in are marked as FTDI. But are you sure all chips hat FTDI cases ? I'm not.
"it was working yesterday.  hmmm.  maybe the vendor FTDI'd me via a windows update..."
 

Offline andersm

  • Super Contributor
  • ***
  • Posts: 1198
  • Country: fi
Re: FTDI driver kills fake FTDI FT232??
« Reply #396 on: October 23, 2014, 01:15:33 pm »
No, the CHIPS are marked as SR1107 SUPEREAL, the epoxid where the chips in are marked as FTDI. But are you sure all chips hat FTDI cases ? I'm not.
Show me even one instance where that has happened. As far as I'm concerned, it's just hyperbole and hypotheticals.

Offline wraper

  • Supporter
  • ****
  • Posts: 16847
  • Country: lv
Re: FTDI driver kills fake FTDI FT232??
« Reply #397 on: October 23, 2014, 01:15:50 pm »
But shall we really think just technically ?
That's what lawyers and judicial system are for. So bastards can technically be clean and get away according to the law  :-DD.
 

Offline FPGAcrazy

  • Contributor
  • Posts: 17
Re: FTDI driver kills fake FTDI FT232??
« Reply #398 on: October 23, 2014, 01:24:30 pm »
I understand there are a lot of angry people out there. But I have some remarks to think about.

1. FTDI detects that the chips are counterfeit, however the process of doing this bricks the counterfeit chips. The copy is not functional equivalent to the real FTDI chip and therefor stops working.
2. After this detection process the chip is left in a undefined state. Is it really the task of FTDI to clean this up?
3. If they choose to do the test and restore the content of the eeprom it will also result in a massive failure of devices. Because frequently programming and erassing an eeprom will certaintly destroy it. Keep in mind that the FTDI device eeprom is not programmed using this detection circuit.

I agree, that this detection method is a lost cause. Because counterfeit chips will have the same behaviour in approximately 3 to 4 months. This will make them even harder to detect.

Comparing INTEL vs AMD is not a good comparising in this case, because they have cross licensing deals. AMD did not reverse engineer the chips, but had a license to produce the design from INTEL for INTEL. AMD manufactored copyright by INTEL and so on.

FTDI is only preventing user from using their driver with counterfeit chips. There is nothing wrong with this.
This process also prevents reverting to older driver. For now this works.

The question is also how good do these chips work and are they fully compatible. The answer for now is NO and therefor can't be used with the FTDI driver.

The USB vendor id and product id are reserved for and by FTDI. Using them results in a non working plug and play system.

The chips are sold as counterfeits and therefor they should not be used. This is very simple and is valid in the whole of europe.  A fake Rolex will also be destroyed and the buyer is responsible for this. Actually buying counterfeit products is a crime.

Ok my thoughts on the subject.
 

Offline XFDDesign

  • Frequent Contributor
  • **
  • Posts: 442
  • Country: us
Re: FTDI driver kills fake FTDI FT232??
« Reply #399 on: October 23, 2014, 01:28:47 pm »
So...
there's this drug dealer.
He sells the good stuff.
And there's these people who like drugs.
So they buy lots of drugs from him
and then some other dealer moves in
and sells drugs of lesser quality... but similar
So they start going to this new guy
and the older dealer?
what does he do?
RIGHT
he shoots the junkies.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf