Jump to content

Shane

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Shane

  1. 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:

    opi5-usb-tty-USB0-screen-cs8.png

    If i change it to cs7 (screen /dev/ttyUSB0 cs7), the output is still something I cannot understand:

    opi5-usb-tty-USB0-screen.png

    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?

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines