Difference between revisions of "Serial ports"

From wiki.ferrari.mo.it
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
== Configuring serial ports ==
 
== Configuring serial ports ==
  
[BeagleBone-Black-Pinout.jpg]
+
[[File:BeagleBone-Black-Pinout.jpg]]
 +
 
 +
Set serial port 4:
 +
 
 +
config-pin p9.11 uart
 +
config-pin p9.13 uart
 +
stty -F /dev/ttyO4 sane
 +
 
 +
It works if cross-connected with port ttyO1:
 +
 
 +
cat "pippo" > /dev/ttyO1
 +
 
 +
cat /dev/ttyO4
 +
 
 +
but not with RDM6300. FUCK FUCK FUCK

Latest revision as of 20:31, 17 November 2021

Configuring serial ports[edit]

BeagleBone-Black-Pinout.jpg

Set serial port 4:

config-pin p9.11 uart
config-pin p9.13 uart
stty -F /dev/ttyO4 sane

It works if cross-connected with port ttyO1:

cat "pippo" > /dev/ttyO1
cat /dev/ttyO4

but not with RDM6300. FUCK FUCK FUCK