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

    WiFi issues with 3.5.4

    Scheduled Pinned Locked Moved
    General Discussion
    4
    23
    410
    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.
    • droftartsundefined
      droftarts administrators @fcwilt
      last edited by

      @fcwilt This is a known problem with some WiFi setups. Generally it's caused by the increasing size of the Object Model with each firmware release, and how long it takes DWC and PanelDue to retrieve the data from the firmware. Overlapping requests eventually cause the firmware to run out of buffers. RRF 3.6 betas have addressed this issue, but there are a few things you can do in existing releases:

      • In DWC > Settings > Machine specific > Communication panel, set "Number of maximum AJAX retries" to 4
      • Update PanelDue firmware to the latest https://github.com/Duet3D/PanelDueFirmware/releases/latest
      • Update DuetWiFiServer to v2.2.1 https://github.com/Duet3D/WiFiSocketServerRTOS/releases/latest
      • Remove any redundant configuration data that increases the size of the OM. The problem is most prevalent on toolchangers, where extra expansion boards and more configured motors, heaters and sensors create a larger OM.
      • Remove any redundant networking protocols (telnet, ftp - enabled with M586)

      Ian

      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

      fcwiltundefined 2 Replies Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt @dc42
        last edited by

        @dc42

        Thanks. Will do that.

        Frederick

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

        1 Reply Last reply Reply Quote 0
        • fcwiltundefined
          fcwilt @droftarts
          last edited by

          @droftarts

          Thanks for the feedback.

          I did not realize the size of the object model could affect WiFi.

          Not knowing that I have made extensive used of the object model to create data driven code which allows the code to be used on any printer by having the values that are unique to the printer in the object model, rather than in the code itself.

          I would not like to have to abandon that approach.

          And I am using both FTP and Telnet so disabling them would be a bummer.

          I will make the settings change and update the firmware.

          Frederick

          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

          droftartsundefined 1 Reply Last reply Reply Quote 0
          • droftartsundefined
            droftarts administrators @fcwilt
            last edited by

            @fcwilt I don't know exactly what data is requested from the OM for DWC and PanelDue, I think only the changing data, so I doubt it will be affected by your use of data driven code. It's more the increase in the number of sensors and configured drives, whose positions are frequently updated, ie whatever is displayed in DWC and PanelDue. @dc42 and @chrishamm will know better than me, though.

            Ian

            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

            fcwiltundefined 1 Reply Last reply Reply Quote 1
            • fcwiltundefined
              fcwilt @droftarts
              last edited by

              @droftarts

              That does make sense. Why would any thing other than my code need to know that values in the object model.

              Frederick

              Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

              1 Reply Last reply Reply Quote 0
              • fcwiltundefined
                fcwilt @droftarts
                last edited by

                @droftarts

                Hi,

                I made all the changes I could:

                • Retry setting
                • PanelDue firmware
                • DuetWiFiServer firmware

                The DWC reports the new version number. The PanelDue reports the new version number.

                The WiFi still disconnects.

                This is not good.

                I suppose I could create a temp config.g file with a bare minimum of items just for testing.

                Is is possible to revert firmware back to the previous versions?

                Any other ideas?

                Frederick

                Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                droftartsundefined 1 Reply Last reply Reply Quote 0
                • droftartsundefined
                  droftarts administrators @fcwilt
                  last edited by

                  @fcwilt Try it with the 3.6.0-beta.4. Or revert everything to 3.4.6.

                  Ian

                  Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                  fcwiltundefined 1 Reply Last reply Reply Quote 0
                  • fcwiltundefined
                    fcwilt @droftarts
                    last edited by

                    @droftarts said in WiFi issues with 3.5.4:

                    @fcwilt Try it with the 3.6.0-beta.4. Or revert everything to 3.4.6.

                    Ian

                    I know how to upgrade.

                    How do I revert if that is what I have to do?

                    Thanks.

                    Frederick

                    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                    jay_s_ukundefined droftartsundefined 2 Replies Last reply Reply Quote 0
                    • jay_s_ukundefined
                      jay_s_uk @fcwilt
                      last edited by

                      @fcwilt same way

                      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

                      fcwiltundefined 1 Reply Last reply Reply Quote 0
                      • fcwiltundefined
                        fcwilt @jay_s_uk
                        last edited by

                        @jay_s_uk said in WiFi issues with 3.5.4:

                        @fcwilt same way

                        So I upload the old version files and it will ask if I want to install?

                        Frederick

                        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                        1 Reply Last reply Reply Quote 0
                        • droftartsundefined
                          droftarts administrators @fcwilt
                          last edited by droftarts

                          @fcwilt Reverting is easier, because you just upload the 3.4.6 release zip file. But 3.6 isn't too far away from being released, and it would be good to get your feedback if anything is broken for you before we release!

                          And people that have had WiFi issues have found the latest 3.6 beta (along with the other suggestions) fixes them.

                          Ian

                          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                          fcwiltundefined 2 Replies Last reply Reply Quote 0
                          • fcwiltundefined
                            fcwilt @droftarts
                            last edited by

                            @droftarts said in WiFi issues with 3.5.4:

                            @fcwilt Reverting is easier, because you just upload the 3.4.6 release zip file. But 3.6 isn't too far away from being released, and it would be good to get your feedback if anything is broken for you before we release!

                            Ian

                            Glad to help.

                            In the past I have avoided the betas and rcs as I did not realize it was possible to go back to an older version.

                            Knowing that I will give the beta a go.

                            Frederick

                            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                            1 Reply Last reply Reply Quote 0
                            • fcwiltundefined
                              fcwilt @droftarts
                              last edited by

                              @droftarts

                              I went to the site to download the beta files but I don't see the ZIP file of all of the Duet 3 files I am used to using.

                              So I guess I need some of the files list.

                              Which ones?

                              Thanks.

                              Frederick

                              Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                              droftartsundefined 1 Reply Last reply Reply Quote 0
                              • droftartsundefined
                                droftarts administrators @fcwilt
                                last edited by

                                @fcwilt assuming you’re running standalone, the ones whose name matches your board(s), so probably Duet3Firmware_Mini5plus.uf2, and DuetWebControl-SD.zip. Upload them as-is.

                                Ian

                                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                fcwiltundefined 2 Replies Last reply Reply Quote 0
                                • fcwiltundefined
                                  fcwilt @droftarts
                                  last edited by

                                  @droftarts

                                  Thanks much.

                                  I will give that a try and let you know.

                                  Frederick

                                  Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                  1 Reply Last reply Reply Quote 0
                                  • fcwiltundefined
                                    fcwilt @droftarts
                                    last edited by

                                    @droftarts

                                    I gather the Duet WiFi Server at version 2.2.1 doesn't need to change?

                                    Thanks.

                                    Frederick

                                    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                    droftartsundefined 1 Reply Last reply Reply Quote 0
                                    • droftartsundefined
                                      droftarts administrators @fcwilt
                                      last edited by

                                      @fcwilt no, as that’s the version that’s distributed with 3.6.0-beta.4

                                      Ian

                                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                      fcwiltundefined 1 Reply Last reply Reply Quote 0
                                      • fcwiltundefined
                                        fcwilt @droftarts
                                        last edited by

                                        @droftarts

                                        Well I updated to 3.6.0 BETA 4 and the WiFi connection failed even sooner than it did under 3.5.4.

                                        The features of 3.6 sound interesting but not at the expense of no WiFi connection.

                                        I was able to revert to 3.4.6 so that is good for now.

                                        Thanks.

                                        Frederick

                                        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                        droftartsundefined 1 Reply Last reply Reply Quote 0
                                        • droftartsundefined
                                          droftarts administrators @fcwilt
                                          last edited by

                                          @fcwilt it would be good to work out why it disconnects for you. I’ll ask @dc42 what information he needs to troubleshoot, if you’re willing to give it another go. Otherwise you’re going to be stuck on 3.4, because as far as we’re concerned, the issue is fixed.

                                          Ian

                                          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                          fcwiltundefined 2 Replies Last reply Reply Quote 0
                                          • fcwiltundefined
                                            fcwilt @droftarts
                                            last edited by

                                            @droftarts said in WiFi issues with 3.5.4:

                                            @fcwilt it would be good to work out why it disconnects for you. I’ll ask @dc42 what information he needs to troubleshoot, if you’re willing to give it another go. Otherwise you’re going to be stuck on 3.4, because as far as we’re concerned, the issue is fixed.

                                            Ian

                                            I have a couple of other Duet 3 boards I could setup on the bench IF testing without actually being able to print would prove anything.

                                            There could still be connected steppers, temp sensors, etc - just not assembled into a working printer.

                                            Frederick

                                            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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