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

    Help! DWC Disconnects and Drops after extensive troubleshooting

    Scheduled Pinned Locked Moved
    Duet Web Control
    6
    38
    1.7k
    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.
    • Danalundefined
      Danal
      last edited by Danal

      Strictly for troubleshooting, have you considered putting the printer in Access Point mode?

      Then testing with a phone or tablet or laptop a few feet from the printer, then further away, etc. Then with the mobile device in the next room... then near the router... etc, etc. A demonstrable "map" of connectivity.

      This type of testing removes your home network from the picture. Once you've verified that the DWC is (or is not!!!) stable from various distances when the link is direct printer<>device, you can go back to making it reliable on your home network, with some data points in your mind about the printer's basic physical capability to wirelessly reach various places in your home.

      Delta / Kossel printer fanatic

      1 Reply Last reply Reply Quote 0
      • alexd607undefined
        alexd607
        last edited by

        @Danal

        I attempted access point mode already with no success. It's not a matter of physical distance for sure, as my printer is literally adjacent to my wifi modem with no barriers between them.

        Printer:
        Hypercube Evolution 445, custom built.

        1 Reply Last reply Reply Quote 0
        • Danalundefined
          Danal
          last edited by Danal

          Edit: Wrong thread. What I meant to say here:

          If AP mode is unstable, it is guaranteed that everything else will be unstable. Go back to AP mode, thus eliminating a whole bunch of variables, and debug from there.

          Delta / Kossel printer fanatic

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

            Probably minor, but you have M587 in your config.g. You should comment this out or delete. From the Gcode dictionary:

            Important! Do not use M587 within config.g. As well as being a security hazard, writing the access point parameters to WiFi chip every time you start the Duet may eventually wear out the flash memory. Also, the wifi module does not get enabled until the end of running config.g. It is better to use a macro to send M587 (source: https://forum.duet3d.com/post/42798)

            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

            1 Reply Last reply Reply Quote 0
            • alexd607undefined
              alexd607
              last edited by

              Well...it has officially quit working completely...

              When I try to access the DWC I'm met with a blank white screen that never populates...

              @dc42 would doing a hard firmware reset be a possible solution?

              Printer:
              Hypercube Evolution 445, custom built.

              Danalundefined 1 Reply Last reply Reply Quote 0
              • Danalundefined
                Danal @alexd607
                last edited by

                @alexd607 said in Help! DWC Disconnects and Drops after extensive troubleshooting:

                When I try to access the DWC I'm met with a blank white screen that never populates...

                Does it time out?

                Can you ping it?

                Delta / Kossel printer fanatic

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

                  @alexd607 said in Help! DWC Disconnects and Drops after extensive troubleshooting:

                  @droftarts

                  I don't have a filament sensor or panel due fitted.

                  It's strange that that is what it's reporting considering the last reset was done by me via M112.

                  Please run another M122 report after the network has disconnected, without doing any emergency stops. I want to see if the "Heat task stuck" report is a recurring thing, or if it is a consequence of the emergency stop.

                  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

                  alexd607undefined 1 Reply Last reply Reply Quote 0
                  • alexd607undefined
                    alexd607 @Danal
                    last edited by

                    @Danal

                    It does not timeout, and it still pings without any loss.

                    Printer:
                    Hypercube Evolution 445, custom built.

                    1 Reply Last reply Reply Quote 0
                    • alexd607undefined
                      alexd607 @dc42
                      last edited by

                      @dc42

                      I was able to get momentarily connected and run M122 right after power-up, here's the result:

                      M122
                      === Diagnostics ===
                      RepRapFirmware for Duet 2 WiFi/Ethernet version 2.04 running on Duet WiFi 1.02 or later
                      Board ID: 08DGM-9T6BU-FG3S0-7J1F6-3S06T-9A43F
                      Used output buffers: 3 of 24 (18 max)
                      === RTOS ===
                      Static ram: 25680
                      Dynamic ram: 92808 of which 356 recycled
                      Exception stack ram used: 268
                      Never used ram: 11960
                      Tasks: NETWORK(ready,676) HEAT(blocked,1232) MAIN(running,3808) IDLE(ready,200)
                      Owned mutexes:
                      === Platform ===
                      Last reset 00:00:44 ago, cause: power up
                      Last software reset at 2019-12-04 09:23, reason: Heat task stuck, spinning module FilamentSensors, available RAM 11568 bytes (slot 1)
                      Software reset code 0x40ad HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f80f BFAR 0xe000ed38 SP 0x20004a9c Task 0x4e49414d
                      Stack: 0044d38f 004451d6 6100f000 3f000000 00000000 00000000 00000000 3331bb4c 41880000 3e178897 3e1cd04f be09b238 3e3a3fd4 00000000 00000000 00000000 3f800000 3f800000 3f000000 20000010 20003258 20002b88 0044d38f
                      Error status: 0
                      Free file entries: 8
                      SD card 0 detected, interface speed: 20.0MBytes/sec
                      SD card longest block write time: 0.0ms, max retries 0
                      MCU temperature: min 26.5, current 26.8, max 27.0
                      Supply voltage: min 24.3, current 24.4, max 24.5, 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: 2019-12-06 08:24:47
                      Cache data hit count 157313766
                      Slowest loop: 1.10ms; fastest: 0.07ms
                      I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
                      === Move ===
                      Hiccups: 0, FreeDm: 160, MinFreeDm: 160, MaxWait: 0ms
                      Bed compensation in use: none, comp offset 0.000
                      === DDARing ===
                      Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
                      === Heat ===
                      Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
                      Heater 2 is on, I-accum = 0.0
                      === GCodes ===
                      Segments left: 0
                      Stack records: 1 allocated, 0 in use
                      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
                      serial is idle in state(s) 0
                      aux is idle in state(s) 0
                      daemon is idle in state(s) 0
                      queue is idle in state(s) 0
                      autopause is idle in state(s) 0
                      Code queue is empty.
                      === Network ===
                      Slowest loop: 201.19ms; fastest: 0.08ms
                      Responder states: HTTP(2) HTTP(2) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
                      HTTP sessions: 1 of 8

                      • WiFi -
                        Network state is running
                        WiFi module is connected to access point
                        Failed messages: pending 0, notready 0, noresp 1
                        WiFi firmware version 1.23
                        WiFi MAC address 84:f3:eb:83:48:e5
                        WiFi Vcc 3.39, reset reason Power on
                        WiFi flash size 4194304, free heap 16832
                        WiFi IP address 192.168.1.151
                        WiFi signal strength -21dBm, reconnections 0, sleep mode modem
                        Socket states: 2 2 0 0 0 0 0 0

                      Printer:
                      Hypercube Evolution 445, custom built.

                      droftartsundefined 1 Reply Last reply Reply Quote 0
                      • Danalundefined
                        Danal
                        last edited by

                        If it pings, you have a solid network connection and we can quit looking at the basic networking stuff.

                        Were it me, I'd rebuild the www directory on the SD card.

                        And/or, as a test, you can put your own "test.html" page on the www directory, and test via:

                        http://(ip of printer)/test.html

                        Delta / Kossel printer fanatic

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

                          @alexd607 said in Help! DWC Disconnects and Drops after extensive troubleshooting:

                          Last software reset at 2019-12-04 09:23, reason: Heat task stuck, spinning module FilamentSensors, available RAM 11568 bytes (slot 1)
                          Software reset code 0x40ad HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f80f BFAR 0xe000ed38 SP 0x20004a9c Task 0x4e49414d
                          Stack: 0044d38f 004451d6 6100f000 3f000000 00000000 00000000 00000000 3331bb4c 41880000 3e178897 3e1cd04f be09b238 3e3a3fd4 00000000 00000000 00000000 3f800000 3f800000 3f000000 20000010 20003258 20002b88 0044d38f
                          Error status: 0

                          @dc42 Same error again

                          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

                          droftartsundefined 1 Reply Last reply Reply Quote 0
                          • alexd607undefined
                            alexd607 @Danal
                            last edited by

                            @Danal

                            I've tried rebuilding the www folder already, as well as every other folder. I've tried rolling back to older firmware, and I've tried reloading the most recent full releases. All had the same result, no luck.

                            Printer:
                            Hypercube Evolution 445, custom built.

                            1 Reply Last reply Reply Quote 0
                            • Danalundefined
                              Danal
                              last edited by

                              If it pings, you can get packets to/from. That means WiFi is working, fundamental packet routing, etc. If it does not show a web page, that means something is broken in the HTTP layer, or web server, or content.

                              To help decide which try putting:

                              <html>
                              <head>
                              <title>Test Title</title>
                              </head>
                              <body>
                              Test Body
                              </body>
                              </html> 
                              

                              In /www/test.html

                              Then use a browser to attempt to load http://(ip of printer)/test.html

                              What happens?

                              Delta / Kossel printer fanatic

                              alexd607undefined 1 Reply Last reply Reply Quote 0
                              • alexd607undefined
                                alexd607 @Danal
                                last edited by

                                @Danal

                                I'll give this a try this evening and report back.

                                Printer:
                                Hypercube Evolution 445, custom built.

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

                                  @alexd607 said in Help! DWC Disconnects and Drops after extensive troubleshooting:

                                  Last software reset at 2019-12-04 09:23, reason: Heat task stuck, spinning module FilamentSensors, available RAM 11568 bytes (slot 1)
                                  Software reset code 0x40ad HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f80f BFAR 0xe000ed38 SP 0x20004a9c Task 0x4e49414d
                                  Stack: 0044d38f 004451d6 6100f000 3f000000 00000000 00000000 00000000 3331bb4c 41880000 3e178897 3e1cd04f be09b238 3e3a3fd4 00000000 00000000 00000000 3f800000 3f800000 3f000000 20000010 20003258 20002b88 0044d38f
                                  Error status: 0

                                  @dc42 Same error again

                                  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

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

                                    Please try firmware 2.05RC2 in case this issue is related to a USB output issue in previous releases.

                                    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

                                    alexd607undefined 1 Reply Last reply Reply Quote 0
                                    • alexd607undefined
                                      alexd607 @dc42
                                      last edited by

                                      @dc42

                                      Tried upgrading to firmware 2.05RC2. No change.

                                      Printer:
                                      Hypercube Evolution 445, custom built.

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