Testing the Serial Port

Introduction

Ever since computers were invented, the ability to communicate with them was paramount. The RS 232 serial port became the standard way to do this. Modern computers now use USB ports to communicate together be it a camera, mobile phone or a hard disk drive.

There are programs on the internet that test Serial Ports. The object of this section is to use these programs to test the different USB Serial cables that are candidates to use with Eazylink2.

64 bit

Software

The following windows software was downloaded. 

File NameRelease DateVersionFile Size
PL2303_CableTest_v2.2.1.1.zip2010/02/252.2.1.1753.78KB
COM PORT STRESS TESTMarch 11, 2014.1.4.3 build 907.  

Hardware

The following items were made

NameItemCircuitFunction
Loopback
Connector
To test
individual
Serial Port 
NULL MODEM
adapter

To connect
two Serial
Ports
together

Tested USB Serial Cables

Manufacture

Chip set


PL2303HX
PLUGABLE

CH340

FT232R
TRONIX 

FT232R
CHIP-10X 


TUSB3410

Picture
Where
Purchased
 
COM Port4 365
8/6/14 inc.
VAT £ p+p 
£11.59 £9.98£19.18£23.99

Test & Results

Run as administrator

It was found that unless these programs were "Run as administrator," errors and a Blue Screen Of Death were encountered.

PL-2303 - Cable Test Program Ver 2.2.1.1

This program tests two serial ports, by sending data from one port to the other, changing each parameter settings and reporting the result of each test.

This screen shot shows a successful test
provided the Check Signal Events
was un-ticked.

The RTS Signal testing ... section failed.
This was due to the cable was a 3 wire type.
This only connects the data pins together.

The results of 2 USB Serial Cable connected together with a NULL MODEM Cable shows they are all OK.

Both FTDI cables,

Keyspan & Prolific

Keyspan & FTDI

Com Port Stress Test

This program either tests COM Ports individually, or with 2 COM ports as above.

Dual USB Serial Cable Results

These results shows the test running at different baud rates with RTS and CTS enabled.

If the COM port is faulty, error messages are generated and recorded into a log file.

Both FTDI Serial cables

115200 baud

This is not using any handshaking and has no errors

This is using RTS & DTR and has no errors

38400 baud

This is using RTS & DTR and has no errors

9600 baud

This is using RTS & DTR and has no errors

Keyspan & Prolific Serial cables

38400 baud

This is using RTS and DTR, reports errors to start with and then is stable.

Keyspan & FTDI Serial cables

This is using RTS and DTR, reports errors to start with and then is stable.

Prolific & FTDI Serial cables

This is using RTS and DTR, reports errors to start with and then is stable.

Single USB Serial Cable Results

These results shows the test running at 38400 baud with RTS and CTS enabled. There are different values in the port settings. This had no effect on the speed of transfer. 

USB Serial Port (COM3) FTDI Results

Keyspan USB Serial Port (COM5) Results

USB Serial Port (COM6) FTDI Results

There are no errors. 

09/06/2014 Test Results

Just to make sure that the test are the same I ran the same test on all 4 cables one after the other at the same speed.

Keyspan

Tronix FTDI

CHIPI-X FTDI

Prolific

There were no errors.

If I ran the Keyspan at a higher speed or with another serial cable, I would get a blue screen.

Tabulated Results

So that the results may be compared in a table, here they are but they need checking:-

Manufacture

Chip set

SPEED SET

PLUGABLE


TRONIX 

CHIP-10X 

TUSB3410

SPEED
OBTAINED

KB/s 

E
R
R
R

115,200  2.690

38,400

  2.840

38,400

  2.5514
38,400  2.525
38,400  2.347
38,400   2.370
38,400   1.950
38,400   1.990
38,400   2.350
9,600  1.010

Conclusion

All cables pass the individual single speed test with hardware handshaking.

Irrespective at what speed they are set at, the fastest speed is 2.35 KB/s

When running the Keyspan cable with COM Port Stress Test, I get the Blue Screen Of Death after around 10 seconds.

We know that the Keyspan adapter works but if the FTDI adapter can be used instead, it is half the price.

web analytics