Can't upload firmware to printer

Why do you have telnet involved?

The communication between Klipper and the MCU is binary. You do not see Gcodes etc.

Most important is, that Klipper establishes a proper connection to the printer with nothing inbetween.