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

    Can't upload .gcode to Duet 3 - Network Error

    Scheduled Pinned Locked Moved Solved
    General Discussion
    2
    12
    443
    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.
    • p8blrundefined
      p8blr
      last edited by

      I've got a new printer that I setup with a Duet 3 this month and upload speeds have become extremely slow. Now that I think about it, it's become a problem on all three of my printers with Duet 3's, however, today I can't upload anything without a network error.

      File size 58MB. Upload takes several minutes, seems to restart the upload and try again, eventually fails with: Failed to upload 3dprintfile.gcode Network error

      I'm connected via ethernet on an offline network to a windows PC running Chrome.

      M115

      FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6HC FIRMWARE_VERSION: 3.4.2 ELECTRONICS: Duet 3 MB6HC v1.01 FIRMWARE_DATE: 2022-09-13 15:17:43
      

      M122

      === Diagnostics ===
      RepRapFirmware for Duet 3 MB6HC version 3.4.2 (2022-09-13 15:17:43) running on Duet 3 MB6HC v1.01 (standalone mode)
      Board ID: 08DJM-956BA-NA3TJ-6JTDG-3SJ6R-TUAYU
      Used output buffers: 3 of 40 (40 max)
      === RTOS ===
      Static ram: 152664
      Dynamic ram: 96212 of which 0 recycled
      Never used RAM 98268, free system stack 114 words
      Tasks: NETWORK(ready,326.0%,176) ETHERNET(notifyWait,2.2%,433) HEAT(notifyWait,2.2%,322) Move(notifyWait,149.6%,245) CanReceiv(notifyWait,4.3%,770) CanSender(notifyWait,0.9%,326) CanClock(delaying,0.9%,339) TMC(notifyWait,38.1%,57) MAIN(running,280.6%,1083) IDLE(ready,4.3%,30), total 808.9%
      Owned mutexes: LwipCore(NETWORK)
      === Platform ===
      Last reset 70:26:27 ago, cause: software
      Last software reset at 2022-09-20 08:48, reason: User, GCodes spinning, available RAM 98460, slot 0
      Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a
      Error status: 0x14
      Aux0 errors 0,0,0
      Step timer max interval 134
      MCU temperature: min 33.4, current 35.3, max 37.7
      Supply voltage: min 23.6, current 23.9, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
      12V rail voltage: min 12.2, current 12.3, max 12.4, under voltage events: 0
      Heap OK, handles allocated/used 99/0, heap memory allocated/used/recyclable 2048/30/30, gc cycles 0
      Events: 0 queued, 0 completed
      Driver 0: standstill, SG min 0, mspos 804, reads 34171, writes 25 timeouts 0
      Driver 1: standstill, SG min 0, mspos 484, reads 34171, writes 25 timeouts 0
      Driver 2: standstill, SG min 0, mspos 244, reads 34167, writes 29 timeouts 0
      Driver 3: standstill, SG min 0, mspos 8, reads 34185, writes 11 timeouts 0
      Driver 4: standstill, SG min 0, mspos 8, reads 34185, writes 11 timeouts 0
      Driver 5: standstill, SG min 0, mspos 8, reads 34185, writes 11 timeouts 0
      Date/time: 2022-09-23 07:15:02
      Slowest loop: 2155.23ms; fastest: 0.05ms
      === Storage ===
      Free file entries: 10
      SD card 0 detected, interface speed: 25.0MBytes/sec
      SD card longest read time 4.0ms, write time 212.9ms, max retries 0
      === Move ===
      DMs created 125, segments created 28, maxWait 1782162ms, bed compensation in use: mesh, comp offset 0.000
      === MainDDARing ===
      Scheduled moves 999079, completed 999079, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 22], CDDA state -1
      === AuxDDARing ===
      Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === Heat ===
      Bed heaters 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
      Heater 0 is on, I-accum = 0.1
      Heater 1 is on, I-accum = 0.0
      === GCodes ===
      Segments left: 0
      Movement lock held by null
      HTTP is idle in state(s) 0
      Telnet is idle in state(s) 0
      File is idle in state(s) 0
      USB is idle in state(s) 0
      Aux is idle in state(s) 0
      Trigger is idle in state(s) 0
      Queue is idle in state(s) 0
      LCD is idle in state(s) 0
      SBC is idle in state(s) 0
      Daemon is idle in state(s) 0
      Aux2 is idle in state(s) 0
      Autopause is idle in state(s) 0
      Code queue is empty
      === CAN ===
      Messages queued 3193654, received 5736911, lost 0, boc 0
      Longest wait 3ms for reply type 6053, peak Tx sync delay 339, free buffers 50 (min 45), ts 1267936/1267935/0
      Tx timeouts 0,0,0,0,0,0
      === Network ===
      Slowest loop: 3169.29ms; fastest: 0.03ms
      Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions Telnet(0), 0 sessions
      HTTP sessions: 1 of 8
      = Ethernet =
      State: active
      Error counts: 0 0 1 1 0 0
      Socket states: 5 2 2 2 2 0 0 0
      === Multicast handler ===
      Responder is inactive, messages processed 0
      

      Like I said, over time all my printers with Duet 3's have become very slow to upload. However, this one is still fairly new so I don't know why I can't upload at all. I've tried deleting all the files out of the gcode folder and that hasn't helped either.

      Second question, I have a very urgent print I need to run, can I upload .gcode with a usb adapter and a flash drive??

      Thank you in advance.

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @p8blr
        last edited by

        @p8blr said in Can't upload .gcode to Duet 3 - Network Error:

        SD card longest read time 4.0ms, write time 212.9ms, max retries 0

        wow, thats a slow write speed.
        what sd card is it? is it almost full?

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        p8blrundefined 1 Reply Last reply Reply Quote 0
        • p8blrundefined
          p8blr @jay_s_uk
          last edited by p8blr

          @jay_s_uk I bought the Duet 3 from Matterhackers, so it's whatever was included. How can I check if it's full? I don't want to shut off the printer or remove the sd card because I have a print paused that I need to resume and I don't want to lose my home posistion.

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @p8blr
            last edited by

            @p8blr post the output of M39

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            p8blrundefined 1 Reply Last reply Reply Quote 0
            • p8blrundefined
              p8blr @jay_s_uk
              last edited by

              @jay_s_uk
              M39

              SD card in slot 0: capacity 15.93GB, partition size 0.26GB, free space 0.04GB, speed 25.00MBytes/sec, cluster size 512 bytes
              
              jay_s_ukundefined 2 Replies Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @p8blr
                last edited by

                @p8blr said in Can't upload .gcode to Duet 3 - Network Error:

                free space 0.04GB,

                theres your answer

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                p8blrundefined 1 Reply Last reply Reply Quote 0
                • p8blrundefined
                  p8blr @jay_s_uk
                  last edited by

                  @jay_s_uk Do the included SD cards come partitioned like that normally? I literally have never removed the sd card. I have only updated to the latest firmware.

                  1 Reply Last reply Reply Quote 0
                  • jay_s_ukundefined
                    jay_s_uk @p8blr
                    last edited by

                    @p8blr and looks like its one of the older duet 3's that were shipped with an SD card that was setup for pi usage where the partition used in standalone mode was tiny.
                    best to get your print finished, remove the sd card, back everything up (config etc), format the sd card and pop everything back. then you can use the full 16gb

                    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                    p8blrundefined 1 Reply Last reply Reply Quote 1
                    • p8blrundefined
                      p8blr @jay_s_uk
                      last edited by

                      @jay_s_uk It's a failed print that I'm trying to resume about halfway through so I need to upload a modified .gcode. Is it possible for me to remove the sd card, copy/paste the new .gcode over, reinsert it, and not mess anything up?

                      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                      • jay_s_ukundefined
                        jay_s_uk @p8blr
                        last edited by

                        @p8blr you can release the SD card with M22, make the changes to the SD card and then plug it back in using M21.
                        But is the print actually paused or is it cancelled and you're just trying to recover it?

                        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                        p8blrundefined 1 Reply Last reply Reply Quote 1
                        • p8blrundefined
                          p8blr @jay_s_uk
                          last edited by

                          @jay_s_uk It's canceled and I'm just trying to recover it. I'll give the M22 and M21 a shot.

                          p8blrundefined 1 Reply Last reply Reply Quote 1
                          • p8blrundefined
                            p8blr @p8blr
                            last edited by

                            @p8blr said in Can't upload .gcode to Duet 3 - Network Error:

                            @jay_s_uk It's canceled and I'm just trying to recover it. I'll give the M22 and M21 a shot.

                            @jay_s_uk That did the trick. Thank you!

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