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

    WiFi Unreliable

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    10
    114
    7.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.
    • SIamundefined
      SIam @DessiVerse
      last edited by

      @dessiverse this looks good so far now the Wi-Fi has a software version and now test if this problem persists

      Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
      Duet WiFi 1.02 or later + DueX5
      RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
      Duet WiFi Server: 1.26
      Duet Web Control 3.4.0beta4 (2021-09-27)

      1 Reply Last reply Reply Quote 0
      • DessiVerseundefined
        DessiVerse
        last edited by DessiVerse

        @SIam, I'm trying to upload a gcode to test the speed and it seems like it keeps slowing down. So the same issue I was having previously. I'd like to note I don't have this issue in SBC mode.

        Screen Shot 2021-04-28 at 1.36.34 PM.png

        Screen Shot 2021-04-28 at 1.36.59 PM.png

        EDIT: It now slowed down to 1.8 KIB/s. Here is the current M122:

        Send: M122
        Recv: === Diagnostics ===
        Recv: RepRapFirmware for Duet 3 Mini 5+ version 3.3beta3 (2021-04-22 13:48:16) running on Duet 3 Mini5plus WiFi (standalone mode)
        Recv: Board ID: 7HDQX-V296U-D65J0-40KM8-MK03Z-R91J2
        Recv: Used output buffers: 2 of 40 (17 max)
        Recv: === RTOS ===
        Recv: Static ram: 101772
        Recv: Dynamic ram: 106336 of which 12 recycled
        Recv: Never used RAM 35584, free system stack 146 words
        Recv: Tasks: NETWORK(ready,15.8%,150) HEAT(delaying,0.0%,318) Move(notifyWait,0.1%,188) CanReceiv(notifyWait,0.0%,943) CanSender(notifyWait,0.0%,371) CanClock(delaying,0.0%,341) TMC(notifyWait,0.7%,115) MAIN(running,82.6%,372) IDLE(ready,0.0%,19) AIN(delaying,0.8%,273), total 100.0%
        Recv: Owned mutexes: WiFi(NETWORK) USB(MAIN)
        Recv: === Platform ===
        Recv: Last reset 00:08:20 ago, cause: power up
        Recv: Last software reset at 2021-04-28 12:14, reason: HardFault bfarValid precise, GCodes spinning, available RAM 35584, slot 2
        Recv: Software reset code 0x0063 HFSR 0x40000000 CFSR 0x00008200 ICSR 0x00000803 BFAR 0x00000044 SP 0x200036a8 Task MAIN Freestk 771 ok
        Recv: Stack: 00000000 2000374c 00000571 00000000 00000000 0007be25 000836d8 610f0200 2001d580 00000000 00000000 00088e39 00000000 00000000 00000000 ffffffff 369dc3a0 2001d580 20002a40 2001d37c 20003730 200037d8 200037d6 00088f33 00000001 200202e8 200180d8
        Recv: Error status: 0x00
        Recv: Aux0 errors 0,0,0
        Recv: Aux1 errors 0,0,0
        Recv: MCU revision 3, ADC conversions started 501054, completed 501052, timed out 0, errs 0
        Recv: Step timer max interval 1489
        Recv: MCU temperature: min 29.7, current 32.8, max 32.8
        Recv: Supply voltage: min 23.9, current 24.0, max 24.0, under voltage events: 0, over voltage events: 0, power good: yes
        Recv: Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
        Recv: Driver 0: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 10, reads 19090, writes 0, timeouts 0, DMA errors 0
        Recv: Driver 1: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 10, reads 19090, writes 0, timeouts 0, DMA errors 0
        Recv: Driver 2: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 9, reads 19091, writes 0, timeouts 0, DMA errors 0
        Recv: Driver 3: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 9, reads 19090, writes 0, timeouts 0, DMA errors 0
        Recv: Driver 4: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 9, reads 19090, writes 0, timeouts 0, DMA errors 0
        Recv: Driver 5: position 0, assumed not present
        Recv: Driver 6: position 0, assumed not present
        Recv: Date/time: 2021-04-28 13:38:55
        Recv: Cache data hit count 1012800891
        Recv: Slowest loop: 12.17ms; fastest: 0.12ms
        Recv: === Storage ===
        Recv: Free file entries: 9
        Recv: SD card 0 detected, interface speed: 22.5MBytes/sec
        Recv: SD card longest read time 4.2ms, write time 3.9ms, max retries 0
        Recv: === Move ===
        Recv: DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000
        Recv: === MainDDARing ===
        Recv: Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
        Recv: === AuxDDARing ===
        Recv: Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
        Recv: === Heat ===
        Recv: Bed heaters = 0 -1, chamberHeaters = -1 -1
        Recv: === GCodes ===
        Recv: Segments left: 0
        Recv: Movement lock held by null
        Recv: HTTP is idle in state(s) 0
        Recv: Telnet is idle in state(s) 0
        Recv: File is idle in state(s) 0
        Recv: USB is ready with "M122" in state(s) 0
        Recv: Aux is idle in state(s) 0
        Recv: Trigger is idle in state(s) 0
        Recv: Queue is idle in state(s) 0
        Recv: LCD is idle in state(s) 0
        Recv: SBC is idle in state(s) 0
        Recv: Daemon is idle in state(s) 0
        Recv: Aux2 is idle in state(s) 0
        Recv: Autopause is idle in state(s) 0
        Recv: Code queue is empty.
        Recv: === CAN ===
        Recv: Messages queued 3265, send timeouts 3265, received 0, lost 0, longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 17 (min 17)
        Recv: Last cancelled message type 30 dest 127
        Recv: === Network ===
        Recv: Slowest loop: 200.02ms; fastest: 0.06ms
        Recv: Responder states: HTTP(3) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
        Recv: HTTP sessions: 1 of 8
        Recv: - WiFi -
        Recv: Network state is active
        Recv: WiFi module is connected to access point
        Recv: Failed messages: pending 0, notready 0, noresp 1
        Recv: WiFi firmware version 1.26
        Recv: WiFi MAC address f0:08:d1:02:ec:f2
        Recv: WiFi Vcc 3.33, reset reason Power up
        Recv: WiFi flash size 2097152, free heap 20640
        Recv: WiFi IP address 10.0.0.201
        Recv: WiFi signal strength -36dBm, mode 802.11n, reconnections 0, sleep mode modem
        Recv: Clock register 00002002
        Recv: Socket states: 0 2 0 0 0 0 0 0
        Recv: ok
        Send: M105
        Recv: ok T:20.1 /0.0 T0:20.1 /0.0 B:22.5 /0.0
        
        jay_s_ukundefined 1 Reply Last reply Reply Quote 0
        • jay_s_ukundefined
          jay_s_uk @DessiVerse
          last edited by

          @dessiverse what sd card are you using? Brand and model?

          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

          DessiVerseundefined 2 Replies Last reply Reply Quote 0
          • DessiVerseundefined
            DessiVerse @jay_s_uk
            last edited by

            @jay_s_uk san disk edge, 8gb

            jay_s_ukundefined 1 Reply Last reply Reply Quote 0
            • DessiVerseundefined
              DessiVerse @jay_s_uk
              last edited by

              @jay_s_uk I just tried using my SanDisk Extreme Pro to see if it was an issue with that and it doesn't seem to be the case. I use that micro sd with my high fps camera so read and writes are never an issue.

              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @DessiVerse
                last edited by

                @dessiverse the 8gb one appears to only be a class 4. A class 10 may be better. I suggest trying another as card if you have one.

                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

                1 Reply Last reply Reply Quote 0
                • jay_s_ukundefined
                  jay_s_uk @DessiVerse
                  last edited by

                  @dessiverse what speeds were you seeing with the extreme?

                  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

                  DessiVerseundefined 1 Reply Last reply Reply Quote 0
                  • DessiVerseundefined
                    DessiVerse @jay_s_uk
                    last edited by

                    @jay_s_uk Screen Shot 2021-04-28 at 2.55.24 PM.png
                    same as before, and dropping since i took that screenshot. it's now down to 6 KIB/s.

                    jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                    • jay_s_ukundefined
                      jay_s_uk @DessiVerse
                      last edited by

                      @dessiverse can you grab an M122 output while its uploading with the slower speed?

                      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

                      DessiVerseundefined 1 Reply Last reply Reply Quote 0
                      • DessiVerseundefined
                        DessiVerse @jay_s_uk
                        last edited by

                        @jay_s_uk

                        Send: M122
                        Recv: === Diagnostics ===
                        Recv: RepRapFirmware for Duet 3 Mini 5+ version 3.3beta3 (2021-04-22 13:48:16) running on Duet 3 Mini5plus WiFi (standalone mode)
                        Recv: Board ID: 7HDQX-V296U-D65J0-40KM8-MK03Z-R91J2
                        Recv: Used output buffers: 1 of 40 (17 max)
                        Recv: === RTOS ===
                        Recv: Static ram: 101772
                        Recv: Dynamic ram: 106336 of which 12 recycled
                        Recv: Never used RAM 35584, free system stack 154 words
                        Recv: Tasks: NETWORK(ready,14.8%,221) HEAT(delaying,0.0%,318) Move(notifyWait,0.1%,188) CanReceiv(notifyWait,0.0%,943) CanSender(notifyWait,0.0%,371) CanClock(delaying,0.0%,341) TMC(notifyWait,0.7%,115) MAIN(running,83.6%,374) IDLE(ready,0.0%,19) AIN(delaying,0.8%,273), total 100.0%
                        Recv: Owned mutexes: WiFi(NETWORK) USB(MAIN)
                        Recv: === Platform ===
                        Recv: Last reset 00:04:46 ago, cause: power up
                        Recv: Last software reset at 2021-04-28 12:14, reason: HardFault bfarValid precise, GCodes spinning, available RAM 35584, slot 2
                        Recv: Software reset code 0x0063 HFSR 0x40000000 CFSR 0x00008200 ICSR 0x00000803 BFAR 0x00000044 SP 0x200036a8 Task MAIN Freestk 771 ok
                        Recv: Stack: 00000000 2000374c 00000571 00000000 00000000 0007be25 000836d8 610f0200 2001d580 00000000 00000000 00088e39 00000000 00000000 00000000 ffffffff 369dc3a0 2001d580 20002a40 2001d37c 20003730 200037d8 200037d6 00088f33 00000001 200202e8 200180d8
                        Recv: Error status: 0x00
                        Recv: Aux0 errors 0,0,0
                        Recv: Aux1 errors 0,0,0
                        Recv: MCU revision 3, ADC conversions started 286329, completed 286328, timed out 0, errs 0
                        Recv: Step timer max interval 752
                        Recv: MCU temperature: min 26.6, current 30.6, max 30.6
                        Recv: Supply voltage: min 23.9, current 24.0, max 24.0, under voltage events: 0, over voltage events: 0, power good: yes
                        Recv: Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
                        Recv: Driver 0: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 10, reads 10585, writes 0, timeouts 0, DMA errors 0
                        Recv: Driver 1: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 10, reads 10585, writes 0, timeouts 0, DMA errors 0
                        Recv: Driver 2: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 9, reads 10585, writes 0, timeouts 0, DMA errors 0
                        Recv: Driver 3: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 9, reads 10585, writes 0, timeouts 0, DMA errors 0
                        Recv: Driver 4: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 9, reads 10585, writes 0, timeouts 0, DMA errors 0
                        Recv: Driver 5: position 0, assumed not present
                        Recv: Driver 6: position 0, assumed not present
                        Recv: Date/time: 2021-04-28 14:54:39
                        Recv: Cache data hit count 551034519
                        Recv: Slowest loop: 4.92ms; fastest: 0.12ms
                        Recv: === Storage ===
                        Recv: Free file entries: 10
                        Recv: SD card 0 detected, interface speed: 22.5MBytes/sec
                        Recv: SD card longest read time 0.7ms, write time 0.0ms, max retries 0
                        Recv: === Move ===
                        Recv: DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000
                        Recv: === MainDDARing ===
                        Recv: Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
                        Recv: === AuxDDARing ===
                        Recv: Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
                        Recv: === Heat ===
                        Recv: Bed heaters = 0 -1, chamberHeaters = -1 -1
                        Recv: Heater 1 is on, I-accum = 0.0
                        Recv: === GCodes ===
                        Recv: Segments left: 0
                        Recv: Movement lock held by null
                        Recv: HTTP is idle in state(s) 0
                        Recv: Telnet is idle in state(s) 0
                        Recv: File is idle in state(s) 0
                        Recv: USB is ready with "M122" in state(s) 0
                        Recv: Aux is idle in state(s) 0
                        Recv: Trigger is idle in state(s) 0
                        Recv: Queue is idle in state(s) 0
                        Recv: LCD is idle in state(s) 0
                        Recv: SBC is idle in state(s) 0
                        Recv: Daemon is idle in state(s) 0
                        Recv: Aux2 is idle in state(s) 0
                        Recv: Autopause is idle in state(s) 0
                        Recv: Code queue is empty.
                        Recv: === CAN ===
                        Recv: Messages queued 1810, send timeouts 1810, received 0, lost 0, longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 17 (min 17)
                        Recv: Last cancelled message type 4514 dest 127
                        Recv: === Network ===
                        Recv: Slowest loop: 200.87ms; fastest: 0.00ms
                        Recv: Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
                        Recv: HTTP sessions: 1 of 8
                        Recv: - WiFi -
                        Recv: Network state is active
                        Recv: WiFi module is connected to access point
                        Recv: Failed messages: pending 0, notready 0, noresp 1
                        Recv: WiFi firmware version 1.26
                        Recv: WiFi MAC address f0:08:d1:02:ec:f2
                        Recv: WiFi Vcc 3.33, reset reason Power up
                        Recv: WiFi flash size 2097152, free heap 20976
                        Recv: WiFi IP address 10.0.0.201
                        Recv: WiFi signal strength -37dBm, mode 802.11n, reconnections 0, sleep mode modem
                        Recv: Clock register 00002002
                        Recv: Socket states: 0 0 0 0 0 0 0 0
                        Recv: ok
                        
                        dc42undefined 1 Reply Last reply Reply Quote 0
                        • jay_s_ukundefined
                          jay_s_uk
                          last edited by

                          Maybe one for one of the duet team to comment on?
                          @Phaedrux

                          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

                          DessiVerseundefined 1 Reply Last reply Reply Quote 0
                          • DessiVerseundefined
                            DessiVerse @jay_s_uk
                            last edited by

                            @jay_s_uk I'm not sure. I am kind of running out of patience with this though if I'm being honest. I was running it in SBC mode for a while because of the speeds, but, I can't use Octoprint with that so I can't use a camera ¯_(ツ)_/¯

                            jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                            • jay_s_ukundefined
                              jay_s_uk @DessiVerse
                              last edited by

                              @dessiverse you know you can run things like motion with the SBC setup for camera usage.
                              We have some info here https://teamgloomy.github.io/camera.html

                              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

                              1 Reply Last reply Reply Quote 0
                              • DessiVerseundefined
                                DessiVerse
                                last edited by

                                @jay_s_uk I wouldn’t be able to run monitoring software like spaghetti detective though. So I wanted to try to get just the duet working so I can plug my pi into it for octopi. But, I still would need to access the duet panel now and then if I wanna edit any of the files.

                                jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                                • jay_s_ukundefined
                                  jay_s_uk @DessiVerse
                                  last edited by

                                  @dessiverse there are also some features of the firmware that are only available when printing from the sd card (i.e. not streamed from octoprint).
                                  You can see them here https://duet3d.dozuki.com/Wiki/Firmware_Overview?revisionid=HEAD#Section_Printing_over_USB_connection_Octoprint_Cura_Simplify3D_Etc

                                  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

                                  DessiVerseundefined 1 Reply Last reply Reply Quote 0
                                  • DessiVerseundefined
                                    DessiVerse @jay_s_uk
                                    last edited by

                                    @jay_s_uk I'm aware of those. I normally print on the SD Card over Octoprint anyway, but I can't communicate with the sdcard using Octoprint with this board. Which is back to why I need WiFi working so I can upload to the SD card via the duet dashboard.

                                    1 Reply Last reply Reply Quote 0
                                    • DessiVerseundefined
                                      DessiVerse
                                      last edited by

                                      SBC mode is no longer working. I assume that's due to the beta firmware that was installed. Can someone please help with this? My printer is now entirely unusable.

                                      Screen Shot 2021-04-28 at 6.07.15 PM.png Screen Shot 2021-04-28 at 6.07.00 PM.png

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

                                        To use the beta firmware on the duet and SBC mode the SBC would need to be updated to the beta as well.

                                        So either return the Duet back to 3.2.2 to match the version installed on the pi, or add the unstable repository to the pi and then update again.

                                        See here for more details on adding the unstable branch.
                                        https://duet3d.dozuki.com/Wiki/Getting_Started_With_Duet_3#Section_Software_Installation

                                        Z-Bot CoreXY Build | Thingiverse Profile

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

                                          As for the slow wifi speeds it's a bit perplexing as the signal strength seems good and the SD card should be fine.

                                          I notice you mentioned you have some pis in close proximity on wifi that work ok. Does powering off those pis have any improvement? Perhaps interference?

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          1 Reply Last reply Reply Quote 0
                                          • DessiVerseundefined
                                            DessiVerse
                                            last edited by

                                            @phaedrux I’ve tried that with no luck. 😕 I’ve also tried in other areas with no luck as well

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