#lost connection to mcu

22 messages · Page 1 of 1 (latest)

molten sinew
#

I keep getting "lost connection to mcu" errors, even though i never touched the cable connecting the pi to the motherboard. Are there any other things that can cause this error?

lapis zephyrBOT
#

Ahoi @molten sinew!
It looks like you did not provide all the necessary information we need to help you.
Please upload your logfiles and a detailed description of your problem.
For further information see: https://docs.mainsail.xyz/faq/getting-help/discord#provide-information
Note: We only accept .log and .txt files as log files.
This is an automated message

We are glad to help and chat with you on our Community Discord, but if you need help and want the best support possible you should, follow a few simple rules:

molten sinew
#

my mcu temp is stable at 56C, if that matters

#

i do not know of any log that would be relevant to my issue, do let me know if any might be required

modern vector
#

the klipper log file would be of help.
lost connection error often are caused from a bad or poor quality usb cable.

molten sinew
#

this is my log

#

my cable is good but i know that the microusb port on my motherboard is loose. However it is left undisturbed and free of strain throughout the print, and I am able to reconnect to the mcu without needing to reseat the cable

modern vector
#

well thats most likly the cause then... your printer has moving parts and the vibration during the print can make the port loose contact for a short time. klipper sents a lot of traffic over the bus and has really small timing windows. just the slightest outage of the connection will cause it to stop.

molten sinew
molten sinew
molten sinew
modern vector
#

sorry got not really time to look into it.

molten sinew
#

at this point we have ruled out:

  • loose usb port
  • bad usb cable
  • bad mcu
  • bad os configuration
  • usb current draw (i am blocking the usb 5v line)
modern vector
#

I try to look into it later. Iam quite busy right now.

molten sinew
#

alright, thanks

#

i'll try running over uart tomorrow to see if i can single out usb driver/chip issues

modern vector
#

can't tell why the mcu disconnects. the syslog shows that the mcu disconnects and comes back 2 minutes later. did you do something during that time?

molten sinew
#

i dont touch the printer, web interface or anything near it, but around the 1hr mark the mcu disconnects

#

when i see that it has disconnected on the web interface, i press the "firmware restart" button and the mcu reconnects without any other intervention on my part

molten sinew
#

i've figured out the issue, my printer power supply was cutting power due to over temp shutdown