Q: I'm not sure my PC serial port is working. How can I test it?
The most reliable way to test your serial port is to view the ouput on an oscilloscope. The TX and RX signals are on pins 2 and 3 of DB9 connectors (TX is on pin 3 of DB9M and pin 2 of DB9F sockets).
If you don't have an oscilloscope, try the paper clip loopback test:
Bend a paper clip open so that the ends are pointing in the same direction.
Stick the ends of the paper clip into sockets 2 and 3 of the DB9F socket of your serial port cable.
Run a terminal program on your PC and open the serial port you are testing.
Type some characters. You should see the characters appear on the screen (they will appear double if you have local echo enabled)
Remove the paperclip from the DB9 socket.
Type characters again. This time you should see no characters echoed to the screen (if you're using local echo, you should see one character instead of two).