How can I make sure my serial port is working in Windows?
To check whether or not an RS-232 serial port is working, perform an RS-232 loopback test by doing the following:
- If your serial port is not female, convert it by taking a female/female cable or gender changer and plugging it into the serial port.
- Take a metal paperclip or wire and cross pins 2 and 3. If you look closely at the female end, the pins should be numbered.
- Open a telnet session on the COM port number of the device that you are testing. To find out the COM port number, refer to the following FAQ: https://www.startech.com/faq/com-port-listing-windows.
Note: To open a telnet session on the COM port, you need a telnet client like PuTTY or Hyper Terminal. Windows XP comes with Hyper Terminal.
- When the session is open, anything you type into it you should see. The loopback test fails when you cannot see what you are typing.
If the loopback test fails, make sure that the serial cable or gender changer that you are using works and that the adapter is in the correct port.
You can check multiple ports at the same time by opening multiple sessions, putting the loopback adapter on one port, and trying to type into each session. When you can see what you are typing, you know that the COM port is working and you can see which port number the physical serial port is. Close the window for the port that you just tested to speed up the testing of the remaining serial ports.
For products related to this article, click here.