Duet disconnects when transferring large files
-
Hi, I seem to be having the same problem as some other people have reported with transferring large files to my 6XD but nothing I have tried has fixed it including multiple SD cards. The Duet disconnects (HTTP request time out) usually 3-10% of the way. I thought I was having the same issue as this post but like I said different SD cards and same issue:
https://forum.duet3d.com/topic/30045/large-files-uploading-fail?_=1694740251985
First I thought it might be a router issue (ethernet only) so I hooked it directly to the PC with a static address. Then I got a new 32G sandisk ultra card, copied the files from the one that came with the Duet, and loaded it, ran M122, seemed good, tried to copy a big file, it failed, ran M122 again, write time went through the roof, ran M39, checked out ok, ran M122 P104 S10, fast read and writes. I looked at the board as referenced in the SD diagnostics page and don't see any soldering defects. This board was just fired up this past weekend so it has extremely new firmware and DWC. Please take a look at the console log and help, I'm out of ideas other than transferring the file directly on to the SD.
Thanks!
-
@strohm81 to confirm that it's not an SD card issue, please copy one of those GCode files to a new filename ending in ".dummy" and try to upload it on the Jobs page of DWC. When RRF sees the ".dummy" file extension, it omits writing the file to SD card.
Which operating system does your PC use?
-
Thanks! I just tried the .dummy file and it uploaded fine with speeds of around 7 to 9 mbits/sec. I am running a Windows 7 PC.
-
@strohm81 that suggests the problem is with writing to SD card. Use the M122 command with P104 parameter and optional S parameter to test writing to SD card.
-
Ok, I had done that with S10 and captured it in the log, I can try it with a bigger number. I just put the file in the gcode folder on the SD using my pc with an SD adapter and it is running now. I will try further troubleshooting when it is done. What is the remediation if it fails, or passes?
For future reference can I eject and reinsert the SD card from the Duet while it is powered on to transfer files? This is how I transferred files to the Smoothieboard that the Duet replaced.
Thanks.
-
I just finished running the ~850mb file that was transferred directly onto the SD and it ran fine.
So I tried M122 P0 with file sizes up to 500 and they all passed, and a ~60mb file was able to upload successfully but a ~400mb file failed again approximately 5-10% through. -
Can you try doing a wireshark capture during an upload that fails?
-
I am not familiar with this but I will try.
-
I ran the scan while loading the file again and it failed again. I think I did it right; the file was ~70mb and still ~25mb zipped so I put the zip file in dropbox.
-