Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Duet disconnects when transferring large files

    Scheduled Pinned Locked Moved Unsolved
    Duet Web Control
    3
    9
    308
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • strohm81undefined
      strohm81
      last edited by

      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!

      Duet Console 9-15.txt

      dc42undefined 1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators @strohm81
        last edited by dc42

        @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?

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • strohm81undefined
          strohm81
          last edited by

          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.

          dc42undefined 1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators @strohm81
            last edited by

            @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.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            1 Reply Last reply Reply Quote 0
            • strohm81undefined
              strohm81
              last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • strohm81undefined
                strohm81
                last edited by

                Duet Console 9-22.txt

                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.

                1 Reply Last reply Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator
                  last edited by

                  Can you try doing a wireshark capture during an upload that fails?

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • strohm81undefined
                    strohm81
                    last edited by

                    I am not familiar with this but I will try.

                    1 Reply Last reply Reply Quote 0
                    • strohm81undefined
                      strohm81
                      last edited by

                      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.

                      https://www.dropbox.com/scl/fi/6hhhsxv4j7ftcclj6fxua/Capture-9-22-23.zip?rlkey=3a4mmt2g418hataytddbkqz03&dl=0

                      1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined Phaedrux marked this topic as a question
                      • First post
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA