- Serial0 ttyAMA0 is the UART on the 40pin GPIO
- Serial1 ttyS0 is a Serial over USB
Klipper has nothing to do with them, it’s a Linux thing. Klipper just communicates over one or the other.
Ok. The SKR Pico does not answer.
Please note that I don’t have a Pi 2. Only Pi’s 3 and 4. And zeros.
In any case, the serial port has to be enabled in raspi-config, and the boot TTY terminal deactivated IIRC. In raspi-config, Interface Options → Serial, anser No to “Would you like a login shell to be accessible over serial ?”, On the Pi 3, it seems to me Bluetooth also has to be deactivated (not using it, I always disable it (config.txt or raspi-config). There are some differences between Pi 2 and Pi 3 in the way they manage the serial port (TTL level “RS232”).
In config.txt, somewhere you should have :
enable_uart=1
dtoverlay=disable-bt
If everything is fine there, but still on the Pi :
- wiring mistake (wrong pins on the GPIO) ; very common with experimented tinkerers because it is the last thing they will think of…
- cooked GPIO pin
You could see if something happens on the Pi Tx, using a LED and a resistor. Resistor is mandatory, whatever some folks say… Or a scope if you have one. Then the Rx pin on the SKR side : is wire conducting electricity ? Yes it is laughable, but when crimping wires, we sometime crimp the insulation instead of the strands, after pushing the wire a bit to far. Ask me how I know, and how many hours I lost in my life with this kind of foolish thing !
On the SKR side now, assuming the Pi is fine, hardware, configuration and software.
Wrong options while compiling the firmware (I don’t find the instructions and menus always super clear, while I’ve been coding, compiling and flashing for years and even decades… BTW english is not my native language…).
RP2040 + Communication interface = Serial (on UART0 GPIO1/GPIO0) + No bootloader.
Then flashing ; this is how I do it, because I find it super easy. I copy the binary to the PC, after doing the magic woowoo with the jumpers etc, and plug the SKR Pico (or Pi Zero) into the PC (powered by USB, disconnected from the Pi)… The SKR appears as a USB drive, I copy the binary to this new drive. The new firmware is detected and flashed, then erased as soon as it is flashed. Then I reconnect everything for normal use. I never flashed using the Pi. Tried one time, failed, then took everybody to the PC. Aslo did it this way for the Picobilical (2040 inside).
Not recommanded, but makes many things much easier : one of the first things I do on a Pi is installing Samba, and sharing the root folder. Then enabling SMB 1 in Windows. So the entire Pi SD card can be accessed from the PC. It didn’t make by house catch fire, but who knows, in the future…