Serial Port Problem

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hello, I am using my PC comm port to talk to another system which uses
the same
(industry standard 8250/16450) UART.  When I remove the serial cable
and re-install it,
the system stops receiving chars from the PC.  Another words, no many
how many times
I hit the ENTER key on my PC terminal, the system doesn't respond
(using Procomm I
see the SD lite flash when I hit ENTER, but the system doesn't
respond).  However, when
the system outputs a message, this still shows up on the PC side.
Removing and re-
installing the cable seems to stop transmit but doesn't effect receive
from the PC point-of-

The only way I've found to workaround this problem is to reset the
system (not the PC, the
external system).  This always fixes it, but I would like to know if
there is any other way to
get the serial port to work again without having to reset the system?
Thanks for any help
you can provide.

Re: Serial Port Problem

raycope wrote:
Quoted text here. Click to load it

Do you have flow control enabled and configured properly at both ends?
Are the ports set for proper handling of the handshaking signals, with
none left unconnected or grounded?  If all those are correct, try a
diagnostic with a loopback plug.

If you're using the Windows version of Procomm, you may need to change
to a 16550A or other buffered UART instead of the 8250/16450.

I suggest you not plug or unplug the serial cable with the power on
since modern serial ports lack the rugged buffers found in older ones.
Damage is not always complete and may destroy charge pumps or output
transistors and still allow operation at lower speeds.

Re: Serial Port Problem

The system is setup for **software flow control** which is somewhat
unusual but a requirement for our application.  Is there something I
can do from the terminal side (using Procomm or HyperTerm) that will
make it work again without reseting system?  That's
the kind of solution I'm looking for.  Thanks for any
advice you have.

P.s.- For what it's worth, the RS233 drivers are pretty robust and I
have never had a problem damaging a part by removing or installing

Re: Serial Port Problem

I ahve very limited experience with Procomm and it was a long time ago.

However I have programmed serial ports with VB6 using the MSComm object. I
too have had similar stability problems, my solution was to open the port,
transmitt or recieve, and then close the port, and do this each time data
needed to be transferred. This solved my problem because the instability
stemmed from trying to open and already open port (due to some sort of
interruption like the cable being diconnected) or having the out buffers not
flushed because of some sort of interuption.

I do not know if there is a solution for you in the above paragraph if you
are using Procomm, however now you know you are not alone in this problem.
(for whatever that's worth)

Quoted text here. Click to load it

Site Timeline