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

    New test firmware 1.19+4 and DuetWiFiServer 1.19+1

    Scheduled Pinned Locked Moved
    Firmware installation
    8
    36
    3.9k
    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.
    • Jareryundefined
      Jarery
      last edited by

      @dc42:

      If the WiFi module has disconnected from your router then it should write a message to USB saying so and giving progress information about the reconnection attempt. This was new in 1.19.2.

      Doing a mesh bed calibration it disconnects mid way through. No output or messages on MacPronterface which was connected via serial at the time. I get no messages via serial at all unless I type a command to get a response.

      On the MacPronterface if I do a M122 I get the following Wifi section:

      Network state is running
      WiFi module is connected to access point
      WiFi firmware version 1.19.2
      WiFi MAC address 5c:cf:7f:a4:a1:64
      WiFi Vcc 3.13, reset reason Turned on by main processor
      WiFi flash size 4194304, free heap 39840
      WiFi IP address 192.168.2.54
      WiFi signal strength -38dBm
      Reconnections 0
      HTTP sessions: 1 of 8
      Socket states: 0 0 0 0 0 0 0 0
      Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)

      Trying to reconnect via browser that was open previously is " Error, Could not establish a connection to the Duet firmware! Please check your settings and try again" repeatedly, unable to reconnect.

      Opening a new browser, to check Router (Asus AC3100) I see its connected and assigned an IP. Clicking on IP within router browser its unable to open a new window, it just times out.

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

        That sounds like a different failure mode (connection stable but messages not getting through). Try enabling Webserver and Network debugging using M111, then see whether the failed attempts to open a session in a browser give rise to any debug messages in Pronterface.

        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
        • Jareryundefined
          Jarery
          last edited by

          heres whats the serial connection reports after after a disconnect :

          HTTP connection accepted
          Found responder
          Received 394 bytes
          Sending reply, file = no
          HTTP req, command words { GET /rr_status HTTP/1.1 }, parameters { type=3 }
          New conn on socket 0 for local port 80
          HTTP connection accepted
          Found responder
          Received 394 bytes
          Sending reply, file = no
          HTTP req, command words { GET /rr_status HTTP/1.1 }, parameters { type=3 }
          New conn on socket 0 for local port 80
          HTTP connection accepted
          Found responder
          Received 394 bytes
          Sending reply, file = no
          HTTP req, command words { GET /rr_status HTTP/1.1 }, parameters { type=3 }
          Class Network spinning.
          Class Network spinning.
          Class Network spinning.

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

            According to that, the Duet appears to be behaving correctly. Can you get a Wireshark trace of the network traffic?

            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
            • Jareryundefined
              Jarery
              last edited by

              That is beyond my current level of network troubleshooting ability…

              Once it disconnects, My web browser just repeatedly states it cannot connect, and the serial output is :
              Class Network spinning.
              Class Network spinning.
              Class Network spinning.
              Class Network spinning.
              File DuetWifi_Wiring_Box.gcode print time was 5h 8m
              Class Network spinning.
              Class Network spinning.
              Class Network spinning.
              Class Network spinning.

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

                Sounds like the WiFi module has stopped responding. Sending M552 S-1 to reset it followed by M552 S1 to reconnect may get it working again, but that doesn't solve the problem.

                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
                • Adamfilipundefined
                  Adamfilip
                  last edited by

                  Noticed that my PanelDue 7 flashes now every second or so. didnt do this before.. not sure whats causing it.

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

                    If you mean the backlight flashes on and off, or isn't a steady brightness, that's common if you try to power a 7" PanelDue from USB power only. A standard 500mA USB port can't provide enough current for the 7" display.

                    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
                    • Jareryundefined
                      Jarery
                      last edited by

                      @dc42:

                      Sounds like the WiFi module has stopped responding. Sending M552 S-1 to reset it followed by M552 S1 to reconnect may get it working again, but that doesn't solve the problem.

                      This helps occasionally.
                      After initial power on, once connected it seems to remain connected until I print. I have yet to have a print go beyond 15-20 min and stay connected since the update from 1.18

                      I have a macro that disconnects wifi and reactivates so after it loses connection I can attempt to reacquire. I have maybe 50-50 success rate. Many times, doing this still I am unable to require web browser. The only sure fire way is to power completely off, unplug serial if connected, and power back up. Even if i do reacquire connection mid print using this method (macro not reboot) it disconnects again after a period of time.

                      My router shows ip assigned the entire time.

                      Safari, chrome, etc, browser has no change.

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

                        If you run M122 after a print, what MaxReps value does it give?

                        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
                        • Jareryundefined
                          Jarery
                          last edited by

                          Tested during a print last night.
                          Disconnected 5 or 6 times I believe. Near the end of the print after I reconnected (by using M552 S-1, M552 S1) it stated MaxReps 5.
                          After print completed when I connect and do a M122 it says MaxReps 4.

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

                            That value is nice and low, so it looks like excessive step pulse rate isn't a factor.

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