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

Slow upload rates and connection errors

Scheduled Pinned Locked Moved
Duet Web Control
3
15
787
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.
  • undefined
    WillGIam
    last edited by 11 Nov 2020, 18:58

    Hello!

    After being totally frustrated I´m trying to find some help in here.

    I have 3-4 printers with duet 2 or duet 3. All of them are working fine. Today I finished my newest build and updated everything on the duet. After getting a blank screen, I tried different DWC versions and when updating again I got it running.

    The whole file upload is very slow, often I´m getting connection errors and when starting heater auto tuning for example I´m just getting this error:

    Connection interrupted, attempting to reconnect...
    HTTP request timed out

    I tried nearly everything, restartet router, restartet board, scanned the wifis and changed to channel 1 with my router - nothing helped.

    Now I´m getting the blank screen again... connection via pronterface works fine...

    I hope you can help me.

    William

    1 Reply Last reply Reply Quote 0
    • undefined
      WillGIam
      last edited by 11 Nov 2020, 19:04

      M122 says

      === Diagnostics ===
      RepRapFirmware for Duet 2 WiFi/Ethernet version 3.2-beta3 running on Duet WiFi 1.02 or later
      Board ID: 08DGM-9T6BU-FG3SD-6J1FA-3S86P-9BMMF
      Used output buffers: 1 of 24 (12 max)
      === RTOS ===
      Static ram: 23996
      Dynamic ram: 100424 of which 56 recycled
      Never used RAM 5572, free system stack 174 words
      Tasks: NETWORK(ready,210) HEAT(blocked,306) MAIN(running,415) IDLE(ready,19)
      Owned mutexes: USB(MAIN)
      === Platform ===
      Last reset 00:04:21 ago, cause: power up
      Last software reset at 2020-11-11 19:05, reason: User, GCodes spinning, available RAM 6356, slot 0
      Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task MAIN
      Error status: 0x00
      Error status: 0x00

      MCU temperature: min 33.2, current 33.6, max 33.9
      Supply voltage: min 22.9, current 22.9, max 23.0, under voltage events: 0, over voltage events: 0, power good: yes
      Driver 0: position 0, standstill, SG min/max not available
      Driver 1: position 0, standstill, SG min/max not available
      Driver 2: position 0, standstill, SG min/max not available
      Driver 3: position 0, standstill, SG min/max not available
      Driver 4: position 0, standstill, SG min/max not available
      Driver 5: position 0
      Driver 6: position 0
      Driver 7: position 0
      Driver 8: position 0
      Driver 9: position 0
      Driver 10: position 0
      Driver 11: position 0
      Date/time: 2020-11-11 20:03:12
      Cache data hit count 423162907
      Slowest loop: 3.53ms; fastest: 0.19ms
      I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
      === Storage ===
      Free file entries: 10
      SD card 0 detected, interface speed: 20.0MBytes/sec
      SD card longest read time 2.2ms, write time 0.0ms, max retries 0
      === Move ===
      Hiccups: 0(0), FreeDm: 169, MinFreeDm: 169, MaxWait: 0ms
      Bed compensation in use: none, comp offset 0.000
      === MainDDARing ===
      Scheduled moves 0, completed moves 0, StepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === AuxDDARing ===
      Scheduled moves 0, completed moves 0, StepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === Heat ===
      Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -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 ready with "M122" 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
      Daemon is idle in state(s) 0
      Autopause is idle in state(s) 0
      Code queue is empty.
      === Network ===
      Slowest loop: 4.01ms; fastest: 0.01ms
      Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
      HTTP sessions: 0 of 8

      • WiFi -
        Network state is active
        WiFi module is connected to access point
        Failed messages: pending 0, notready 0, noresp 0
        WiFi firmware version 1.24
        WiFi MAC address cc:50:e3:6a:87:e4
        WiFi Vcc 3.31, reset reason Turned on by main processor
        WiFi flash size 4194304, free heap 25248
        WiFi IP address 192.168.0.173
        WiFi signal strength -58dBm, reconnections 1, sleep mode modem
        Clock register 00002002
        Socket states: 0 0 0 0 0 0 0 0
      undefined 1 Reply Last reply 11 Nov 2020, 19:28 Reply Quote 0
      • undefined
        Phaedrux Moderator @WillGIam
        last edited by 11 Nov 2020, 19:28

        @WillGIam said in Slow upload rates and connection errors:

        RepRapFirmware for Duet 2 WiFi/Ethernet version 3.2-beta3 running on Duet WiFi 1.02 or later

        Do you get the same problems when running 3.1.1?

        https://github.com/Duet3D/RepRapFirmware/releases/download/3.1.1/Duet2and3Firmware-3.1.1.zip

        The wifi server version in 3.2beta2 is updated (1.24) and you don't mention any firmware versions.

        If you upload that complete zip file to the system tab in DWC it should flash everything back for testing.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • undefined
          WillGIam
          last edited by 11 Nov 2020, 19:45

          Hey Phaedrux,
          Thanks for your reply.

          Server FW is 1.24, as you see in my comment. Also you can see, that I was using 3.2-beta3.

          Because I´m not able to upload anything on DWC, I have to change the files on SD.

          I changed the Duet2CombinedFirmware to the 3.1.1 and the DWC too. -- still blank.

          After a while I´m getting the DWC (instead of blank screen) and can do something, but not uploading.

          After putting 3.1.1 and DWC on SD I got no system drop down settings, but it seems as I´m now able to upload a firmware file without breakdown. - Lets see what happens.

          1 Reply Last reply Reply Quote 0
          • undefined
            Phaedrux Moderator
            last edited by 11 Nov 2020, 19:49

            Can you place this wifi server bin file on the SD card in the /sys folder and then send M997 S1 to flash the module back to 1.23?

            https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/DuetWiFiServer.bin

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • undefined
              WillGIam
              last edited by 11 Nov 2020, 19:55

              Hey Phaedrux,
              Thanks for your reply.

              == Diagnostics ===
              RepRapFirmware for Duet 2 WiFi/Ethernet version 3.1.1 running on Duet WiFi 1.02 or later
              Board ID: 08DGM-9T6BU-FG3SD-6J1FA-3S86P-9BMMF
              Used output buffers: 1 of 24 (11 max)
              === RTOS ===
              Static ram: 27980
              Dynamic ram: 93836 of which 84 recycled
              Exception stack ram used: 312
              Never used ram: 8860
              Tasks: NETWORK(ready,384) HEAT(blocked,1224) MAIN(running,1824) IDLE(ready,80)
              Owned mutexes: WiFi(NETWORK)
              === Platform ===
              Last reset 00:01:15 ago, cause: software
              Last software reset details not available
              Error status: 0
              Error status: 0

              MCU temperature: min 32.2, current 32.8, max 33.1
              Supply voltage: min 22.9, current 22.9, max 23.0, under voltage events: 0, over voltage events: 0, power good: yes
              Driver 0: standstill, SG min/max not available
              Driver 1: standstill, SG min/max not available
              Driver 2: standstill, SG min/max not available
              Driver 3: standstill, SG min/max not available
              Driver 4: standstill, SG min/max not available
              Date/time: 2020-11-11 20:53:38
              Cache data hit count 170296728
              Slowest loop: 7.05ms; fastest: 0.14ms
              I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
              === Storage ===
              Free file entries: 10
              SD card 0 detected, interface speed: 20.0MBytes/sec
              SD card longest read time 2.8ms, write time 0.0ms, max retries 0
              === Move ===
              Hiccups: 0(0), FreeDm: 169, MinFreeDm: 169, MaxWait: 0ms
              Bed compensation in use: none, comp offset 0.000
              === MainDDARing ===
              Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
              === AuxDDARing ===
              Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
              === Heat ===
              Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
              === 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 ready with "M122" 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
              Daemon is idle in state(s) 0
              Autopause is idle in state(s) 0
              Code queue is empty.
              === Network ===
              Slowest loop: 1167.20ms; fastest: 0.00ms
              Responder states: HTTP(1) HTTP(1) HTTP(1) HTTP(0) FTP(0) Telnet(0), 0 sessions
              HTTP sessions: 1 of 8

              • WiFi -
                Network state is active
                WiFi module is connected to access point
                Failed messages: pending 0, notready 0, noresp 0
                WiFi firmware version 1.23
                WiFi MAC address cc:50:e3:6a:87:e4
                WiFi Vcc 3.32, reset reason Unknown
                WiFi flash size 4194304, free heap 24280
                WiFi IP address 192.168.0.173
                WiFi signal strength -55dBm, reconnections 0, sleep mode modem
                Socket states: 2 2 2 0 0 0 0 0

              I flashed everything back to 3.1.1 and Server to 1.23, but still the same problems.

              Could a board erase help?

              undefined undefined 2 Replies Last reply 11 Nov 2020, 20:00 Reply Quote 0
              • undefined
                WillGIam
                last edited by 11 Nov 2020, 19:57

                Bildschirmfoto 2020-11-11 um 20.56.54.png

                Thats what it looks like most of the time. After a while DWC appears, but very slow with connection breaks.

                1 Reply Last reply Reply Quote 0
                • undefined
                  Phaedrux Moderator @WillGIam
                  last edited by 11 Nov 2020, 20:00

                  @WillGIam said in Slow upload rates and connection errors:

                  Could a board erase help?

                  Doubtful, since we've already flashed the firmware again.

                  When you send M997 S1 does the flash process appear to proceed correctly with a percentage complete list?

                  When you lose connection, does the light on the module go out?

                  Can you create these macros and use them to clear the saved networks and reset the module with your SSID?

                  ; Clear all wifi networks
                  ;
                  M291 R"Clear WIFI networks? Y/N" P"Caution. New network must be added." S3 T10
                  M552 S0 ; Disable network module
                  G4 S5 ; wait 5 seconds
                  M588 S"*" ; Clear all saved wifi networls
                  M291 R"WIFI networks forgotten." P"You must add a new WIFI network."
                  ; Add default wifi network
                  ;
                  M291 R"Add default WIFI network? Y/N" P"This will add duetwifi access point." S3 T10
                  M552 S0 ; Disable network module
                  G4 S5 ; wait 5 seconds
                  M587 S"NETWORKNAME" P"PASSWORD" ; Add duet wifi SSID to remembered networks list
                  G4 S5 ; wait 5 seconds
                  M552 S1 ; reenable wifi module
                  M291 R"duetwifi SSID added." P"Check console to verify IP address."

                  IT's easier to use the macros because you can execute them from command line more easily than retyping everything. Just send M98 P"macroname" to run them.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  undefined 1 Reply Last reply 11 Nov 2020, 20:04 Reply Quote 0
                  • undefined
                    Phaedrux Moderator
                    last edited by 11 Nov 2020, 20:00

                    Is this a brand new duet wifi? When and where was it purchased?

                    Z-Bot CoreXY Build | Thingiverse Profile

                    undefined 1 Reply Last reply 11 Nov 2020, 20:33 Reply Quote 0
                    • undefined
                      WillGIam @Phaedrux
                      last edited by 11 Nov 2020, 20:04

                      @Phaedrux said in Slow upload rates and connection errors:

                      @WillGIam said in Slow upload rates and connection errors:

                      Could a board erase help?

                      Doubtful, since we've already flashed the firmware again.

                      Well...

                      When you send M997 S1 does the flash process appear to proceed correctly with a percentage complete list?

                      Yes.

                      When you lose connection, does the light on the module go out?

                      No. its still on.

                      Can you create these macros and use them to clear the saved networks and reset the module with your SSID?

                      will do that now.

                      ; Clear all wifi networks
                      ;
                      M291 R"Clear WIFI networks? Y/N" P"Caution. New network must be added." S3 T10
                      M552 S0 ; Disable network module
                      G4 S5 ; wait 5 seconds
                      M588 S"*" ; Clear all saved wifi networls
                      M291 R"WIFI networks forgotten." P"You must add a new WIFI network."
                      ; Add default wifi network
                      ;
                      M291 R"Add default WIFI network? Y/N" P"This will add duetwifi access point." S3 T10
                      M552 S0 ; Disable network module
                      G4 S5 ; wait 5 seconds
                      M587 S"NETWORKNAME" P"PASSWORD" ; Add duet wifi SSID to remembered networks list
                      G4 S5 ; wait 5 seconds
                      M552 S1 ; reenable wifi module
                      M291 R"duetwifi SSID added." P"Check console to verify IP address."

                      IT's easier to use the macros because you can execute them from command line more easily than retyping everything. Just send M98 P"macroname" to run them.

                      thanks a lot.

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        dc42 administrators @WillGIam
                        last edited by 11 Nov 2020, 20:13

                        @WillGIam, are you certain that there isn't another device using that IP address? Try pinging it. Then turn the Duet off and try pinging it again.

                        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
                        • undefined
                          WillGIam @Phaedrux
                          last edited by WillGIam 11 Nov 2020, 20:34 11 Nov 2020, 20:33

                          @Phaedrux said in Slow upload rates and connection errors:

                          Is this a brand new duet wifi? When and where was it purchased?

                          Tried to clear all networks and added it again - same problem.
                          I dont really know when and where this duet was bought...

                          @dc42 said in Slow upload rates and connection errors:

                          @WillGIam, are you certain that there isn't another device using that IP address? Try pinging it. Then turn the Duet off and try pinging it again.

                          Yes. When duet is turned off, there is a timeout.

                          undefined 1 Reply Last reply 11 Nov 2020, 21:45 Reply Quote 0
                          • undefined
                            Phaedrux Moderator @WillGIam
                            last edited by 11 Nov 2020, 21:45

                            Does the Duet show up in the router interface?

                            @WillGIam said in Slow upload rates and connection errors:

                            I dont really know when and where this duet was bought...

                            That would make it difficult to ascertain it's warranty status. If it's within 6 months from an authorized reseller you would be covered.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            undefined 1 Reply Last reply 16 Nov 2020, 19:09 Reply Quote 0
                            • undefined
                              WillGIam @Phaedrux
                              last edited by 16 Nov 2020, 19:09

                              @Phaedrux Yes, it shew up in the router interface.

                              Yes, I´m not covered I think. I dont think its a hardware issue - I tried nearly everything now.

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                Phaedrux Moderator
                                last edited by 16 Nov 2020, 19:18

                                Only other thing I can think of is to try a new SD card in case it's having problems reading the file system.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                1 Reply Last reply Reply Quote 0
                                8 out of 15
                                • First post
                                  8/15
                                  Last post
                                Unless otherwise noted, all forum content is licensed under CC-BY-SA