Lost communication with MCU

Hi I already try a new USB cable as suggested in the Discord chat but keep having the same issue my kingroon KP3S keep stopping in the middle of a print with the message Lost communication with MCU firmware reset. here are the logs. I don’t think the pi is the problem because I have other printer on clipper connected to the same pi with no problem at all. any idea what could be the problem?
logs.zip (515.6 KB)

Ther kern.log is interesting. There are tons of

Apr 12 20:53:36 klipperpi kernel: [122381.253394] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device
Apr 12 20:59:32 klipperpi kernel: [122736.687438] usb 1-1.3: USB disconnect, device number 29
Apr 12 20:59:32 klipperpi kernel: [122736.989016] usb 1-1.3: new full-speed USB device number 30 using xhci_hcd
Apr 12 20:59:32 klipperpi kernel: [122737.128460] usb 1-1.3: New USB device found, idVendor=1d50, idProduct=614e, bcdDevice= 1.00
Apr 12 20:59:32 klipperpi kernel: [122737.128482] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 12 20:59:32 klipperpi kernel: [122737.128494] usb 1-1.3: Product: stm32g0b1xx
Apr 12 20:59:32 klipperpi kernel: [122737.128505] usb 1-1.3: Manufacturer: Klipper
Apr 12 20:59:32 klipperpi kernel: [122737.128516] usb 1-1.3: SerialNumber: 4A000E000550415339373620

in rapid succession. Looks like some USB problems

That could be because i turn off the printer every night?

Apr 11 15:55:20 klipperpi kernel: [18083.965534] usb 1-1.3: USB disconnect, device number 17
Apr 11 15:55:20 klipperpi kernel: [18084.273564] usb 1-1.3: new full-speed USB device number 18 using xhci_hcd
Apr 11 15:55:20 klipperpi kernel: [18084.413070] usb 1-1.3: New USB device found, idVendor=1d50, idProduct=614e, bcdDevice= 1.00
Apr 11 15:55:20 klipperpi kernel: [18084.413084] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 11 15:55:20 klipperpi kernel: [18084.413091] usb 1-1.3: Product: stm32g0b1xx
Apr 11 15:55:20 klipperpi kernel: [18084.413097] usb 1-1.3: Manufacturer: Klipper
Apr 11 15:55:20 klipperpi kernel: [18084.413103] usb 1-1.3: SerialNumber: 4A000E000550415339373620
Apr 11 15:55:20 klipperpi kernel: [18084.422406] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device
Apr 11 16:00:20 klipperpi kernel: [18384.553599] usb 1-1.3: USB disconnect, device number 18
Apr 11 16:00:20 klipperpi kernel: [18384.856332] usb 1-1.3: new full-speed USB device number 19 using xhci_hcd
Apr 11 16:00:21 klipperpi kernel: [18384.995756] usb 1-1.3: New USB device found, idVendor=1d50, idProduct=614e, bcdDevice= 1.00
Apr 11 16:00:21 klipperpi kernel: [18384.995782] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 11 16:00:21 klipperpi kernel: [18384.995799] usb 1-1.3: Product: stm32g0b1xx
Apr 11 16:00:21 klipperpi kernel: [18384.995812] usb 1-1.3: Manufacturer: Klipper
Apr 11 16:00:21 klipperpi kernel: [18384.995825] usb 1-1.3: SerialNumber: 4A000E000550415339373620
Apr 11 16:00:21 klipperpi kernel: [18385.007216] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device
Apr 11 16:05:53 klipperpi kernel: [18717.656950] usb 1-1.3: USB disconnect, device number 19
Apr 11 16:05:54 klipperpi kernel: [18717.957245] usb 1-1.3: new full-speed USB device number 20 using xhci_hcd
Apr 11 16:05:54 klipperpi kernel: [18718.096712] usb 1-1.3: New USB device found, idVendor=1d50, idProduct=614e, bcdDevice= 1.00
Apr 11 16:05:54 klipperpi kernel: [18718.096725] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 11 16:05:54 klipperpi kernel: [18718.096732] usb 1-1.3: Product: stm32g0b1xx
Apr 11 16:05:54 klipperpi kernel: [18718.096738] usb 1-1.3: Manufacturer: Klipper
Apr 11 16:05:54 klipperpi kernel: [18718.096744] usb 1-1.3: SerialNumber: 4A000E000550415339373620
Apr 11 16:05:54 klipperpi kernel: [18718.106055] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device
Apr 11 16:13:07 klipperpi kernel: [19151.639530] usb 1-1.3: USB disconnect, device number 20
Apr 11 16:13:08 klipperpi kernel: [19151.948582] usb 1-1.3: new full-speed USB device number 21 using xhci_hcd
Apr 11 16:13:08 klipperpi kernel: [19152.088223] usb 1-1.3: New USB device found, idVendor=1d50, idProduct=614e, bcdDevice= 1.00
Apr 11 16:13:08 klipperpi kernel: [19152.088251] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 11 16:13:08 klipperpi kernel: [19152.088270] usb 1-1.3: Product: stm32g0b1xx
Apr 11 16:13:08 klipperpi kernel: [19152.088285] usb 1-1.3: Manufacturer: Klipper
Apr 11 16:13:08 klipperpi kernel: [19152.088300] usb 1-1.3: SerialNumber: 4A000E000550415339373620
Apr 11 16:13:08 klipperpi kernel: [19152.095737] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device

According to the timestamp the board got disconnected and reconnected like 4 times in 20 minutes.
Generally this could mean:

  • You did this intentionally (for testing?)
  • Your PI has a problem
  • Your USB cable has a problem
  • Your board has a problem
  • Any combination thereof

It also seems that you are connection the board to an USB3.0 port. I would avoid this, since Pi4 is known for wonky USB3 ports.

There is also multiple:

Apr 11 22:26:57 klipperpi kernel: [41581.591062] ch341-uart ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
Apr 11 23:03:03 klipperpi kernel: [43747.853334] ch341-uart ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
Apr 11 23:03:03 klipperpi kernel: [43748.061208] ch341-uart ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
Apr 11 23:03:03 klipperpi kernel: [43748.071128] usb 1-1.4: USB disconnect, device number 4
Apr 11 23:03:03 klipperpi kernel: [43748.071586] usb 1-1.4: ch341_read_int_callback - usb_submit_urb failed: -19
Apr 11 23:03:03 klipperpi kernel: [43748.072647] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
Apr 11 23:03:03 klipperpi kernel: [43748.072739] ch341 1-1.4:1.0: device disconnected

This is also indicative to some USB problems. Although it seems a different device / USB port