# Diagnosing USB to RS232 (or "USB to serial") adapter problems

**URL:** <https://boards.straightdope.com/t/diagnosing-usb-to-rs232-or-usb-to-serial-adapter-problems/565703>\
**Category:** Factual Questions\
**Created:** [December 29, 2010, 3:12pm UTC](https://boards.straightdope.com/t/diagnosing-usb-to-rs232-or-usb-to-serial-adapter-problems/565703 "2010-12-29T15:12:50Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![Napier](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@Napier](https://boards.straightdope.com/u/Napier)\
**Post date:** [December 30, 2010, 9:45pm UTC](https://boards.straightdope.com/t/diagnosing-usb-to-rs232-or-usb-to-serial-adapter-problems/565703/21 "2010-12-30T21:45:31Z")

</div>

I am so stupid about this, and so intent on starting the holiday weekend in a foul mood, that I found yet another terminal program to try. It is called “Terminal”. While at first blush this sounds very clear and simple, on reflection it has the potential to confuse, doesn’t it? Anyway, it is by somebody named Bray. And it works, with the three adapters I have sitting here now, or at least seems to with the few things I have tried so far. Advantageously, it has a huge screen bristling with buttons. A list of 7 COM ports grays out the ones that don’t appear to exist, and only COM7 is available. Fourteen standard Baud rates and one custom option are all just pushbuttons, so you can hunt for the correct one quickly. It also has lots of simultaneous display modes (ascii, decimal, hex, bin) and various other nice looking bells and whistles. Beats me what this guy did right that nobody else did, or if it’s just some quirky combination of my PC and the software choices, or what - but I end the year victorious!

---

<div class="post-metadata">

**Author:** ![Napier](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@Napier](https://boards.straightdope.com/u/Napier)\
**Post date:** [December 30, 2010, 9:48pm UTC](https://boards.straightdope.com/t/diagnosing-usb-to-rs232-or-usb-to-serial-adapter-problems/565703/22 "2010-12-30T21:48:21Z")

</div>

By the way, Kevbo, I can be sympathetic. Not only do I believe Microsoft to be an evil shadow government, and think Gates became a philanthropist in a hopeless attempt to wash away his guilt complex, moreover, the way A-B implemented the IEC 1131-3 languages makes me dash frothing into the hallway looking for pencils with which to stab my eyes out.

---

<div class="post-metadata">

**Author:** ![HansNielsen](https://avatars.discourse-cdn.com/v4/letter/h/c6cbf5/32.png) [@HansNielsen](https://boards.straightdope.com/u/HansNielsen)\
**Post date:** [June 5, 2011, 5:16am UTC](https://boards.straightdope.com/t/diagnosing-usb-to-rs232-or-usb-to-serial-adapter-problems/565703/23 "2011-06-05T05:16:44Z")

</div>

There is a big difference between many of the adapters but them main difference is the chipset and drivers. Most low-cost USB to RS232 adapter cables are made with a chipseet called Prolific (Taiwan), I have experienced a lot of problems with this. If you invest a bit more $ then you can get a [USB to serial adapter](http://www.usconverters.com/index.php?main_page=index&cPath=67) designed with a FTDI chipset and drivers. These are compatible with most devices and most versions of Windows, Mac and Linux. Personally I can highly recommed a FTDI based adapter.

> [@Napier](#):
>
> Talking to RS232 devices suddenly seems really difficult, now that my latest work laptop has no RS232 serial port. I have tried 2 adapters and discussed several others with co-workers, and so far have not found a way to make it work well. The first adapter I tried, recommended by the IT department, reported that its software installed properly, and diagnostic tests in its software reported that it works properly. But I can’t get any signal out of it. The second, recommended as an alternative by IT, seems to partly work when I use the clumsy Hyperterminal program that bundles with Windows; however, if I try to turn on “capture text to file” while there is incoming data on the line, Hyperterminal locks up. Also, the nice terminal program I have been using for years, RealTerm, cryptically shows various of the terminals going high or low and staying that way when I try to send anything out the port, and reads nothing coming in.
> 
> What I hear from co-workers about other adapters is that whether one will work or not seems pretty unpredictable, and they often work in some situations and fail in others. Also, many work with some programs and not others. Nobody has found one that works every time.
> 
> I figure I will buy 5 or 10 of them and spend some hours experimenting, but I’d like to be better informed about some of the principles and practices involved.
> 
> What basis is there for choosing them? Are there any standards or standard tests for them? Are there any web sites that list which ones that work in different situations or with different programs?
> 
> The last time I did any programming myself with RS232, I was reading and writing from the UART on the IO bus. This is straightforward and reliable, so I assume it has been eliminated from the computing world. What does one basically do these days instead?
> 
> Also, I’m asking because I use Windows XP machines at work (and supposedly there will be a Windows 7 rollout here in 2011). But I also have a fairly new Mac at home and still haven’t worked this out there either. Any special considerations for this?
> 
> I’m not asking for recommendations for specific products and hope this thread doesn’t wind up on IMHO.

---

<div class="post-metadata">

**Author:** ![Napier](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@Napier](https://boards.straightdope.com/u/Napier)\
**Post date:** [June 5, 2011, 1:25pm UTC](https://boards.straightdope.com/t/diagnosing-usb-to-rs232-or-usb-to-serial-adapter-problems/565703/24 "2011-06-05T13:25:16Z")

</div>

HansNielsen, I am not certain I got representatives of the FTDI chipset, but I am certain I got more than just Prolific chips, and I did include expensive adapters. Note that I did also include a PCMCIA adapter that (I think) isn’t a USB serial adapter at all.

The laptop is a Dell, and Dell makes a legacy docking station that our IT fellow gave me to try recently. It includes a serial port. Since this device is attaching to the docking station connector, it might be a “real serial port” and not an adapter at all. The serial port on this device DOES work with Tera Term, Terminal by Bray, and PuTTY, though it does not work with RealTerm. On the downside, this docking station lacks a DVI connector, forcing a digital to analog VGA to digital conversion step for the display, but that might have been OK. Unfortunately, none of its USB ports worked - and when I went back to the regular docking station, now none of those USB ports worked either!

The big problem, though, was that with the legacy docking station installed, if I put a signal to the RS232 port, the CPU usage goes up to 100% on all four processors and stays there. Now it can no longer keep up with my typing, in fact not even close. It records about a character per second as I type, and drops a few. The mouse is practically unusable, and if I connect a serial device at 38400 baud the mouse dances merrily around as if the PC mistook the data acquisition box for a serial mouse.

The latest advance came early this week. I had bought an ethernet-based Lantronics UDS serial server, which provides 2 serial ports, has a configuration page, and sits on the network. It’s a nice, solid, pretty little thing, which supports (among other things) telnet. Though it took a little time to find out about some quirks, I have it working just fine. I am telnetting to it using Tera Term (for some reason RealTerm only partly works, transmitting but not receiving). Note that in this scenario, NOBODY is pretending that there is a COM1 or other serial port anywhere in the system.

I still loosely think that something about this PC will not support emulating a serial port.

---

<div class="post-metadata">

**Author:** ![Heracles](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/heracles/32/487_2.png) [@Heracles](https://boards.straightdope.com/u/Heracles)\
**Post date:** [June 5, 2011, 2:02pm UTC](https://boards.straightdope.com/t/diagnosing-usb-to-rs232-or-usb-to-serial-adapter-problems/565703/25 "2011-06-05T14:02:43Z")

</div>

> [@Napier](#):
>
> The last time I did any programming myself with RS232, I was reading and writing from the UART on the IO bus. This is straightforward and reliable, so I assume it has been eliminated from the computing world. What does one basically do these days instead?

The official API for port access for traditional Windows programs is through the file API, with CreateFile( “COM7:” ) and SetCommState() and SetCommTimeouts() to establish the channel, then ReadFile() and WriteFile() to do the actual communication. Presumably, .NET programs have an equivalent set of APIs. There are no facilities to monitor individual lines, AFAIK, so I assume that a terminal program that tries to show this information will end up with some sort of emulated picture of a UART.

At my office we’ve been communicating for years with various devices (cameras, microscopes), using some of the cheapest USB-to-RS232 adapters (usually Prolific) and most adapters have worked well/correctly/predictably.

Until… last year. We have these two Core i5 Dell computers with Windows XP, where the RS232 channel just stops responding after several hours of continuous I/O. We think it has to do with USB reenumeration with this particular USB chipset (“Intel 5 series / 3400 series”). We’ve had to program around it by detecting the suspicious silence, closing the file and reopening it.

---

<div class="post-metadata">

**Author:** ![Darryl\_Lict](https://avatars.discourse-cdn.com/v4/letter/d/7cd45c/32.png) [@Darryl\_Lict](https://boards.straightdope.com/u/Darryl_Lict)\
**Post date:** [June 5, 2011, 6:27pm UTC](https://boards.straightdope.com/t/diagnosing-usb-to-rs232-or-usb-to-serial-adapter-problems/565703/26 "2011-06-05T18:27:54Z")

</div>

Back in the day, the company I used to work for built devices that communicated via Macintosh style serial ports. We spent a lot of time screwing around with various ISA card, PCMCIA, and USB serial ports.

What I found pretty useful was having a digital storage oscilloscope. We’d stick a probe on the serial cable and could instantly see if the data was coming out of the port. It’s useful to have a dedicated connector with exposed lines to make probing simple.

Do you have access to a DSO or a logic analyzer?

---

<div class="post-metadata">

**Author:** ![hekk](https://avatars.discourse-cdn.com/v4/letter/h/50afbb/32.png) [@hekk](https://boards.straightdope.com/u/hekk)\
**Post date:** [June 6, 2011, 12:33am UTC](https://boards.straightdope.com/t/diagnosing-usb-to-rs232-or-usb-to-serial-adapter-problems/565703/27 "2011-06-06T00:33:40Z")

</div>

> [@Kevbo](#):
>
> Finally, if you ever have to talk to an Allen-Bradley PLC via a USB adapter, you pretty much have to buy the overpriced A-B adapter. One more reason I hate A-B.

Well, yeah if you’re talking DH-485, because XP SP3 broke the PIC driver for the serial port. That wasn’t AB’s fault. Talking DF1 works fine with any FTDI based USB-RS232 adapter.

---

<div class="post-metadata">

**Author:** ![Terry\_Kennedy](https://avatars.discourse-cdn.com/v4/letter/t/c57346/32.png) [@Terry\_Kennedy](https://boards.straightdope.com/u/Terry_Kennedy)\
**Post date:** [June 6, 2011, 1:05am UTC](https://boards.straightdope.com/t/diagnosing-usb-to-rs232-or-usb-to-serial-adapter-problems/565703/28 "2011-06-06T01:05:30Z")

</div>

> [@Napier](#):
>
> What I hear from co-workers about other adapters is that whether one will work or not seems pretty unpredictable, and they often work in some situations and fail in others. Also, many work with some programs and not others. Nobody has found one that works every time.
> 
> I figure I will buy 5 or 10 of them and spend some hours experimenting, but I’d like to be better informed about some of the principles and practices involved.

I recommend a FTDI-based adapter. Their chips seem to actually work (unlike some of their competition’s), and they offer frequent driver updates for a variety of operating systems [on their web site](http://www.ftdichip.com/Drivers/VCP.htm). None of this “track down the no-name company that made the whole adapter and ask them for drivers” nonsense.

The ones I’m using now are from [USB Gear](http://www.usbgear.com/Serial-usb-adapter/index.cfm). While the enclosure isn’t as nice as (for example) the IOGear GUC232A, at least the ones from USB Gear seem to work reliably. [Note - IOGear **finally** released a driver update in February, after several years of no updates. Maybe their adapter works better now, but I’d already switched.]

---

<div class="post-metadata">

**Author:** ![JoelUpchurch](https://avatars.discourse-cdn.com/v4/letter/j/f05b48/32.png) [@JoelUpchurch](https://boards.straightdope.com/u/JoelUpchurch)\
**Post date:** [June 6, 2011, 1:29pm UTC](https://boards.straightdope.com/t/diagnosing-usb-to-rs232-or-usb-to-serial-adapter-problems/565703/29 "2011-06-06T13:29:45Z")

</div>

I’ve dealt with a lot of different USB to Serial adapters over the years and the best compatibility I found was with Quatech adapters, but they are fairly expensive.

The basic problem is with software that tries to configure the serial port. It just didn’t work with USB to serial adapters and you had to config them manually in the OS. It’s possible that someone else has fixed that problem.

If you laptop has an express card slot, that would be an option also.

---

<div class="post-metadata">

**Author:** ![Napier](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@Napier](https://boards.straightdope.com/u/Napier)\
**Post date:** [June 6, 2011, 4:37pm UTC](https://boards.straightdope.com/t/diagnosing-usb-to-rs232-or-usb-to-serial-adapter-problems/565703/30 "2011-06-06T16:37:00Z")

</div>

Here is a list of the adapters I tried, though incomplete because our ordering system stripped away parts of the description:

“micro innovations” (no other marks)  
EasySync ES-U-1001-R10 US232R-10  
TrippLite Keyspan USA-19HS  
CP TECHNOLOGIES CP-US-03  
Cables Unlimited USB-2920  
Manhattan  
Aten Technologies UC232A

I thought I had a separate record someplace but can’t find it.  
Joel UpChurch  
\>If you laptop has an express card slot, that would be an option also.  
What’s that? Is it the same as a PCMCIA or PC Card slot? I did try those, if it is.

\>Do you have access to a DSO or a logic analyzer?  
For one thing, I can put an AC voltmeter on Tx and ground and see a bit over 4 V when I send a long text file out the port. I also have some of those little adapters with LEDs in them. And an ordinary scope. No DSO or logic analyzers, tho.  
Can anybody tell me where to find a list of adapters that use FTDI chipsets?

---

<div class="post-metadata">

**Author:** ![JoelUpchurch](https://avatars.discourse-cdn.com/v4/letter/j/f05b48/32.png) [@JoelUpchurch](https://boards.straightdope.com/u/JoelUpchurch)\
**Post date:** [June 8, 2011, 7:20am UTC](https://boards.straightdope.com/t/diagnosing-usb-to-rs232-or-usb-to-serial-adapter-problems/565703/31 "2011-06-08T07:20:43Z")

</div>

> [@Napier](#):
>
> Here is a list of the adapters I tried, though incomplete because our ordering system stripped away parts of the description:
> 
> Joel UpChurch  
> \>If you laptop has an express card slot, that would be an option also.  
> What’s that? Is it the same as a PCMCIA or PC Card slot? I did try those, if it is.

Express Card was the sucessor to Pc Card, but from I understand Express Card has been replaced by USB 3.0.

[Previous page](https://boards.straightdope.com/t/diagnosing-usb-to-rs232-or-usb-to-serial-adapter-problems/565703.md?page=1)
