Author Topic: FTDI chip only outputs 00's? Has anybody also seen this?  (Read 12503 times)

0 Members and 1 Guest are viewing this topic.

Offline cdwijsTopic starter

  • Regular Contributor
  • *
  • Posts: 57
FTDI chip only outputs 00's? Has anybody also seen this?
« on: March 21, 2016, 03:31:12 pm »
Hi All,

I have used the FTDI FT232RL-REEL from farnell, order code 1146032. http://nl.farnell.com/ftdi/ft232rl-reel/ic-usb-to-uart-smd-28ssop/dp/1146032?ost=1146032&selectedCategoryId=&categoryName=Alle+categorie%C3%ABn&categoryNameResp=Alle%2Bcategorie%25C3%25ABn

I have used these chips in the past, never had any issue with it. Now I have a new batch of them, and they seem to work, except the chip decides to not output the characters I send via USB, but rather output 0x00's.

Has anybody else seen this with FTDI chips? Could it be I have a counterfeit chip?

Kind regards,
Cedric
 

Offline Buriedcode

  • Super Contributor
  • ***
  • Posts: 1611
  • Country: gb
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #1 on: March 21, 2016, 03:45:41 pm »
A loop-back test would confirm whether or not its a fake chip, defective chip, or if you're doing something wrong :D  Connect Tx to Rx, load up a terminal program, make sure you're selecting the right comm port, connect, and start bashing keys.

Post your schematic and PCB as well because I guess we have no idea how you've got this wired up
 

Offline cdwijsTopic starter

  • Regular Contributor
  • *
  • Posts: 57
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #2 on: March 21, 2016, 03:51:34 pm »
Thanks for the fast reply. I have held the atmega32 in reset, connected tx and rx together, send some numbers, and got a long line of [00]'s back. Also my scope showed the pattern for a 0x00 being send.

My schematic is attached.

Kind regards,
Cedric
 

Offline enz

  • Regular Contributor
  • *
  • Posts: 134
  • Country: de
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #3 on: March 21, 2016, 03:59:42 pm »
I would bet that this is the culprit:

Quote from page 8 (Table 3.3 Miscellaneous  Signal Group) of the FT232RL datasheet:
Pin 26, TEST: Puts the device into IC test mode. Must be tied to GND for normal operation, otherwise the device will appear to fail

Martin
 

Offline cdwijsTopic starter

  • Regular Contributor
  • *
  • Posts: 57
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #4 on: March 21, 2016, 04:10:39 pm »
Thanks, I have missed that. I have re-tested with pin 26 tied to ground, but no change.
An older FT232 with pin 26 floating does work as expected.

Kind regards,
Cedric
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 7992
  • Country: gb
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #5 on: March 21, 2016, 04:20:20 pm »
Try it on Linux. If it works, I'd be willing to bet you've got fakes. Which from Farnell, is troubling.
 

Offline cdwijsTopic starter

  • Regular Contributor
  • *
  • Posts: 57
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #6 on: March 21, 2016, 04:42:17 pm »
Thanks, it works under linux (linux mint  under virtualbox with USB forwarding)

This confirms I have a counterfeit chip, and it also confirms I will never build anything with FTDI ever again.

Kind regards,
Cedric
 

Offline Bruce Abbott

  • Frequent Contributor
  • **
  • Posts: 627
  • Country: nz
    • Bruce Abbott's R/C Models and Electronics
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #7 on: March 21, 2016, 04:54:29 pm »
Don't blame FTDI for counterfeit chips, blame the Chinese criminals who manufactured and distributed them. You should send your faulty chips back to Farnell - I bet they won't be pleased to find out that they are fakes!
 

Offline cdwijsTopic starter

  • Regular Contributor
  • *
  • Posts: 57
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #8 on: March 21, 2016, 05:00:26 pm »
Don't blame FTDI for counterfeit chips, blame the Chinese criminals who manufactured and distributed them. You should send your faulty chips back to Farnell - I bet they won't be pleased to find out that they are fakes!

I think FTDI is not clean in this case. I don't like FTDI to pretend the chip is working, while in fact the driver is sabotaging the communication.

I would have been OK with it if the chip didn't output any serial communication, and windows would have given me a nice big fat warning that this is a counterfeit chip, and that they refuse to talk to it. That would have saved me a few hours to hunt this down.

Kind regards,
Cedric
 

Offline Delta

  • Super Contributor
  • ***
  • Posts: 1221
  • Country: gb
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #9 on: March 21, 2016, 05:13:04 pm »
Oh dear. If E14 have been lumbered with fakes, who CAN you trust? :-(
 

Offline Karel

  • Super Contributor
  • ***
  • Posts: 2217
  • Country: 00
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #10 on: March 21, 2016, 06:08:20 pm »
If you really believe it's not an error in your design, but instead you believe it's a counterfeit chip,
what exactly was the response of Farnell after you reported it to them?
 

Offline suicidaleggroll

  • Super Contributor
  • ***
  • Posts: 1453
  • Country: us
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #11 on: March 21, 2016, 06:12:46 pm »
You could also ask FTDI if this is the expected behavior for a counterfeit device, considering it's working in Linux.  If it is counterfeit, both FTDI and Farnell should be made aware of this problem so it can be rectified ASAP.
 

Online wraper

  • Supporter
  • ****
  • Posts: 16863
  • Country: lv
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #12 on: March 21, 2016, 06:30:09 pm »
Don't think they are counterfeits. With latest iterations of the drivers I'm aware, it should output "NON GENUINE DEVICE FOUND", never heard about zeroes. Did you try to install different driver versions? Post a photo of the IC.
 

Offline cdwijsTopic starter

  • Regular Contributor
  • *
  • Posts: 57
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #13 on: March 21, 2016, 06:35:00 pm »
If you really believe it's not an error in your design, but instead you believe it's a counterfeit chip,
what exactly was the response of Farnell after you reported it to them?

I have told them today, so there's no reply yet. I'll keep you posted.

Kind regards,
Cedric
 

Online wraper

  • Supporter
  • ****
  • Posts: 16863
  • Country: lv
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #14 on: March 21, 2016, 06:38:49 pm »
Thanks, it works under linux (linux mint  under virtualbox with USB forwarding)

This confirms I have a counterfeit chip, and it also confirms I will never build anything with FTDI ever again.

Kind regards,
Cedric
No it doesn't. There are proper ways how to check it.
 

Online wraper

  • Supporter
  • ****
  • Posts: 16863
  • Country: lv
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #15 on: March 21, 2016, 06:43:46 pm »
Check events

Quote
Types 1-4 mean integrity checks on EEPROM addresses 0x40-0x4f failed (which seem to store manufacturer info, perhaps non-writable? haven't tried, the normal EEPROM user/config area is 0-0x3f), while type 5 does the good old 16-bit EEPROM writes check (what they used to brick devices in the previous version, except this time they revert their changes). It actually writes a 0 to the PID field (without fixing the checksum to match), reads it back, and restores it if written (original chips won't write it as its address is even).
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #16 on: March 21, 2016, 08:35:22 pm »
Yes, please look at the event log of your Windows machine. Also: did you try to restart the Windows machine and try again? It could be good old Windows causing the problems.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline TheCharels

  • Contributor
  • Posts: 12
  • Country: us
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #17 on: March 21, 2016, 08:57:53 pm »
I have used the FTDI FT232RL-REEL from farnell, order code 1146032. http://nl.farnell.com/ftdi/ft232rl-reel/ic-usb-to-uart-smd-28ssop/dp/1146032?ost=1146032&selectedCategoryId=&categoryName=Alle+categorie%C3%ABn&categoryNameResp=Alle%2Bcategorie%25C3%25ABn

Could it be I have a counterfeit chip?
I am curious, that part number suggests a minimum order quantity of 2000 parts.
How many of these FT232RL-REEL parts did you buy?
 

Offline ade

  • Supporter
  • ****
  • Posts: 231
  • Country: ca
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #18 on: March 21, 2016, 09:12:43 pm »
Quote
I am curious, that part number suggests a minimum order quantity of 2000 parts.
That's just from the manufacturer.  Most retailers (element14, digikey, mouser, etc) allow you to buy single quantities in cut tape or part-reel.  Of course they charge more for the privilege.
 

Offline wblock

  • Regular Contributor
  • *
  • Posts: 239
  • Country: us
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #19 on: March 22, 2016, 01:56:22 am »
Just bookmarking this thread to have handy for the next time the "FTDI is totally justified" people tell us that people only need to buy FTDI chips from reputable vendors to be sure they get the real thing.

It is even remotely possible that this is a failure of FTDI's counterfeit detection in the driver, and it really is a genuine chip.  That would be tragihilarious.
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #20 on: March 22, 2016, 06:24:43 am »
Well, since this is a not-seen-before behavior on the part of FTDI divers/chips/lookalikes, I think it's a bit early to be assigning blame on either counterfeit chips OR the FTDI countermeasures...
(and this is a good demonstration of why FTDI needs to provide a "counterfeit detection/analysis utility" instead of just making their driver misbehave.)
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 7992
  • Country: gb
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #21 on: March 22, 2016, 12:57:10 pm »
Well, since this is a not-seen-before behavior on the part of FTDI divers/chips/lookalikes

http://zeptobars.com/en/read/FTDI-FT232RL-real-vs-fake-supereal%20this%20deep-down

Known behaviour from more than two years ago. How old is his driver?
 

Online wraper

  • Supporter
  • ****
  • Posts: 16863
  • Country: lv
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #22 on: March 22, 2016, 01:04:14 pm »
Well, since this is a not-seen-before behavior on the part of FTDI divers/chips/lookalikes

http://zeptobars.com/en/read/FTDI-FT232RL-real-vs-fake-supereal%20this%20deep-down

Known behaviour from more than two years ago. How old is his driver?
What is known? Where you heard about sending zeroes, especially 2 years ago? In that link FTDI rep says they aren't going to send zeroes.
« Last Edit: March 22, 2016, 06:40:31 pm by wraper »
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 7992
  • Country: gb
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #23 on: March 22, 2016, 01:09:36 pm »
Well, since this is a not-seen-before behavior on the part of FTDI divers/chips/lookalikes

http://zeptobars.com/en/read/FTDI-FT232RL-real-vs-fake-supereal%20this%20deep-down

Known behaviour from more than two years ago. How old is his driver?
What is known? Where you heard about sending zeroes, especially 2 years ago? In that link FTDI rep says they aren't going to send zeroes.

Quote
Fake chip was working kinda fine until FTDI released drivers update, which were able to detect fake chips via USB and send only 0's in this case.
 

Online wraper

  • Supporter
  • ****
  • Posts: 16863
  • Country: lv
Re: FTDI chip only outputs 00's? Has anybody also seen this?
« Reply #24 on: March 22, 2016, 01:16:47 pm »
Ah, sorry. I'm ill right now and my brain is dull so translated English in some wrong way. Though this should be some really old driver as since then chips were just bricked and later non genuine string sent instead.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf