MCU Crash/Connection Loss

Basic Information:

Printer Model: Creality Ender 6
MCU / Printerboard: BTT SKR 2
Host / SBC: Raspberry Pi 2B
klippy.log (502.7 KB)

Describe your issue:

After starting a print MCU will lose connection to the SBC and the print stops. I’m not super familiar with klippy logs, but I don’t see any errors in mine. It happens consistently with every long print (I’ve been running tests without filament) usually after more than 20 minutes but always before 1 hour.

Things I’ve tried;
Flashing new klipper installs
Flashing new mainboard firmware
Different cables between MCU and SBC
Swapping MCU, swapping SBC
Bypassing ender 6 daughter board
Printing without motors connected (in case it was some feedback from them)
Directly powering SBC from the powersupply
Different power outlets
Different power supply cable
Running without heated bed, to reduce power load
Direct cooling of boards with desk fan

I’m truly at a loss here, the only thing I can think of is that my power supply is bad? but I don’t know a good way of testing that other than the magic of buying 2 of them… (at this point I’ll have almost enough test parts to build a 2nd printer).

Huge thanks if any of you more experienced folks can come up with some kind of solution.

Welcome to the forum.

Your log is very short and contains no shut down events at all.

Either find a recent historical log on your Pi or run your printer to failure then upload the full klippy.log.

Ah, sorry about that… I thought it was the record of the last failed print. Here’s a couple of logs with more to them;

klippy.log (1.5 MB)

klippy.log (5.0 MB)

Line 7661 (among others) seems to indicate a hard stop or kernel panic of the host.

Klipper seems happy right up till Linux stops/crashes on the Pi. Try dmesg on the Pi (via ssh) also there may be clues in /var/log/syslog.

I don’t see where you have tried a new SD card, worth a shot but issues like this are 95% power delivery to the Pi.

Welp, I tried swapping the pi to a different power supply. Ran with the MCU on one supply and Pi on the other. Then when that crashed swapped both to the 2nd supply. Still crashed. I’m running the Pi off a DC converter at ~5.08V.

In the past I tried running it from a usb power supply and that ran into similar issues.

klippy.log (1.7 MB)

I tried checking journalctl for today, stop occurred between 12:00 and 12:13 but there are no logged events in that time period.

Jun 18 Journalctl.txt (136.3 KB)

If your SD card is disconnecting the system can’t write to the error log.

Try a different SD card.

News, I think it is solved now. Last time I put things together I figured I’d try with as few things attached as possible. I think there is a klipperscreen interaction with the panel that came with the printer that was crashing things. I ran through 3 prints of 2+hours without issue this weekend, so fingers crossed…
Thanks Cardoc for being there for me <3