testing UART ports
Hi all,
I am using embedded linux, with busybox and ash shell. I connected 2 uart ports following the manual, but I want to test if I can send and receive between them. So I thought I open 2 minicoms and test it, only problem is that minicom is not installed.. Is there any other way to send and receive via uart ports with only the command line? Thanx in advance, Jurrian |
In one shell:
Code:
cat > /dev/ttyS0 Code:
cat /dev/ttyS1 --- rod. |
Quote:
Thanx for your answer, Jurrian |
No. You want to read the receiving device. Redirecting standard output to it would make it a sender.
--- rod. |
I understand,
I tried your test, but I get a clean ttyS1, but my ttyS0 does have the input I inserted, that indicates that they are not correctly combined right? Thanx, Jurrian |
Maybe sounds silly, but do you use a cross cable? Sine the Rx of ttyS0 must be the Tx of ttyS1 and vice-versa
|
All times are GMT -5. The time now is 11:07 PM. |