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

    Slow upload rates and connection errors

    Scheduled Pinned Locked Moved
    Duet Web Control
    3
    15
    788
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      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
      • WillGIamundefined
        WillGIam
        last edited by

        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?

        Phaedruxundefined dc42undefined 2 Replies Last reply Reply Quote 0
        • WillGIamundefined
          WillGIam
          last edited by

          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
          • Phaedruxundefined
            Phaedrux Moderator @WillGIam
            last edited by

            @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

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

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

              Z-Bot CoreXY Build | Thingiverse Profile

              WillGIamundefined 1 Reply Last reply Reply Quote 0
              • WillGIamundefined
                WillGIam @Phaedrux
                last edited by

                @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
                • dc42undefined
                  dc42 administrators @WillGIam
                  last edited by

                  @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
                  • WillGIamundefined
                    WillGIam @Phaedrux
                    last edited by WillGIam

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

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

                      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

                      WillGIamundefined 1 Reply Last reply Reply Quote 0
                      • WillGIamundefined
                        WillGIam @Phaedrux
                        last edited by

                        @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
                        • Phaedruxundefined
                          Phaedrux Moderator
                          last edited by

                          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
                          • First post
                            Last post
                          Unless otherwise noted, all forum content is licensed under CC-BY-SA