Hello all, I have a printrbot and use cura and I get this error sometimes, but it happened two times in a row, the error is pasted below.
Send: N42312G0 X44.824 Y36.2250
Recv: ok
Send: N42313G0 X45.970 Y33.9328
Serial timeout while writing to serial port, trying again.
Unexpected error while writing serial port: SerialException: ‘WriteFile failed ([Error 22] The device does not recognize the command.)’ @ machineCom.py:_sendCommand:565
Changing monitoring state from ‘Printing’ to 'Error: SerialException: ‘WriteFile failed …’
Connection closed, closing down monitor
The printer just suddenly stops moving when this happens, do I have a bad USB cable or something?
@Brook_Drumm
iirc, it’s actually a Marlin/Cura issue but I can’t actually contact the people that could let me know.
@Justin_Nesselrotte I did contact Printrbot in addition.
Likely broken USB connection due to EMI. Sometimes turning on a CFL desk lamp is enough.
Don’t print via USB. Print from a card. It’s the only way to fly.
Try using good shielded Usb cable with ferrite ring. It could help.
To eliminate the possibility of a bad cable, run the same gcode from the ad card using the file renamed to auto0.g (yes, change the extension to .g)
Report back.
What OS and version?
Brook
@Brook_Drumm I did try a SD card a while back, but the card slot on my board is SO TIGHT, I had to take pliers to my card to pull it out. And its not just this file that does this for some reason. I use Cura 14.04.2, on windows 10 64 bit, and I have had this printer for a while, so the cable could be going bad. Thanks for the help.
I guess a new cable is a good bet. Good luck.
The sd card slot should loosen up after a little use. I recommend this little gem:
@Brook_Drumm Do you have a specific one you would recommend?