We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

gwu22
Posts: 4
Joined: Mon Apr 18, 2022 3:01 pm

Minicom/serial/ttyS0 issue on Raspberry Pi

Thu Sep 08, 2022 5:04 am

Hi,

I am using RPI GPIO TX, RX, and GND pins to connect to a serial port on a network device. It was working months ago with minicom but now I am having a strange problem. I tried using minicom, screen, cu but all are having the same problem. Its almost like the RPI console is 'leaking' into the serial port input. I get text such as 'Login incorrect' and 'Raspbian GNU/Linux 11 rpi3bplus ttyS0' being sent without my input to the network device. The network device keeps returning 'Unknown command' and then starts having an offset scrolling issue.

I am using the following minicom command: minicom -b 9600 -o -D /dev/ttyS0

I've attached a screenshot showing an example.

What may be causing this? How do I fix it?

Thanks.
Attachments
MinicomIssue.png
screenshot
MinicomIssue.png (54.97 KiB) Viewed 1009 times

cleverca22
Posts: 9585
Joined: Sat Aug 18, 2012 2:33 pm

Re: Minicom/serial/ttyS0 issue on Raspberry Pi

Thu Sep 08, 2022 5:16 am

is there a console=serial0 in /boot/cmdline.txt?

gwu22
Posts: 4
Joined: Mon Apr 18, 2022 3:01 pm

Re: Minicom/serial/ttyS0 issue on Raspberry Pi

Thu Sep 08, 2022 5:20 am

cleverca22 wrote:
Thu Sep 08, 2022 5:16 am
is there a console=serial0 in /boot/cmdline.txt?
There was! I removed it and everything is working again!

Thanks so much!

Return to “General discussion”