Bluescreen when PuTTY reads from a serial port

5

1

I already got two bluescreens this morning when running PuTTY (version 0.63.0.0, which is the newest version as far as I can tell). I have a microcontroller that sends data to a serial-to-USB converter. The driver for the converter is called "Prolific USB-To-Serial Comm Port (COM12)". The driver version number is 3.4.62.293 (date 2013-10-17). So this seems to be up-to-date as well. I run Windows 7.

The data gets transmitted flawlessly until the bluescreen appears. Is this a problem of PuTTY or the serial-to-USB conversion? Is there an alternative to PuTTY that I can try (HyperTerminal seems to be no longer available on Windows 7).

Lucas

Posted 2013-11-26T10:10:17.800

Reputation: 629

Try an older version, the newest version is not per definition to most stable one. – Mixxiphoid – 2013-11-26T10:23:32.517

@Mixxiphoid I agree, see my full answer. – Tonny – 2013-11-26T10:29:20.723

Answers

5

Mmmhh.. I use a similar configuration without any issues.

But I use a much older version of the Prolific driver (version 1.10 from 2009). I had stability issues in the past with various versions of the Prolific drivers. I had to experiment a bit to find a stable one, and I have stuck with that version over the past few years.

I always throw away the driver which comes with the converter and use the one directly from Prolific instead.

(About half of all USB-to-serial converters use a Prolific chip inside and will work with the generic Prolific driver... The other half usually have an FTDI chip and work best with the generic FTDI driver. The generic drivers are usually more stable than a rebranded and possibly modified driver that the manufacturer puts in the box with the converter.)

PuTTY by the way can't normally cause a blue screen. It doesn't operate in the danger zone where software might cause a blue screen.

It has to be caused by either the driver or the converter itself sending something weird to the driver which causes the blue-screen to happen. In rare cases an upgrade of the USB drivers of the PC itself may be needed. It could be some weird interaction between the USB root-hub drivers and the drivers that go with the converter.

Tonny

Posted 2013-11-26T10:10:17.800

Reputation: 19 919

Tonny, your link is dead now. Do you still have it available? – Daniel – 2016-04-27T13:36:57.193

@dmd Must have it somewhere at the office. But I've got the day of today. Will see what I can do tomorrow. – Tonny – 2016-04-27T14:31:18.193

1

@dmd http://www.vangeloof.info/USB-serial_drivers.zip Please note: The webserver may take a minute to startup when it is in powersave mode. Contains Prolific, FTDI and Cisco (for USB ports on switches) drivers.

– Tonny – 2016-04-28T08:30:29.313

This makes sense. But where do I find older drivers? The prolific homepage on lists the most recent one. Is there something like a repository? – Lucas – 2013-11-26T10:59:17.423

Are you sure that the driver version you are using is 1.10. I just tested the driver version 3.2.0.0, which is from 2007 (it also crashed). – Lucas – 2013-11-26T12:06:26.937

@Lucas Seems they have cleanup their website and removed the older versions, Plugable.com has a slightly older version of the driver online. http://usbserialdrivers.com/ has several older versionw (and has also the FTDI ones).

– Tonny – 2013-11-26T12:11:46.750

@Lucas Installer itself says 1.10. Underlying driver version is v3.3.10.140 (WHQL certified). – Tonny – 2013-11-26T12:13:22.647

I installed the driver 3.3.3.114 which can be downloaded from Tonny's link above. I couldn't find the driver that Tonny is using. It seems to work better, although putty crashed, but I didn't get a bluescreen. So that's progress. – Lucas – 2013-11-26T12:55:52.383

@Lucas I can't upload/email that driver from the office (really paranoid security) and I didn't have a USB key with me. Will make a copy tomorrow and put it online for you. Will place a link here. Be patient for another 24 hours please. – Tonny – 2013-11-26T19:04:58.210

1

As promised the link to the version of the driver I use. Valid until December 4, 2013. http://we.tl/hiE0mMcSNB

– Tonny – 2013-11-27T19:10:42.097

Awesome! Thanks, a lot! I am going try it out tomorrow. – Lucas – 2013-11-27T22:08:27.637

0

It's not just PuTTY; a lot of other terminal software also semi-consistently bluescreens with USB serial ports, especially if the baudrate is not set correctly or the serial waveform is otherwise messed up. After a lot of testing, I finally switched to using TeraTerm, which looks ancient, but it seems to work reliably.

TeraTerm 4.90.0.0 + Windows 7 + Prolific driver 3.6.78.350 has never bluescreened so far, and I've used it almost daily for about a year. Unlike most other programs, it also can handle indefinitely long incoming ASCII dumps at a high-ish baudrate (115,200 bit/s) whereas other serial terminal programs that I've used, sometimes crash after just a few seconds of incoming data flood.

PkP

Posted 2013-11-26T10:10:17.800

Reputation: 321