EBBCan shutdown – Timer too close error

Basic Information:

Printer Model: Voron Switchwire
MCU / Printerboard:BTT E3 V3
Host / SBC: Raspberry Pi 5
klippy.log

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:

MCU ‘EBBCan’ shutdown: Timer too close
This often indicates the host computer is overloaded.

klippy (1).log (1.5 MB)

Apologies, I had to trim the log file as the original was too large to upload.

Hi @fputra ,

I would take a look here:

Dumping serial stats: bytes_write=57651 bytes_read=154397 bytes_retransmit=3100 bytes_invalid=0 send_seq=5325 receive_seq=5323 retransmit_seq=5325 srtt=0.002 rttvar=0.001 rto=0.800 ready_bytes=0 upcoming_bytes=0

High RTO - communication issue.

b’Got error -1 in can write: (105)No buffer space available’ looks suspicious to me. Assuming a default TX length of 128 and only 1 device on the bus.

For we don’t know what you trimmed away:

2 Likes

klippy (1).zip (147.4 KB)

hi, I have found the couse of this proble :

image

Now I set it up like this :

sudo ip link set can0 txqueuelen 128

It’s been running for 12 hours now without any issues. However, I’m wondering if the qilen 128 settings I changed will be permanent when I restart the printer, or if it will revert to the old qilen 10 settings.

Where did you get your setup process? I’m curious as to why you had a qlen of 10.

I always highly recommend the Esoterical process:

I followed the standard CAN bus setup from the Klipper documentation and a few community guides. I didn’t specifically change the txqueuelen, so it stayed at the Linux default of 10. I wasn’t aware that Klipper recommends setting it to 128 until it was pointed out here. I’ve now updated it to qlen 128 and will monitor to see if it resolves the issue.

The Esoterical guide is recommended because it is constantly updated - other instructions around the web can be old and the instructions can be incomplete (as you found) or out of date.

Thanks for the tip! I’ll switch over to the Esoterical guide for my setup from now on.

1 Like

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