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 Name | Release Date | Version | File Size |
---|---|---|---|
PL2303_CableTest_v2.2.1.1.zip | 2010/02/25 | 2.2.1.1 | 753.78KB |
COM PORT STRESS TEST | March 11, 2014. | 1.4.3 build 907. |
Hardware
The following items were made
Name | Item | Circuit | Function |
---|---|---|---|
Loopback Connector | To test individual Serial Port | ||
NULL MODEM adapter | To connect |
Tested USB Serial Cables
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. |
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 KB/s | E |
---|---|---|---|---|---|---|
115,200 | 2.69 | 0 | ||||
38,400 | 2.84 | 0 | ||||
38,400 | 2.55 | 14 | ||||
38,400 | 2.52 | 5 | ||||
38,400 | 2.34 | 7 | ||||
38,400 | 2.37 | 0 | ||||
38,400 | 1.95 | 0 | ||||
38,400 | 1.99 | 0 | ||||
38,400 | 2.35 | 0 | ||||
9,600 | 1.01 | 0 |
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.