Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Aug 2010
How to ensure reliable RS-232 connection?
You're already using the best tool for this, minicom. Have you tried fiddling with the settings? I've not touched a serial port for years, but here's what I can suggest from memory.
I'd guess that your baud rate is set correctly, but that you're using the wrong parity or stop bits count or, as you suggest, it could be flow control. If you don't have details of the connection speed, you could try patiently setting each manually and then testing.
You may also find that the drivers for your USB-RS232 converter may be a little ropy. You could try on a real serial port (this could be difficult, I know).
The other thing to look at is your RS232 cable. I remember, back in the day, having all kinds of connection problems with a home made cable. It could be that the hardware control lines aren't connected properly, so the data is seen but the CTX/RTX isn't being caught. Buying one from a shop really helped sort my issues out, iirc, but this was fifteen or more years ago.Linux user #126863 - see http://linuxcounter.net/
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
If the speed, parity, and flow-control (hardware or software) is correct, then there should not be errors. However, if you are running 8 bits and no parity, then interference on the wire will cause this sort of problem, flow control notwithstanding. What are your port settings?Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!