read uart my omega?
-
hi all,
I have sent data via uart by using echo "Message" > /dec/ttyUSB0 but can't receive data.
any one could receive data via uart on onion omega 2 using :
cat > /dev/ttyUSB0
help please ....
-
Address uart is /dev/ttyS1
-
@Ammar-Assad
Send from the Terminal of a Linux PC to UART1 of Omega2
(Does /dev/ttyUSB0 exist on your PC? Check it withdmesg | grep tty
!)
echo "Message" > /dev/ttyUSB0
Receive on UART1 of Omega2
cat /dev/ttyS1
-
@György-Farkas said in read uart my omega?:
dmesg | grep tty
I have tested
ls /dev/tty*
and ttyUSB0 existed only when connecting usb to serial cable
-
@Ammar-Assad said in read uart my omega?:
I have tested
ls /dev/tty*
and ttyUSB0 existed only when connecting usb to serial cableYes.
You want to send a "Message" to an Omega2 using the
echo
-cat
commands via some serial connection.
You have got an Omega2, probably a Linux box, probably a USB-to-Serial cable... AND ...Please let us know the details too.