Skip to main content
2 of 2
Added info from comment
Ingo
  • 42.6k
  • 20
  • 85
  • 205

Cannot connect to UART via USB

I am trying to connect to a raspberry pi zero (and a pi3) via uart and USB (USB to TTL YP-01)

I am connected to pin 8, pin 10 and a ground. tx -> rx, rx -> tx

I have tried everything on this url

How do I make serial work on the Raspberry Pi3 (PiZeroW, Pi4 or later models)

and I still get nothing in minicom

cmdline.txt:

dwc_otg.lpm_enable=0 console=tty1 console=ttyUSB1,9600 root=PARTUUID=aae5ae38-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait

config.txt:

dtoverlay=pi3-disable-bt
enable_uart=1

ls /dev:

localhost: # ls /dev/
acpi_thermal_rel  fuse                      log     loop26  loop44  loop62              null      snd     tty2   tty38  tty56   ttyS16  ttyS6    vcs6    vfio
autofs            gpiochip0                 loop0   loop27  loop45  loop63              nvram     stderr  tty20  tty39  tty57   ttyS17  ttyS7    vcs7    vga_arbiter
block             hidraw0                   loop1   loop28  loop46  loop7               port      stdin   tty21  tty4   tty58   ttyS18  ttyS8    vcsa    vhci
bsg               hidraw1                   loop10  loop29  loop47  loop8               ppp       stdout  tty22  tty40  tty59   ttyS19  ttyS9    vcsa1   vhost-net
btrfs-control     hidraw2                   loop11  loop3   loop48  loop9               psaux     system  tty23  tty41  tty6    ttyS2   ttyUSB0  vcsa10  vhost-vsock
bus               HID-SENSOR-2000e1.2.auto  loop12  loop30  loop49  loop-control        ptmx      tpm0    tty24  tty42  tty60   ttyS20  ttyUSB1  vcsa2   video0
char              hpet                      loop13  loop31  loop5   lp0                 pts       tpmrm0  tty25  tty43  tty61   ttyS21  udmabuf  vcsa3   video1
console           hugepages                 loop14  loop32  loop50  lp1                 random    tty     tty26  tty44  tty62   ttyS22  uhid     vcsa4   watchdog
core              hwrng                     loop15  loop33  loop51  lp2                 rfkill    tty0    tty27  tty45  tty63   ttyS23  uinput   vcsa5   watchdog0
cpu               iio:device0               loop16  loop34  loop52  lp3                 rtc       tty1    tty28  tty46  tty7    ttyS24  urandom  vcsa6   wmi
cpu_dma_latency   iio:device1               loop17  loop35  loop53  mapper              rtc0      tty10   tty29  tty47  tty8    ttyS25  usb      vcsa7   xconsole
cuse              iio:device2               loop18  loop36  loop54  mcelog              sda       tty11   tty3   tty48  tty9    ttyS26  userio   vcsu    zero
disk              iio:device3               loop19  loop37  loop55  media0              sda1      tty12   tty30  tty49  ttyS0   ttyS27  v4l      vcsu1
dm-0              iio:device4               loop2   loop38  loop56  mei0                sda2      tty13   tty31  tty5   ttyS1   ttyS28  vcs      vcsu10
dm-1              iio:device5               loop20  loop39  loop57  mem                 sda3      tty14   tty32  tty50  ttyS10  ttyS29  vcs1     vcsu2
dri               initctl                   loop21  loop4   loop58  memory_bandwidth    sda4      tty15   tty33  tty51  ttyS11  ttyS3   vcs10    vcsu3
drm_dp_aux0       input                     loop22  loop40  loop59  mqueue              serial    tty16   tty34  tty52  ttyS12  ttyS30  vcs2     vcsu4
fb0               kmsg                      loop23  loop41  loop6   net                 sg0       tty17   tty35  tty53  ttyS13  ttyS31  vcs3     vcsu5
fd                kvm                       loop24  loop42  loop60  network_latency     shm       tty18   tty36  tty54  ttyS14  ttyS4   vcs4     vcsu6
full              lightnvm                  loop25  loop43  loop61  network_throughput  snapshot  tty19   tty37  tty55  ttyS15  ttyS5   vcs5     vcsu7

connection string:

minicom -c on -D /dev/ttyUSB1

stty -F /dev/ttyUSB1:

speed 9600 baud; line = 0;
-brkint -imaxbel

What is the trick to bring up uart on a USB ttl?

UPDATE with info from a comment:
How can I run raspi-config if I cannot even get to the command line? I am trying to connect to the serial console.

brad
  • 107
  • 4