Shane
-
Posts
3 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by Shane
-
-
Hi:
with command: screen /dev/ttyUSB0 1500000
screen /dev/ttyUSB0 1500000,cs7 shows similar garbled output too.
-
Hi,
Armbian_23.02.2_Orangepi5_jammy_legacy_5.10.110 works well with my OPI5. I can ssh to and play with it from my Debian desktop. I don't have HDMI monitor so I want to try serial port.
i'm using USB-TTL cable to connect OPI5 to my Debian box.
Then in Debian bash I use this command to connect to the port
screen /dev/ttyUSB0
Then power on the OPI5. The output is garbled:
If i change it to cs7 (screen /dev/ttyUSB0 cs7), the output is still something I cannot understand:
The stty command and output:
$ sudo stty --file=/dev/ttyUSB0 --all speed 9600 baud; rows 0; columns 0; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0; -parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc
I'm sure the USB-TTL cable lines are plugged as expected:
green line to RX, white line to TX, black line to GND. TX/RX/GND are as the offical PIN definition: http://www.orangepi.org/img/pi-5-pin-definition.png
Any idea what went wrong?
Orange Pi 5 USB-TTL Output Garbled Characters
in Orange Pi 5
Posted
Thanks. Issue resolved after buying a FT232 USB-TTL cable.