LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Anybody seeing High Speed FTDI USB to Serial TTL causing computer crashes

My company designed a high speed USB to TTL adapter onto a product.  I am experiencing random but fairly frequent computer crashes with Win10 and LV15f2.  I have downloaded and installed the latest FTDI driver.  It does not really seem to be related to speed, as I am running 115200 baud.  I can sometimes even get a crash when I fire up NI-MAX and have it do an interface scan.

 

Has anybody else been experiencing this.  As long as I don't plug in this particular speed FTDI interface, I never see an issue and the software works at 115200 with other hardware with no failures as it has been doing for 6 months.  I am connecting two of these FTDI interfaces at the same time.

 

As long as I don't load LabVIEW or NI-MAX, but rather set it up under device manager and talk to them via TeraTerm, all is fine even at 3 megabaud.

 

 

0 Kudos
Message 1 of 6
(4,374 Views)

I have a colleague who has been using one of these gadgets at 900KBaud without problems.  Maybe a bad device or a bad FTDI driver?  I have no direct experience with this device -- I just helped him write some of his first LabVIEW code to get data from it.

 

Bob Schor

0 Kudos
Message 2 of 6
(4,334 Views)

Probably unrelated, but what are you running this on? A few years ago I was having issues with the motherboard USB on an HP machine, had to put a USB board in.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 3 of 6
(4,331 Views)

Hello,

I saw some computer crashes (blue screens in Windows7) related to a USB to Serial Converter using a FTDI chip. Baud rate was 19k or 38k, not really high speed.

I replaced the converter with a 2 port serial PCIe card. Since then there were no more blue screens.

UliB

0 Kudos
Message 4 of 6
(4,315 Views)

That also reminds me of another issue I had with FTDI chip based device, where after some random period of the program running I would have a blue screen. In this case the supplier of the hardware using the FTDI chip had written a custom dll to wrap the standard FTDI calls. The problem was that it wasn't thread safe and apparently at random times would do something that annoyed Windows. I got them to reveal their calls to the original FTDI dll, which was thread safe, wrote a LabVIEW call library set to perform the functions their dll was supposed to do and no more crashes.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 5 of 6
(4,308 Views)

Are you sure this is a genuine FTDI interface? There are chinese counterfeit products on the market, even with almost authentic logos on the chips, and they can certainly behave badly and FTDI obviously has absolutely no interest to make them work properly. At some point they even modified the driver to brick such chips on purpose but they quickly retreated from that, since most people had no understanding for such an action, considering that many users were not even aware they had been sold counterfeited products. It's definitely something to investigate into!

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 6 of 6
(4,307 Views)