Results 1 to 2 of 2
Hello there I am a newbie trying to prove the working of RS-232 Full modem and also one RS-422( RX,TX,RTS,CTS) These 2 ports are on a custom designed board and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-19-2011 #1
- Join Date
- Sep 2009
how to prove working of RS-232 full modem working PC to PC & LOOP BACK
Hello there I am a newbie trying to prove the working of RS-232 Full modem and also one RS-422( RX,TX,RTS,CTS)
These 2 ports are on a custom designed board and I need to prove the working.I am able to confirm the working at register level but I need to prove the working using softwares like Minicom or any other custom program.
How can I prove the working of these ports from one PC to a different PC using DB 9 connections and LOOP BACK too
Can someone help me with this ..Do I need to use any extra hardware to prove the working of this in Linux.
Thanks and regards
Last edited by getasif; 08-19-2011 at 05:59 PM. Reason: additional info
- 08-29-2011 #2
You'll need a nullmodem aka crossover cable where Tx/Rx and RTS/CTS are crossed (between 2 PCs).
Then, you'll need to know or guess the ports, Usually, on Linux COM1 is /dev/ttyS0. You don't minicom. You can send with the shell command:
echo "text" > /dev/ttyS0
cat ascii_file.txt > /dev/ttyS0
and receive with
cat < /dev/ttyS0Bus Error: Passengers dumped. Hech gap yo'q.