Communication Errors Again...

Hi Repetier, I have ruined a couple of print with communication error. They happen in different place on same print.I already have checksum error but when I have uploaded the new firmware they were gone. Now its not only a comms errors, it does the same things if I unplug the usb in the middle of a print. Can you help ?


 Here is the log:

14:23:14.747 : Printing layer 37 of 222
14:24:38.873 : Printing layer 38 of 222
14:26:00.672 : Printing layer 39 of 222
14:27:23.695 : Printing layer 40 of 222
14:28:20.572 : M20
14:28:22.691 : M20
14:28:22.691 : start
14:28:22.691 : Info:PowerUp
14:28:22.691 : Detected EEPROM version:18
14:28:22.691 : Info:Autoleveling enabled
14:28:22.691 : Transformation matrix: 0.999962 0.000000 0.008662 0.000035 0.999992 -0.004084 -0.008662 0.004084 0.999954
14:28:23.841 : zDistortionCorrection:1
14:28:23.842 : Free RAM:78368
14:28:23.842 : Autoretract:0
14:28:23.842 : X:0.00 Y:0.00 Z:0.000 E:0.0000
14:28:23.842 : SelectExtruder:0
14:28:23.843 : FIRMWARE_NAME:Repetier_1.0.0dev FIRMWARE_URL:https://github.com/repetier/Repetier-Firmware/ PROTOCOL_VERSION:1.0 MACHINE_TYPE:Delta EXTRUDER_COUNT:4 REPETIER_PROTOCOL:3
14:28:23.843 : Cap:PROGRESS:1
14:28:23.843 : M155 S1
14:28:23.843 : Cap:AUTOREPORT_TEMP:1
14:28:23.843 : Cap:EEPROM:1
14:28:23.844 : Cap:AUTOLEVEL:1
14:28:23.844 : Cap:Z_PROBE:1
14:28:23.844 : Cap:SOFTWARE_POWER:1
14:28:23.844 : Cap:TOGGLE_LIGHTS:0
14:28:23.844 : Cap:PAUSESTOP:1
14:28:23.844 : Cap:PREHEAT:1
14:28:23.844 : Printed filament:366.71m Printing time:10 days 14 hours 4 min
14:28:23.844 : PrinterMode:FFF
14:28:23.844 : Error:Checksum required when switching back to ASCII protocol.
14:28:23.844 : Resend:3
14:28:23.844 : Resend after 4350885ms
14:28:23.845 : Info:No case lights
14:28:23.845 : X:10.00 Y:10.00 Z:0.000 E:0.0000
14:28:23.845 : DebugLevel:6
14:28:23.845 : Config:Baudrate:250000
14:28:23.845 : Config:InputBuffer:127
14:28:23.845 : Config:NumExtruder:4
14:28:23.845 : Config:MixingExtruder:0
14:28:23.845 : Config:HeatedBed:1
14:28:23.845 : Config:SDCard:1
14:28:23.845 : Config:Fan:1
14:28:23.845 : Config:Fan2:0
14:28:23.845 : Config:LCD:1
14:28:23.845 : Config:SoftwarePowerSwitch:1
14:28:23.845 : Config:XHomeDir:-1
14:28:23.845 : Config:YHomeDir:-1
14:28:23.845 : Config:ZHomeDir:1
14:28:23.845 : Config:XHomePos:0.00
14:28:23.846 : Config:YHomePos:0.00
14:28:23.846 : Config:ZHomePos:185.106
14:28:23.846 : Config:SupportG10G11:1
14:28:23.846 : Config:SupportLocalFilamentchange:1
14:28:23.846 : Config:CaseLights:0
14:28:23.846 : Config:ZProbe:1
14:28:23.846 : Config:Autolevel:1
14:28:23.846 : Config:EEPROM:1
14:28:23.846 : Config:PrintlineCache:16
14:28:23.846 : Config:JerkXY:20.00
14:28:23.846 : Config:KeepAliveInterval:2000
14:28:23.846 : Config:RetractionLength:1.00
14:28:23.846 : Config:RetractionLongLength:1.00
14:28:23.846 : Config:RetractionSpeed:40.00
14:28:23.846 : Config:RetractionZLift:0.00
14:28:23.846 : Config:RetractionUndoExtraLength:0.00
14:28:23.846 : Config:RetractionUndoExtraLongLength:0.00
14:28:23.846 : Config:RetractionUndoSpeed:20.00
14:28:23.846 : Config:XMin:0.00
14:28:23.846 : Config:YMin:0.00
14:28:23.846 : Config:ZMin:0.00
14:28:23.846 : Config:XMax:200.00
14:28:23.846 : Config:YMax:200.00
14:28:23.846 : Config:ZMax:185.11
14:28:23.846 : Config:XSize:200.00
14:28:23.846 : Config:YSize:200.00
14:28:23.846 : Config:ZSize:185.11
14:28:23.846 : Config:XPrintAccel:100.00
14:28:23.846 : Config:YPrintAccel:100.00
14:28:23.846 : Config:ZPrintAccel:100.00
14:28:23.846 : Config:XTravelAccel:100.00
14:28:23.846 : Config:YTravelAccel:100.00
14:28:23.846 : Config:ZTravelAccel:100.00
14:28:23.846 : Config:PrinterType:Delta
14:28:23.847 : Config:MaxBedTemp:120
14:28:23.847 : Config:Extr.1:Jerk:20.00
14:28:23.847 : Config:Extr.1:MaxSpeed:50.00
14:28:23.847 : Config:Extr.1:Acceleration:5000.00
14:28:23.847 : Config:Extr.1:Diameter:0.00
14:28:23.847 : Config:Extr.1:MaxTemp:275
14:28:23.847 : Config:Extr.2:Jerk:20.00
14:28:23.847 : Config:Extr.2:MaxSpeed:50.00
14:28:23.847 : Config:Extr.2:Acceleration:5000.00
14:28:23.847 : Config:Extr.2:Diameter:0.00
14:28:23.847 : Config:Extr.2:MaxTemp:275
14:28:23.847 : Config:Extr.3:Jerk:20.00
14:28:23.847 : Config:Extr.3:MaxSpeed:50.00
14:28:23.847 : Config:Extr.3:Acceleration:5000.00
14:28:23.847 : Config:Extr.3:Diameter:0.00
14:28:23.847 : Config:Extr.3:MaxTemp:275
14:28:23.847 : Config:Extr.4:Jerk:20.00
14:28:23.847 : Config:Extr.4:MaxSpeed:50.00
14:28:23.847 : Config:Extr.4:Acceleration:5000.00
14:28:23.847 : Config:Extr.4:Diameter:0.00
14:28:23.847 : Config:Extr.4:MaxTemp:275
14:28:23.847 : Begin file list
14:28:23.847 : End file list
14:28:33.874 : G28
14:28:34.711 : Info:Autoleveling disabled
14:28:40.097 : SelectExtruder:0
14:28:40.097 : X:0.00 Y:0.00 Z:185.110 E:0.0000
14:28:40.097 : Info:Autoleveling enabled

Comments

  • Why should print continue if you unplug usb? Server sends commands while printing and does not send file to printer and starts.

    What happens when print stops? Com errors are normally catched and no problem. A bigger problem is if linux closes the usb connection due to low power state (at least raspberry pi is known for this behaviour). You see this /var/log/syslog with a usb error entry at the time print stops. Could that be your problem? Server also logs a reconnect in server.log at that time.
  • Sorry for my explication , I wanted to say the errors look like if someone unplug the usb cable in the midddle of the print. I understand minor error can be ignored and print can continue but this is a major one. 

    Here is the pi syslog when the hang happen:

    • Feb 11 19:55:40 raspberrypi dhcpcd: wlan0: Router Advertisement from fe80::1e5f:2bff:fe7d:63c6
    • Feb 11 19:56:08 raspberrypi dhcpcd: eth0: removing interface
    • Feb 11 19:56:08 raspberrypi avahi-daemon: Withdrawing workstation service for eth0.
    • Feb 11 19:56:08 raspberrypi kernel: [20297.819265] usb 1-1: USB disconnect, device number 46
    • Feb 11 19:56:08 raspberrypi kernel: [20297.819280] usb 1-1.1: USB disconnect, device number 47
    • Feb 11 19:56:08 raspberrypi kernel: [20297.819592] smsc95xx 1-1.1:1.0 eth0: unregister 'smsc95xx' usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet
    • Feb 11 19:56:08 raspberrypi kernel: [20297.819641] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
    • Feb 11 19:56:08 raspberrypi kernel: [20297.869956] usb 1-1.2: USB disconnect, device number 48
    • Feb 11 19:56:08 raspberrypi kernel: [20297.870282] cdc_acm 1-1.2:1.0: failed to set dtr/rts
    • Feb 11 19:56:08 raspberrypi kernel: [20297.872247] usb 1-1.4: USB disconnect, device number 49
    • Feb 11 19:56:08 raspberrypi kernel: [20298.509140] Indeed it is in host mode hprt0 = 00021501
    • Feb 11 19:56:09 raspberrypi kernel: [20298.709149] usb 1-1: new high-speed USB device number 50 using dwc_otg
    • Feb 11 19:56:09 raspberrypi kernel: [20298.709278] Indeed it is in host mode hprt0 = 00001101
    • Feb 11 19:56:09 raspberrypi kernel: [20298.939417] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
    • Feb 11 19:56:09 raspberrypi kernel: [20298.939430] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    • Feb 11 19:56:09 raspberrypi kernel: [20298.940290] hub 1-1:1.0: USB hub found
    • Feb 11 19:56:09 raspberrypi kernel: [20298.940384] hub 1-1:1.0: 5 ports detected
    • Feb 11 19:56:09 raspberrypi kernel: [20299.259140] usb 1-1.1: new high-speed USB device number 51 using dwc_otg
    • Feb 11 19:56:09 raspberrypi kernel: [20299.389411] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
    • Feb 11 19:56:09 raspberrypi kernel: [20299.389425] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    • Feb 11 19:56:09 raspberrypi kernel: [20299.392402] smsc95xx v1.0.5
    • Feb 11 19:56:09 raspberrypi systemd-udevd: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1 1 51': No such file or directory
    • Feb 11 19:56:09 raspberrypi kernel: [20299.483728] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:91:1f:5b
    • Feb 11 19:56:10 raspberrypi kernel: [20299.579120] usb 1-1.2: new full-speed USB device number 52 using dwc_otg
    • Feb 11 19:56:10 raspberrypi kernel: [20299.723720] usb 1-1.2: New USB device found, idVendor=2341, idProduct=003d
    • Feb 11 19:56:10 raspberrypi kernel: [20299.723733] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=220
    • Feb 11 19:56:10 raspberrypi kernel: [20299.723741] usb 1-1.2: Product: Arduino Due Prog. Port
    • Feb 11 19:56:10 raspberrypi kernel: [20299.723749] usb 1-1.2: Manufacturer: Arduino (www.arduino.cc)
    • Feb 11 19:56:10 raspberrypi kernel: [20299.723757] usb 1-1.2: SerialNumber: 55330343534351A0C132
    • Feb 11 19:56:10 raspberrypi kernel: [20299.725456] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device
    • Feb 11 19:56:10 raspberrypi systemd-udevd: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2 1 52': No such file or directory
    • Feb 11 19:56:10 raspberrypi kernel: [20299.819154] usb 1-1.4: new low-speed USB device number 53 using dwc_otg
    • Feb 11 19:56:10 raspberrypi kernel: [20299.963863] usb 1-1.4: New USB device found, idVendor=6901, idProduct=1224
    • Feb 11 19:56:10 raspberrypi kernel: [20299.963877] usb 1-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    • Feb 11 19:56:10 raspberrypi systemd-udevd: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4 1 53': No such file or directory
    • Feb 11 19:56:10 raspberrypi kernel: [20299.975106] input: HID 6901:1224 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:6901:1224.0019/input/input25
    • Feb 11 19:56:10 raspberrypi kernel: [20300.045651] hid-generic 0003:6901:1224.0019: input,hidraw0: USB HID v1.10 Keyboard [HID 6901:1224] on usb-3f980000.usb-1.4/input0
    • Feb 11 19:56:10 raspberrypi kernel: [20300.065155] input: HID 6901:1224 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.1/0003:6901:1224.001A/input/input26
    • Feb 11 19:56:10 raspberrypi kernel: [20300.139920] hid-generic 0003:6901:1224.001A: input,hidraw1: USB HID v1.10 Mouse [HID 6901:1224] on usb-3f980000.usb-1.4/input1
    • Feb 11 19:56:10 raspberrypi dhcpcd: eth0: adding address fe80::1709:fb78:d146:398f
    • Feb 11 19:56:11 raspberrypi dhcpcd: eth0: waiting for carrier
    • Feb 11 19:56:11 raspberrypi kernel: [20300.661358] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
    • Feb 11 19:56:11 raspberrypi kernel: [20300.661926] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    • Feb 11 19:56:13 raspberrypi dhcpcd: wlan0: Router Advertisement from fe80::1e5f:2bff:fe7d:63c6



  • Yes, it is linux disconnecting usb. You see all the disconnect messages at the top and serial is one of them. 2 seconds later it reconnects all usb devices, but that is of course bad as serial is now closed and can not communicate any more and printer resets.

    See
    https://www.raspberrypi.org/forums/viewtopic.php?t=8010&start=75
    for a possible solution. Maybe it works, also it reduces usb speed and therefore all communications to usb 1.0 standard I think.

    If you have no display connected, edit /home/pi/.bashrc at the end to not start x windows and start chrome. Reduces load and memory and also helps.
Sign In or Register to comment.