Questions tagged [serial-console]

The serial console is a text entry and display device for system administration connected through a serial link.

Filter by
Sorted by
Tagged with
10
votes
3answers
26k views

Change/reset password WITHOUT monitor/keyboard

I forgot the password to my Pi, but don't have access to a compatible monitor/keyboard. I've seen methods like these but they all involve editing cmdline.txt and then booting with a monitor and ...
10
votes
2answers
12k views

What is the correct way to connect serial console on RPi4 Model B?

My config.txt has: dtoverlay=pi3-disable-bt enable_uart=1 at the end and my cmdline.txt has: root=/dev/mmcblk0p2 rootwait console=tty1 console=ttyAMA0,115200 And here's how I've connected it: I ...
9
votes
4answers
9k views

Colored console over serial connection?

I am accessing two of my Pis via a serial connection on pins 8 and 10. One of them uses a serial to USB connector for my Mac and the other uses an HC-06 which connects to my Android. The console/...
8
votes
4answers
48k views

How to identify the USB to Serial wire mismatched?

I am not alone, I experienced a similar problem as: "...instead of having the pin connections described as they should be they were mismatched so GND is described as TXD, TXD as RXD, and RXD as GDN." ...
7
votes
3answers
9k views

Debugging USB OTG Serial on the Pi Zero W

I have a whole bunch of Pi Zeros and Zero Ws. I've flashed SD cards with the latest Raspbian Jessie Lite, and I've followed the instructions at https://gist.github.com/gbaman/...
6
votes
3answers
3k views

How to install PiTFT and use to the GPIO for other usage (like serial console)

I am about to install PiTFT on a RPi model B. However, doing so, I will lose the GPIOs for other usage (like a serial cable cable, for instance). Is it possible to install a PiTFT and still have a ...
6
votes
2answers
15k views

Sending Commands from PC to Raspberry Pi via USB

I am currently doing a project with the Raspberry Pi as a controller connected to a PC via USB and using the Pi to send commands to other devices connected via GPIO pins. Simplified version: ...
5
votes
2answers
8k views

Garbage on Raspberry Pi console

Hey! There's a solution under the question, go look... I'm using the Adafruit USB to TTL connector purchased from Microcenter. I have two separate parts, and have tried them both. I've wired it 6/...
4
votes
3answers
530 views

How an I improve sshd latency over WiFi?

I am using my pi4 as a portable dev server which I ssh into from a Chromebook over my home WiFi network. What I'm seeing is that the character latency is very high, seriously impacting my developer ...
3
votes
1answer
3k views

How to start installing Raspbian using serial console?

After finding out that I could redirect serial console output, I purchased a USB to Serial TTL PL2303HX (Prolific chipset) from eBay. Next step was to connect the serial adapter to the Pi. I have ...
3
votes
3answers
5k views

connecting a USB to Serial TTL PL2303HX to Raspberry Pi

I have a USB to Serial TTL PL2303HX (Prolific chipset) that I would like to connect to my Pi. My Pi model is 2011.12. The USB to Serial adapter has 5 PINs labeled as follows: 3V3 TXD RXD GND +5V I ...
3
votes
3answers
944 views

RPi 4 — Garbage on serial console (UART) using upstream kernel

I'm experimenting with upstream kernel and now I try to get serial console working. I'm getting only garbage symbols when I try to communicate: I think it is important to notice that I only get ...
3
votes
1answer
5k views

Why am I seeing some garbage bytes at the serial console login?

When I log into my serial console using screen /dev/ttyUSB0 115200, I see some garbage in the output: �� Arch Linux 3.6.11-10-ARCH+ (ttyAMA0) raspberry login: root �Password: Login incorrect ...
3
votes
2answers
4k views

How to enable or fix the TTL console connection on the Raspberry Pi?

EDIT: Finally got it to work, see answer below for a complete guide on how to make this thing work starting from scratch I have a PL2303HX cable connected to the GPIO on 5V GND RXD TXD and it IS ...
3
votes
1answer
4k views

Rasbian: Does it include a Serial Terminal to connect to the hardware serial port?

I have RPI A+ and with its single USB port, I am not able to install any software at the moment. (I have an USB hub on order) I am trying to test new hardware I designed and want to see the output of ...
3
votes
4answers
13k views

USB to Serial converter / connect to pi?

I have a drawer full of USB/RS232 adapters... is it possible to attach the Tx/Rx pins on the serial end of this cable to the Tx/Rx GPIO pins on the pi and have console access? EDIT: Bought this: http:...
3
votes
1answer
152 views

Vintage terminal as RPi console

I want to connect a vintage 70s era terminal with a Raspberry Pi. The terminal uses a DB-25 connector and features hardware flow control (RTS/CTS/DTR etc). What would be the recommended way to hook it ...
2
votes
3answers
1k views

Disable UART such that it will not be on during the boot process, but only after

I am using UART sensors that do not allow the RPI to finish the boot when the serial console and the bluetooth are on. I did disable them using the dtoverlay=pi3-disable-bt in /boot/config.txt and ...
2
votes
1answer
460 views

How tp get USB to USB UART console without linux

I'm trying to develop my own OS kernel from scratch for the raspberry pi and I want to be able to debug my code from my computer over putty through a cable. Now I've did a little googling and found ...
2
votes
1answer
2k views

Can you hot-plug a USB to TTL Serial Cable to the Raspberry Pi?

Generally speaking, hot-plugging devices/sensors onto the GPIO pins of a running Pi is a potentially device/Pi damaging bad practice. But does that hold true for a PL2303TA chipset-based USB to TTL ...
2
votes
1answer
4k views

Connect PC to Rpi3 using serial connexion in puTTY

As specified in the title, I try to connect my Rpi 3 running Raspbian Jessie Lite from 2017-07-05 to my Windows 10 PC using puTTY on serial mode with this cable. I tried to follow a few tutorials ...
2
votes
3answers
2k views

How to free the UART pins of Raspberry pi B+ from acting as a kernel console?

I have a Raspberry Pi B+ for my project with Raspbian Jessie OS installed on it.. I have to receive "Real-time" electric current values coming from a wireless Nordic module. So to start this serial ...
2
votes
1answer
2k views

Redirecting stdout and stderr to UART

I am building my own cross-linux-from-scratch (CLFS) system for Raspberry Pi. I already build whole system, I prepared SD card and now I try to boot. I am redirecting all kernel output to serial ...
2
votes
1answer
432 views

Can the raspberry pi be used as a serial converter to debug other boards?

I have a board running linux and it doesn't boot when connecting a specific hardware, the board doesn't even load the kernel so i have to use a serial cable to see what's causing the issue, currently ...
2
votes
2answers
2k views

No communication between GPRS module RaspberryPi Zero serial GPIO ports

I am trying to use my RaspberryPi Zero to communicate with an A6 GPRS module (http://www.inkocean.in/gprs-a6-module-sms-board-gsm-gprs-wireless-data-transmission-over-sim900a) Drawing of physical ...
2
votes
1answer
475 views

recovery console - worked once only

Im attempting to setup an rpi via the recovery console ("headless mode") via Mac. I installed the serial port drivers, plugged in the cable (per instructions) and started a session via ...
2
votes
2answers
7k views

Raspberry Pi and the USB to TTL Serial Cable on Mac

I've logged all my progress here Raspberry Pi and the USB to TTL Serial Cable on Mac (unfinished). screen /dev/cu.PL2303-000013FA 115200 Here's the errors that I'm getting It just hangs with a ...
2
votes
1answer
2k views

No boot-up message through GPIO serial port

I am using a CP2102 Module to connect my PC with the Pi's GPIO port. Although there are some errors but now I can see some output every time I reboot the Pi. [ 49.739893] systemd-cgroups-agent[177]:...
2
votes
0answers
99 views

How can I reconfigure the UART on the fly?

I have a Pi Zero with Raspbian which I'd like to use as a logger device with WiFi (it's not a W, I'm using an external WiFi stick). I need the UART to communicate with a microcontroller but sometimes ...
2
votes
0answers
415 views

Lost Serial on Pi3 running Pixel

I have just upgraded to the latest OS Raspbian Pixel and my serial connection has stopped working. I know that the hardware is configured correctly as it worked pre-update. I have updated to the ...
2
votes
1answer
108 views

Journaling Error while connecting with TTL USB cable

I am currently trying to connect to my Raspberry Pi B+ from my Macbook Pro (El Capitan) using the following TTL USB cable: https://www.pi-supply.com/product/usb-ttl-serial-cable-debug-console-cable-...
2
votes
1answer
3k views

Raspberry Pi B+ serial port console garbage at boot

I am trying to login from Kubuntu 14.10 PC via Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC adapter with device id 0403:6001. Now, I connect this adapter to rPi B+ GPIO port ...
2
votes
0answers
185 views

When connecting with GNU Screen (patched version) RPi reprompts for password in kind of loop

I have a raspberry pi (running raspian) and want to connect to it with the Console Cable. I succeeded - and I tried twice, because it had worked before, but malfunctioned the second time (this is a ...
1
vote
1answer
785 views

How can I disable the serial console on distributions that use U-Boot?

I'm trying to use a Raspberry Pi with a UART peripheral and a non-Raspbian Linux distribution. It seems like most of these distributions use U-Boot. I'm running into two problems: U-Boot outputs on ...
1
vote
1answer
41 views

How to make an MS-DOS style console program?

I want to make a console input/output program on Raspberry Pi. I'm just learning C programming by making some simple guessing games and calculator applications. I want to make an interface that's more ...
1
vote
1answer
98 views

Can I use the USB connector to transfer plaintext data (via serial console / socket) to a linux PC?

I have a script on my pi that currently simply outputs some numbers from a sensor to the console, several times a second. I am using this for a demonstration, and need a way to reliably (not over the ...
1
vote
2answers
2k views

Can I use a Galileo Gen 2 6 pin FTDI 3V3 Serial to USB cable with the raspberry pi?

I have a 6 pin Serial to USB cable from FTDI (TTL-232R-3V3). Here is the spec: http://www.ftdichip.com/Support/Documents/DataSheets/Cables/DS_TTL-232R_CABLES.pdf It works on the galileo gen 2 board. ...
1
vote
1answer
1k views

Mini UART Bluetooth PAN on Pi Zero W

I followed these instructions to enable a Bluetooth PAN on my Raspberry Pi Zero W. It mostly works fine, but it occupies a serial port. I need UART (mounted at /dev/ttyAMA0) for serial communications, ...
1
vote
3answers
328 views

Reading time off of a cellular modem with python 2.7 and pyserial

TL;DR: I need to read the time off of my Hologram Nova USB cellular modem on /dev/ttyACM0 and update the system clock after the pi restarts. I'd like to do it in Python but it isn't reading the ...
1
vote
1answer
431 views

Extracting or storing a serial number during production

I am designing a product for which the Raspberry Pi is part of the system. It is basically used as the bridge for BLE sensors to communicate with cloud servers. Basically, each time my product is ...
1
vote
1answer
1k views

Receiving junk datas from the serial port of raspberry pi

Iam doing a project in which i need to read datas send from a ZIGBee through the serial port of raspberry pi. I have done removing that ttyAMA0 stuffs from /dev/cmdline.txt and commented that line in /...
1
vote
1answer
147 views

Serial console cable choice

It is my understanding that the recommended console cable for the Raspberry Pi is this one (the TTL cable). I currently have this cable. My question is weather I can use this cable to establish a ...
1
vote
1answer
286 views

How come Rpi GPSD can read GPS data using USB to serial cable, but not using Rpi serial pins TxD, RxD?

I've been trying to setup an RPi0 with a GPS module. This is the GPS antenna I'm using This is the GPS module I'm using to connect to the Pi I've tried the module with USB on my desktop (Windows 10) ...
1
vote
2answers
263 views

Serial Connection Enabled But Cannot Log in

I'm in strange situation where in the near future, I'll need serial access to my raspberry pi (via TRX, RXD and ground pins). In the mean time right now I'm trying to get the logins in order and make ...
1
vote
2answers
764 views

SIM800 UART Serial Corrupted Response Problem

I am adding a SIM800L module to a home burglar alarm system I'm building around a RPi3. I've already encountered, and overcome, the usual power problems, and I can successfully use the module to make ...
1
vote
1answer
533 views

Control RaspberryPI 3 via Serial/GPIO

So I'm working on a bit of a little project with a PI for work. I'm making the PI into a little portable NAS where i can connect it to a network and on boot, it will email me its IP Address (if it ...
1
vote
2answers
361 views

How to connect to the pi over serial [duplicate]

So I am trying to connect to my pi over serial. I have never used serial, so I hope what I have is fine. I can't order anything new. I have a USB to serial adapter (RS232 I think, you can check the ...
1
vote
1answer
1k views

Raspberry Pi 3 with Python and XBee S2 Pro

I used to use the RPi 2b and had no problems with my Xbee codes but this new RPi3 is killing me. I can not read from my XBee model S2 Pro anymore. Following instructions from other forums I have ...
1
vote
1answer
624 views

Raspbian system-wide hang after using “reset” and logging-off from the serial console

I'm looking for an explanation and/or a solution for resolving an issue when connecting to the Pi by its serial console connection: After using the "reset" command at any point during a session - a ...
1
vote
1answer
595 views

Trying to communicate over a serial connection between RPi and Picaxe 18M2 Microcontroller?

I am trying to get a serial connection between an RaspberryPi and a Picaxe 18M2 Microcontroller. I found out that I should build the following cirucit because the Rasperry and the Microcontroller have ...