Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How yo check if Serial Port ( COM 1) working

Status
Not open for further replies.

bronano

Technical User
Apr 19, 2011
87
ME

How to check if Serial Port ( COM 1) is working properly.
In Device manager there is no yellow sign – all seems O.K.
Check Device properties for COM 1 – no conflicts , device is working properly.
I’ve noticed problem when connecting card reader - card is not recognized.
Please advice me if exist any simple way to check Serial Port COM1 functionality.
 
Technically speaking, Windows does not automatically detect hardware plugged into serial ports, like COMs.

You would need to setup the drivers from the add hardware wizard for the device so windows can see and use it.

Do you have drivers for the card reader?
What make and model of card reader is it?
If you connect say a serial mouse to that port can it be used?



----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Behind the Web, Tips and Tricks for Web Development.
 
is the serial port configured for the device in question? something like baud 9600 8,n,1 which would translate to 9600 bits per second,8 bit word,no parity bit,and 1 stop bit. May also have settings for flow control. hardware,software, or no flow control. Also check that com1 is associated with serial port one.

Check here for making a loopback plug, and performing the loopback test.
 

Thanks for answers.
My problem is to define what is causing the problem – Card reader , or COM 1 Port.
I guess Card reader is faulty, but to be sure I need to test it on another computer what I’ll do soon.
All settings of COM1 are O.K.
 
You basically short pins 2&3 on the serial port connection then pull up hyperterm, tell it to use the port and anything you type should show up on the screen.

That covers the transmit and receive. There are also some handshake issues but if R/W is good you will at least be at a starting point.

Pins 2&3 are on the 5 pin row, middle (3) and the one to the right of it.

Using hyperterm you might be able to get a response back from the card reader if you type in any of the control codes it uses.

The suggestion to use a serial mouse is good, if you have one.


Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
Thanks very much for assistance.
Checked programmer on another comp and this one is faulty.
Warmly hope Serial Port ( COM 1) is O.K.- will see.
 
Is it one of those old PCs that as 2 COM ports? If so, you could use COM2 instead of COM1.
 
@xwb,
Yes my PC is old one with 2 COM ports.
I'll try what you suggest , thanks a lot
 

In mentime bought one USB Serial Port Device and on my big surprise my card reader device works.
Conclusion this device is faulty one, I drawn from test Card reader on another comp and this one was showing two led lights on ,but in normal state these led should be off.
So I change the Standard RS 232 cable, but result was as before- no fix.
Anyhow what rest is my Serial port COM1 who probably not working properly.
Goggled searching for simple method to test it, but all what I found didn't help me.
I have Null Modem cable, Hyper terminal installed,so please if you could suggest some simple program or whatsoever I can use to test and repair Serial Port COM1 specially because USB Serial port device works very slowly.
Thanks for any assistance
 
Serial port cards (used to be) very cheap. If they still are, buy and install one.
 
@webrabbit,
your advice is O.K.This can be solution if this card is available on the market.
What is confusing me is a fact I can not test this Communication Port and there is no application suitable to do this job.
 
Run hyperterm on com1.

With the null modem cable attached to com1:, on the other end you short together either the pins or socket # 2&3.

If it is pins the numbering is 1 2 3 4 5
6 7 8 9

If it is socker it is 5 4 3 2 1
9 8 7 6

A 25 pin/socket connector has the same order from pin 1 except it is 1-13 and 14-25.

You can use a paper clip as the jumper for a socket.

There are also handshake pins that are used with devices but hyperterm, IIRC, will communicate without them being active.

Normal loopback would short 4&5 and 6,8,&20, sometimes just 6&20.

If you will need to test often you might consider getting a 25s or 9s, whichever size the com port will take and permanently make a loopback plug.

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
The link I posted back in June, shows how to create the loopback plug for testing the port, and also the commands and different programs to use to test, using the plug.
 
@edfair,
Thanks for help.
Using Null Modem cable on socket end shorted #2&3>
Run Hyperterminal , done all as explained , but was unable to type anything in Hiperterminal window.
Try also to transfer file or capture text, but after while received "connection timeout" and at the end "Error limit exceeded"
On the lower left part of the Hyperterminal window is shown as "Connected"
Don't know what to do else.
 
I don't have a system set up now to look at the hyperterm requirements. I'll post back tomorrow after I've modified one.

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
Today I connected my card reader to COM2 hopping if COM 1 is faulty – COM 2 should be O.K.
At the beginning all looks fine, led didn’t light, but after start Card reading on COM 2, received message “Error….
Also try with other Card Reader – same result.
All this bring me to conclusion my Serial Card two ports is gone.
Only one thing what I would like to define is to precise what caused this – hardware mater or software- something related to Windows XP SP3 .
 
it also could be just simply that the COM ports are turned off in the BIOS...

check the BIOS if there are any settings concerning the COM Ports...


and yes, COM ports can go faulty, specially on venerable equipment, e.g. ESD damage...

Ben
"If it works don't fix it! If it doesn't use a sledgehammer..."
How to ask a question, when posting them to a professional forum.
Only ask questions with yes/no answers if you want "yes" or "no"
 
When you run hyperterm the connected at the bottom left only indicates that there is a com port recognized, it has nothing to do with anything possibly connected on the other side of the chip.

Hyperterm takes keyboard input and puts it out to the com port and takes stuff off the com port and puts it on the display.

It is probable that you got no display on the screen when you shorted 2&3 because the flow control setting was set to hardware and you didn't have the handshake lines connected. On the test setup it required 4&5 (25 pin connector) to work in hardware handshake but 2&3 worked without the 4/5 jumper while in Xon/Xoff or none.

the test setup:
DELL GX270 COM1:
modem cable > 25p-25p gender changer > null adapter > 232 patch
2&3 shorted on the patch adapter, no other wires inserted
HT set for com1: 2400 N81 no handshake

If you have access to a VOM it might be worth a few minutes to ohm out the end to end connections to insure you are dealing with a null cable with minimal handshaking available.

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
@edfair,
Thanks for reply.
The flow control setting was set to "none"
I have 9 pin connector and I suppose your advice in previous post was done properly for Loopback test of 9 pin RS 232 connector and Null Modem using Hyperterminal.HT set for com1: 2400 N81 no handshake

If you think that Device report for those two COM (1 and 2) ports could be useful to define what create this problem, I am ready to post it here.
By the way- COM3 on which is connected internal Modem 56k , works fine.
Checked the BIOS but, didn't find where are settings for Port

 
I was using a 9 to 25 modem cable but 2&3 fit for 9 pin cables too.

There would be a different set of pins for handshaking but doesn't matter with none.

There is a piece of test equipment, a signal level telltale, that lights up LEDs when the signal levels are right. You could also use a VOM to test the voltage on the Tx signal, pin 3 on a 9 pin connector, looking for -12 w/respect to pin 5. The signals coming out of the UART are 0 & 5 but then go through a conversion to +/- 12v in a line driver. Low voltage coming out of the driver causes the receiver on the other end to not flip as there is a dead zone generally +/-3v.

Working with 232 can be frustrating, as you now know.

If the com ports were disabled in the BIOS you would not have the connected in HT.

On modern boards the com ports and the line driver/line receivers are built into a do-everything chip. Other than turning off the chips in the BIOS and installing a dual serial card in an ISA slot there isn't much you can do. And there is a good possibility you don't have ISA slots.



Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top