I'm not really sure if this is a bug due to the marlin firmware, the ramps board, the arduino board or even the power supply. I have this problem for over two weeks now and checked many online sources, had no luck fixing. I can't pinpoint the problem.
I use ramps 1.4, arduino mega 2560(with 16u2 usb chip) and marlix bugfix 1.1.x
In the middle of the print, my usb connection is lost, when triyng to reconnect, i get "error opening selected port" message.
Expected behavior: [What you expect to happen]
I should be able to stay connected at any time
Actual behavior: [What actually happens]
USB communication is lost mid print until next USB cable unplug/plug
If this is not the proper place to post it, please close this issue and inform me
Humm, USB has got 2 ends, you only talk about the printer side...
Just to close a door, have a look at https://www.windowscentral.com/how-prevent-windows-10-turning-usb-devices (or google "USB power saving"), maybe your computer does power down its side.
I'm not sure of everything you could look into. While you're waiting for someone around here to answer, also be sure to ask for help in some other forums, such as:
after more extensive testing, it turns out i have huge EMI going around my setup, extra isolation at the USB cable solved the problem. sorry for bothering here for this issue.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
after more extensive testing, it turns out i have huge EMI going around my setup, extra isolation at the USB cable solved the problem. sorry for bothering here for this issue.