error Klipper State Shutdown
hello everyone, maybe someone here can help me.
I am currently setting up a printer farm with a converted Tronxy X5SA Pro. The control electronics have been upgraded to the 446 v10 board from Tronxy.
Each 3 Tronxy are controlled with a Raspberry Pi4 8GB 256GB and klipper (Python 3 version).
At first everything worked great. But now I have a job with larger parts (printing time over 4 days) where I regularly get a fatal error klipper state shutdown.
The printers sometimes fail together but sometimes also separately. The last error was the first two printers failing together and the third about 4 hours later.
I have already checked all the standard hardware things.
Original power supply from Raspberry Pi with 3A.
Stable power supply to the printer and Pi via a UPS.
5V pin in the USB cable taped off.
Good USB cable used.
No undervoltage and no CPU throttling on the Pi.
Experimented with different serial modes.
Tested PingPong mode yes and no.
Tried different buffer sizes.
Tested with different number of printers on the Raspberry Pi (1 to 3).
Unfortunately the error still occurs.
I'm still testing, do you have any tips on things I haven't thought of.
Comments
Recv:22:40:43.589: // Lost communication with MCU 'mcu'
Here mcu is the printer board and the message comes from klipper. So what happens is that klipper stops communication with printer while commonunction klipper<->Repetier-Server is working stable.
Check linux syslog around the timestamps where this happens and see why linux does this. I think it is the only place where you find the reason for it. Linux disconnects usb communication not only for undervoltage but also if it thinks it is getting emf signals via usb.