bondus / KlipperToolboard

A 3D printer tool head controller board
GNU General Public License v3.0
351 stars 70 forks source link

Klippy shutdown: Timeout on wait for 'tmcuart_response' #40

Closed rlaferla closed 2 years ago

rlaferla commented 2 years ago

I have Huvud 0.61 mostly working with Raspberry Pi Zero W 2 and Waveshare RS485/CAN HAT but it's shutting down all of a sudden with this error.

image
rlaferla commented 2 years ago

Is it a CAN bus cable issue? I am using a Molex overmolded cable that does not have twisted pairs nor is shielded.

rlaferla commented 2 years ago

Is it a heatsink issue for the TMC driver? I do not have a heat sink on it and I don't know where to find one that would fit or how to place it on the Huvud.

rlaferla commented 2 years ago

Is it a baud rate issue?

rlaferla commented 2 years ago

Timeout with MCU 'can_mcu' (eventtime=255.368785) Stats 255.4: gcodein=0 mcu: mcu_awake=0.001 mcu_task_avg=0.000005 mcu_task_stddev=0.000004 bytes_write=16565 bytes_read=26641 bytes_retransmit=9 bytes_invalid=0 send_seq=1053 receive_seq=1053 retransmit_seq=2 srtt=0.001 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=14 freq=180004231 can_mcu: mcu_awake=0.001 mcu_task_avg=0.000008 mcu_task_stddev=0.000007 bytes_write=3092 bytes_read=13883 bytes_retransmit=82 bytes_invalid=134 send_seq=317 receive_seq=312 retransmit_seq=316 srtt=0.001 rttvar=0.000 rto=3.200 ready_bytes=0 stalled_bytes=0 freq=72001016 adj=71999344 heater_bed: target=0 temp=21.0 pwm=0.000 sysload=0.13 cputime=20.095 memavail=189492 print_time=85.489 buffer_time=0.000 print_stall=0 extruder: target=0 temp=22.6 pwm=0.000 Got error -1 in can write: (105)No buffer space available Got error -1 in can write: (105)No buffer space available Got error -1 in can write: (105)No buffer space available Got error -1 in can write: (105)No buffer space available Got error -1 in can write: (105)No buffer space available

rlaferla commented 2 years ago

I upgraded from a Pi Zero W 2 to a Pi 4 and the problem went away. Even though the Pi 0W2 is 5x faster than the Pi 0W, it's not enough.