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

Random disconnects DuetWifi 3.01 RC12

Scheduled Pinned Locked Moved
Beta Firmware
9
50
2.0k
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
    Viald
    last edited by 14 May 2020, 13:10

    Tested with Chrome, no disconnection at all 🙂

    K250VS Delta Printer / Duet 2 WiFi / Firmware: 2.05.1 / Duet WiFi Server Version: 1.23 / Duet Web Control 2.0.7

    1 Reply Last reply Reply Quote 0
    • undefined
      Phaedrux Moderator @mike5490
      last edited by Phaedrux 14 May 2020, 18:53

      @mike5490 said in Random disconnects DuetWifi 3.01 RC12:

      Is there any way to fix or replace the wifi module if it is failing?

      Yes it can be replaced if you're handy with soldering. I believe a hot air rework station is recommended.

      Check this thread out. He was able to remove it with just a soldering iron.

      https://forum.duet3d.com/topic/15033/12v-on-the-5v-rail/46?_=1589482012979

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • undefined
        mike5490
        last edited by 14 May 2020, 20:27

        Okay, thank you.

        Is there anything else that could potentially be the problem, as I'd only like to start desoldering parts from the board as a last option or is the wifi chip the most likely cause?

        1 Reply Last reply Reply Quote 0
        • undefined
          Phaedrux Moderator
          last edited by 14 May 2020, 20:42

          Well we've ruled out the firmware, and your signal strength is good, you've tried another router.

          Unless there is some other source of interference in the area you can identify and eliminate.

          You could try switching to another wifi channel.

          You can try and provide an M122 from when it's disconnected.

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • undefined
            mike5490
            last edited by 14 May 2020, 22:25

            Trying multiple different wifi channels didn't seem to have any effect on it.

            This is my results from M122 after it disconnects

            M122
            === Diagnostics ===
            RepRapFirmware for Duet 2 WiFi/Ethernet version 3.01-RC12 running on Duet WiFi 1.02 or later + DueX5
            Board ID: 08DGM-956GU-DJMSN-6J1DL-3SN6M-TTNRF
            Used output buffers: 3 of 24 (8 max)
            === RTOS ===
            Static ram: 28084
            Dynamic ram: 94064 of which 20 recycled
            Exception stack ram used: 600
            Never used ram: 8304
            Tasks: NETWORK(ready,804) HEAT(blocked,1228) DUEX(blocked,160) MAIN(running,1820) IDLE(ready,76)
            Owned mutexes: I2C(DUEX)
            === Platform ===
            Last reset 00:02:19 ago, cause: power up
            Last software reset at 2020-05-13 22:26, reason: Stuck in spin loop, spinning module Move, available RAM 8240 bytes (slot 2)
            Software reset code 0x4084 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f80f BFAR 0xe000ed38 SP 0x20004344 Task IDLE
            Stack: 004549dd 00455412 61000000 a5a5a5a5 004549dd a5a5a5a5 a5a5a5a5 2000436c 2000425c 00000002 20005194
            Error status: 0
            MCU temperature: min 24.1, current 31.2, max 31.5
            Supply voltage: min 24.3, current 24.5, max 24.7, 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
            Driver 5: standstill, SG min/max not available
            Driver 6: standstill, SG min/max not available
            Driver 7: standstill, SG min/max not available
            Driver 8: standstill, SG min/max not available
            Driver 9: standstill, SG min/max 0/0
            Date/time: 2020-05-14 15:23:48
            Cache data hit count 241975993
            Slowest loop: 25.44ms; fastest: 0.12ms
            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 4.9ms, write time 0.0ms, max retries 0
            === Move ===
            Hiccups: 0(0), FreeDm: 169, MinFreeDm: 167, MaxWait: 17823ms
            Bed compensation in use: none, comp offset 0.000
            === MainDDARing ===
            Scheduled moves: 16, completed moves: 16, 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 idle 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: 31624.06ms; fastest: 0.00ms
            Responder states: HTTP(2) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
            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 5c:cf:7f:76:68:e0
              WiFi Vcc 3.42, reset reason Unknown
              WiFi flash size 4194304, free heap 24696
              WiFi IP address 192.168.1.101
              WiFi signal strength -34dBm, reconnections 0, sleep mode modem
              Socket states: 4 0 0 0 0 0 0 0
              === DueX ===
              Read count 19153, 8254.12 reads/min
            ? 1 Reply Last reply 18 May 2020, 06:42 Reply Quote 0
            • undefined
              Phaedrux Moderator
              last edited by Phaedrux 15 May 2020, 02:03

              Was that while disconnected or after reconnection?

              Z-Bot CoreXY Build | Thingiverse Profile

              undefined 1 Reply Last reply 15 May 2020, 04:34 Reply Quote 0
              • undefined
                mike5490 @Phaedrux
                last edited by 15 May 2020, 04:34

                That was after it had reconnected. Is it possible to get a readout while it’s disconnected?

                undefined 1 Reply Last reply 15 May 2020, 11:49 Reply Quote 0
                • undefined
                  dc42 administrators @mike5490
                  last edited by 15 May 2020, 11:49

                  @mike5490 said in Random disconnects DuetWifi 3.01 RC12:

                  That was after it had reconnected. Is it possible to get a readout while it’s disconnected?

                  Yes, via USB.

                  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
                    mike5490
                    last edited by 15 May 2020, 16:53

                    I tried to get a M122 while it's disconnected but have been unable to

                    Every time it disconnects the USB connection to my computer also disconnects, similar to as if I was unplugging the USB cable

                    ? 1 Reply Last reply 18 May 2020, 05:44 Reply Quote 0
                    • undefined
                      mike5490
                      last edited by 18 May 2020, 05:35

                      After a bit more troubleshooting I've determined that the printer behaves as if I sent a M999 command but it occurs at random times

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @mike5490
                        last edited by 18 May 2020, 05:44

                        @mike5490 said in Random disconnects DuetWifi 3.01 RC12:

                        Every time it disconnects the USB connection to my computer also disconnects

                        this always happen when the board is reset.

                        @mike5490 said in Random disconnects DuetWifi 3.01 RC12:

                        I've determined that the printer behaves as if I sent a M999

                        running M122 first thing after connecting to the board again would be helpful. is there anything that could short against the reset pins or trigger the reset switch on the board? pictures and M122 might provide some insight.

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          mike5490
                          last edited by 18 May 2020, 05:57

                          The results from M122 immediately after it reconnects are provided above in a previous post. There's nothing that could be pressing against the reset button.

                          This is how the board is currently wired
                          IMG_1079.jpg

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            dc42 administrators
                            last edited by 18 May 2020, 06:19

                            Please upgrade to 3.1.0 release firmware and if the problem continues, post another M122 report taken immediately after it reconnects.

                            The ground wire between your Duet and DueX5 isn't done according to our wiring instructions. This might be part of the problem, OTOH the wires between them and the DueX5 are short, which will help to mitigate the incorrect wiring.

                            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
                            • ?
                              A Former User @mike5490
                              last edited by 18 May 2020, 06:42

                              @mike5490 said in Random disconnects DuetWifi 3.01 RC12:

                              The results from M122 immediately after it reconnects are provided above in a previous post. There's nothing that could be pressing against the reset button.

                              as in

                              Last reset 00:02:19 ago, cause: power up

                              ?

                              Unless the firmware is wrong it would suggest you had a power glitch? In any case, what he said ☝

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                mike5490
                                last edited by 18 May 2020, 21:24

                                Thank you for pointing out the wiring issue. Unfortunately after fixing that and upgrading to firmware 3.1.0 I am still having the same problem.

                                This is my M122 immediately after the printer reconnects.

                                M122
                                === Diagnostics ===
                                RepRapFirmware for Duet 2 WiFi/Ethernet version 3.1.0 running on Duet WiFi 1.02 or later + DueX5
                                Board ID: 08DGM-956GU-DJMSN-6J1DL-3SN6M-TTNRF
                                Used output buffers: 3 of 24 (12 max)
                                === RTOS ===
                                Static ram: 28180
                                Dynamic ram: 94088 of which 60 recycled
                                Exception stack ram used: 264
                                Never used ram: 8480
                                Tasks: NETWORK(ready,36) HEAT(blocked,1224) DUEX(suspended,160) MAIN(running,1816) IDLE(ready,80)
                                Owned mutexes: WiFi(NETWORK)
                                === Platform ===
                                Last reset 00:00:10 ago, cause: software
                                Last software reset at 2020-05-18 14:22, reason: Stuck in spin loop, spinning module Move, available RAM 8080 bytes (slot 1)
                                Software reset code 0x4084 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f80f BFAR 0xe000ed38 SP 0x200043ac Task IDLE
                                Stack: 00454afd 00455530 61000000 a5a5a5a5 00454afd a5a5a5a5 200043d0 200042c0 00000002 200051f4 0000be35
                                Error status: 0
                                MCU temperature: min 29.5, current 30.9, max 31.1
                                Supply voltage: min 24.3, current 24.5, max 24.6, 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
                                Driver 5: standstill, SG min/max not available
                                Driver 6: standstill, SG min/max not available
                                Driver 7: standstill, SG min/max not available
                                Driver 8: standstill, SG min/max not available
                                Driver 9: standstill, SG min/max not available
                                Date/time: 2020-05-18 14:22:39
                                Cache data hit count 15987603
                                Slowest loop: 2.94ms; fastest: 0.13ms
                                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 1.5ms, 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 idle 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: 15.67ms; fastest: 0.00ms
                                Responder states: HTTP(0) HTTP(0) HTTP(0) 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 5c:cf:7f:76:68:e0
                                  WiFi Vcc 3.41, reset reason Unknown
                                  WiFi flash size 4194304, free heap 25200
                                  WiFi IP address 192.168.1.101
                                  WiFi signal strength -38dBm, reconnections 0, sleep mode modem
                                  Socket states: 0 0 0 0 0 0 0 0
                                  === DueX ===
                                  Read count 1, 5.62 reads/min
                                undefined 1 Reply Last reply 18 May 2020, 22:10 Reply Quote 0
                                • undefined
                                  chrishamm administrators @mike5490
                                  last edited by 18 May 2020, 22:10

                                  @mike5490 Can you please share your config.g? How can you reproduce it? If it happens while printing a certain file or while running a certain macro, please share that, too.

                                  Duet software engineer

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    mike5490
                                    last edited by 18 May 2020, 22:41

                                    I don't know how to reproduce the problem as it's intermittent and I haven't been able to find a cause yet. I haven't bothered to run any macros or prints yet as I'm trying to get the printer working correctly first.

                                    Here's my current config.g file

                                    config.g

                                    undefined 1 Reply Last reply 19 May 2020, 10:22 Reply Quote 0
                                    • undefined
                                      dc42 administrators @mike5490
                                      last edited by 19 May 2020, 10:22

                                      @mike5490 said in Random disconnects DuetWifi 3.01 RC12:

                                      I don't know how to reproduce the problem as it's intermittent and I haven't been able to find a cause yet. I haven't bothered to run any macros or prints yet as I'm trying to get the printer working correctly first.

                                      Here's my current config.g file

                                      config.g

                                      Please try again with the 3.1.1 release, which we hope to make available later today.

                                      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
                                        mike5490
                                        last edited by 19 May 2020, 15:42

                                        @dc42 I installed the internal build for 3.1.1 -18b8 last night and am still having the same disconnect problems.

                                        undefined 1 Reply Last reply 19 May 2020, 21:24 Reply Quote 0
                                        • undefined
                                          dc42 administrators @mike5490
                                          last edited by 19 May 2020, 21:24

                                          Please try the official 3.1.1 release.

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