Closed xiki808 closed 3 years ago
Hey xiki,
what Pi do you use? The UART can be called differenlty on different models. See https://www.raspberrypi.org/documentation/computers/configuration.html#configuring-uarts
What do you mean by header configuration?
Best, Patrik
Thank you for your reply, I'm using Pi 4. (Raspberry Pi 4 Model B Rev 1.4r)
Also thanks for the link! .. But I'm still at a loss :/
With the header configuration I meant the 2x05 header, as mentioned in the readme, under JTAG. Is this only needed, and thus plugged on the chip only when a firmware update is needed? At the moment I have it removed.
You mostly won't need to do anything with the JTAG headers.
Here's the config from my test-Pi (Pi4):
/boot/config.txt
enable_uart=1
dtoverlay=disable-bt
/boot/cmdline.txt
dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=80bd3ba5-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
Please check if you have the settings accordingly. Of course don't copy any UUID or something. Just adjust your settings to match.
After that /dev/ttyAMA0
should be visible.
Maybe check raspi-config
and enable UART there.
Oh... you should not have to "create" a config.txt
- it should be already there. Be sure to edit the files in /boot/
with sudo
.
I am in the right directory, I'm afraid the clash can be due to running Debian 11 rather than Rasbian. Even cmdline.txt is missing in my case. I'll try out what you sent.
This is what I currently have, not sure but maybe you can spot something weird..
Try /dev/ttyS0
- but no guaranty. I did not do anything with debian on the Pi, yet.
Maybe you can use raspbian to see if eversthing works otherwise.
Also you could check where the Pi UARTs reside on a debian installation.
Switched to rasbian and it worked with no probs
Hi! I'm quite new to these type of configurations, and I'm sure I'm missing something.
I am running Debian 11 on my raspberry pi downloaded from here: https://raspi.debian.net/tested-images/
I have SSH access to my pi, I created config.txt in /boot directory with the following contents:
When I restart my pi I cannot find /dev/ttyAMA0.
Also what should be the header configuration? Should I just take that off?
Thank you!