Multiple lost connection with MCU using RPI5

Basic Information:

Printer Model:
MCU / Printerboard: atmega2560 / Printerboard: Creality 2.5.
Host / SBC: Raspberry PI5 with RPI OS 64 Bit with Klipper / Moonraker / Moonsail
klippy.log
klippy_20240428.log (4.8 MB)

Describe your issue:

Hi all,

I am having recurring issues with connection to MCU lost during printing. The connection loss appears at different times during printing, I have seen disconnects between 40 and 90%. I have removed any USB camera, tried a different USB cables, updated all software components, reflashed the board.

RPI5 temperatures are normal, I am using an active cooling kit hooked to the Waveshare 10.1 touchscreen display and the standard 27W power supply. The connection losses are happening in idle mode as well. (see new log)
klippy (2).log (6.0 MB)

Any hints are welcome, I am getting desperate. :slight_smile:

I had those issues with my old RPI3B+, after removing the USB webcam, the issues were gone.

what Linux shell “dmesg” command is reporting when this is happened ?

Will try that next time. I have switched back to my old RPI3B+ to run some prints. No connection losses so far and no MCU disconnectes with active USB hub. Maybe I leave it like this and find a new project purpose for the RPI 5 (which is anyways overpowered for this purpose).

One main difference between both is that RPI3B+ runs on MainsailOS, RPI5 runs on RPI OS (no MainsailOS available so far)

@gaolst: I am receiving following messages:

[ 220.354185] ch341-uart ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[ 8354.175137] uvcvideo 1-1.1.2.1:1.1: Failed to resubmit video URB (-1).
[10271.523358] ch341-uart ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32

[10287.880451] WARN::dwc_otg_hcd_urb_dequeue:639: Timed out waiting for FSM NP transfer to complete on 3

[10287.881002] WARN::dwc_otg_hcd_urb_dequeue:639: Timed out waiting for FSM NP transfer to complete on 4
[10859.523461] ch341-uart ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[11138.199140] ch341-uart ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32

take a peak here, seems it’s very similar case

Thanks a lot. Looks like my two USB webcams are causing errors, which I can’t fix with a powered usb hub. Will fall back to the RPI cam on my RPI 3B+ and see if it is as stable as before.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.