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

    WiFi Unreliable

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    10
    114
    7.4k
    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 can have a lot of reasons.. router to far away, thickness of the wall, crowded WLAN frequency... please post the result from M122

      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)

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

        @siam here's the result:

        === Diagnostics ===
        RepRapFirmware for Duet 3 Mini 5+ version 3.2.2 running on Duet 3 Mini5plus WiFi (standalone mode)
        Board ID: 7HDQX-V296U-D65J0-40KM8-MK03Z-R91J2
        Used output buffers: 3 of 40 (23 max)
        === RTOS ===
        Static ram: 98732
        Dynamic ram: 108004 of which 24 recycled
        Never used RAM 38456, free system stack 124 words
        Tasks: NETWORK(ready,168) HEAT(blocked,315) CanReceiv(blocked,947) CanSender(blocked,372) CanClock(blocked,362) TMC(blocked,106) MAIN(running,401) IDLE(ready,20) AIN(blocked,264)
        Owned mutexes: WiFi(NETWORK)
        === Platform ===
        Last reset 00:06:15 ago, cause: power up
        Last software reset at 2021-04-28 14:42, reason: User, GCodes spinning, available RAM 50508, slot 1
        Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task Linu Freestk 0 n/a
        Error status: 0x00
        Aux0 errors 0,0,0
        Aux1 errors 0,0,0
        Supply voltage: min 23.9, current 24.0, max 24.0, under voltage events: 0, over voltage events: 0, power good: yes
        Driver 0: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 10, reads 2507, writes 0, timeouts 0, DMA errors 0
        Driver 1: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 10, reads 2507, writes 0, timeouts 0, DMA errors 0
        Driver 2: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 10, reads 2507, writes 0, timeouts 0, DMA errors 0
        Driver 3: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 10, reads 2507, writes 0, timeouts 0, DMA errors 0
        Driver 4: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 9, reads 2507, writes 0, timeouts 0, DMA errors 0
        Driver 5: position 0, assumed not present
        Driver 6: position 0, assumed not present
        Date/time: 2021-04-28 10:50:21
        Cache data hit count 773393444
        Slowest loop: 8.47ms; fastest: 0.12ms
        === Storage ===
        Free file entries: 10
        SD card 0 detected, interface speed: 22.5MBytes/sec
        SD card longest read time 3.1ms, write time 2.1ms, max retries 0
        === Move ===
        DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000
        === MainDDARing ===
        Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
        === AuxDDARing ===
        Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
        === Heat ===
        Bed heaters = 0 -1, chamberHeaters = -1 -1
        Heater 1 is on, I-accum = 0.0
        === 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
        LCD is idle in state(s) 0
        SBC is idle in state(s) 0
        Daemon is idle in state(s) 0
        Aux2 is idle in state(s) 0
        Autopause is idle in state(s) 0
        Code queue is empty.
        === Network ===
        Slowest loop: 203.24ms; fastest: 0.09ms
        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 1
        WiFi firmware version 1.25
        WiFi MAC address f0:08:d1:02:ec:f2
        WiFi Vcc 3.34, reset reason Power up
        WiFi flash size 2097152, free heap 19200
        WiFi IP address 10.0.0.201
        WiFi signal strength -39dBm, mode 802.11n, reconnections 0, sleep mode modem
        Clock register 00002002
        Socket states: 0 0 0 0 0 0 0 0
        === CAN ===
        Messages queued 158, send timeouts 158, received 0, lost 0, longest wait 0ms for reply type 0, free buffers 16
        
        DessiVerseundefined 1 Reply Last reply Reply Quote 0
        • DessiVerseundefined
          DessiVerse @DessiVerse
          last edited by DessiVerse

          I do want to note that I have two pi's really close to the duet that never experiences any network issues. One is a Pi 3, one is a Pi 4. When I ran the Duet in SBC mode connectivity was fine, so it's likely an issue with the WiFi on the duet.

          EDIT: I also do already have a WiFi repeater to ensure all my devices on the network run smoothly.

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

            Reading the M122 result signal strength is good at -39dBm so I'm not sure why I'm getting the problems I am. I was having upload speeds as slow as 3.5 KIB/s after posting the result.

            e800994e-f8ee-4f2f-92ef-3efd850d34e2-image.png
            88342b72-05ef-4342-b8e4-ab2fcac85949-image.png

            1 Reply Last reply Reply Quote 0
            • SIamundefined
              SIam @DessiVerse
              last edited by

              @dessiverse your signal strength looks not bad (mine is worse and have no problem ). If your WLAN connection is slow again can you post again the result of M122. Perhaps is an Update to RRF 3.3 B3 a solution

              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)

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

                @siam how would I go about updating?

                SIamundefined 1 Reply Last reply Reply Quote 0
                • SIamundefined
                  SIam @DessiVerse
                  last edited by

                  @dessiverse Here is the documentation https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware

                  The latest firmware you find here: https://forum.duet3d.com/topic/22878/software-package-3-3beta3-released

                  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)

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

                    @siam I updated the firmware and confirmed the update.
                    Console is still getting spammed with the below messages:

                    Recv: WiFi reported error: network scan failed
                    Recv: WiFi module is idle
                    Recv: WiFi reported error: network scan failed
                    Recv: WiFi module is idle
                    Recv: WiFi reported error: network scan failed
                    Recv: WiFi module is idle
                    Recv: WiFi reported error: network scan failed
                    Recv: WiFi module is idle
                    Recv: WiFi reported error: network scan failed
                    

                    Here is the result of 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: 1 of 40 (1 max)
                    Recv: === RTOS ===
                    Recv: Static ram: 101772
                    Recv: Dynamic ram: 106336 of which 12 recycled
                    Recv: Never used RAM 35584, free system stack 160 words
                    Recv: Tasks: NETWORK(ready,8.0%,346) HEAT(delaying,0.0%,318) Move(notifyWait,0.1%,188) CanReceiv(notifyWait,0.0%,943) CanSender(notifyWait,0.0%,371) CanClock(notifyWait,0.0%,341) TMC(notifyWait,0.7%,115) MAIN(running,90.1%,426) IDLE(ready,0.3%,19) AIN(delaying,0.8%,273), total 100.0%
                    Recv: Owned mutexes: USB(MAIN)
                    Recv: === Platform ===
                    Recv: Last reset 00:01:10 ago, cause: software
                    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 70672, completed 70672, timed out 0, errs 0
                    Recv: Step timer max interval 745
                    Recv: MCU temperature: min 29.2, current 30.6, max 30.6
                    Recv: Supply voltage: min 23.9, current 23.9, 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 1, ifcnt 20, reads 3696, writes 9, timeouts 0, DMA errors 0
                    Recv: Driver 1: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 20, reads 3696, writes 9, timeouts 0, DMA errors 0
                    Recv: Driver 2: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 19, reads 3696, writes 9, timeouts 0, DMA errors 0
                    Recv: Driver 3: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 19, reads 3696, writes 9, timeouts 0, DMA errors 0
                    Recv: Driver 4: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 19, reads 3696, writes 9, timeouts 0, DMA errors 0
                    Recv: Driver 5: position 0, assumed not present
                    Recv: Driver 6: position 0, assumed not present
                    Recv: Date/time: 1970-01-01 00:00:00
                    Recv: Cache data hit count 146022799
                    Recv: Slowest loop: 25.74ms; 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 3.2ms, 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 635, send timeouts 633, 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: 199.80ms; fastest: 0.00ms
                    Recv: Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
                    Recv: HTTP sessions: 0 of 8
                    Recv: - WiFi -
                    Recv: Network state is disabled
                    Recv: WiFi module is disabled
                    Recv: Failed messages: pending 0, notready 0, noresp 2
                    Recv: Socket states: 0 0 0 0 0 0 0 0
                    

                    I started running the typical commands to try to get it to reconnect and got an error

                    Send: M552 S-1
                    Recv: ok
                    Send: M552
                    Recv: WiFi module is disabled
                    Recv: ok
                    Send: M105
                    Recv: ok T:19.8 /0.0 T0:19.8 /0.0 B:22.5 /0.0
                    Send: M552 S0
                    Recv: ok
                    Recv: WiFi module started
                    Send: M552 S1
                    Recv: ok
                    Send: M105
                    Recv: ok T:19.8 /0.0 T0:19.8 /0.0 B:22.5 /0.0
                    Recv: WiFi reported error: Unexpected WiFi state 'idle' while trying to connect to
                    

                    After spamming the "network scan failed" messages I got ran M552 to see the status and got Recv: WiFi module is connected to access point , IP address 255.255.255.255

                    SIamundefined 1 Reply Last reply Reply Quote 0
                    • SIamundefined
                      SIam @DessiVerse
                      last edited by

                      @dessiverse have you updated the DuetWiFiServer.bin ?

                      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)

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

                        @siam I’ve been trying to but it keeps saying the file doesn’t exist even though it’s in the sys directory.

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

                          @siam Screen Shot 2021-04-28 at 1.27.17 PM.png

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

                            @dessiverse it needs to be in a folder called firmware with 3.3 rather than in the sys folder

                            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 just got it installed. Doesn't appear to be improved though.

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

                                Here's an updated 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: 1 of 40 (11 max)
                                Recv: === RTOS ===
                                Recv: Static ram: 101772
                                Recv: Dynamic ram: 106336 of which 12 recycled
                                Recv: Never used RAM 35584, free system stack 157 words
                                Recv: Tasks: NETWORK(ready,19.8%,150) HEAT(delaying,0.0%,318) Move(notifyWait,0.1%,188) CanReceiv(notifyWait,0.0%,943) CanSender(notifyWait,0.0%,371) CanClock(notifyWait,0.0%,341) TMC(notifyWait,0.7%,115) MAIN(running,78.2%,426) IDLE(ready,0.4%,19) AIN(delaying,0.8%,273), total 100.0%
                                Recv: Owned mutexes: USB(MAIN)
                                Recv: === Platform ===
                                Recv: Last reset 00:02:18 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 138334, completed 138334, timed out 0, errs 0
                                Recv: Step timer max interval 1490
                                Recv: MCU temperature: min 23.8, current 29.7, max 29.7
                                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 7247, writes 10, 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 7247, writes 10, 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 7247, writes 9, 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 7247, writes 9, 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 7248, writes 9, 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:32:52
                                Recv: Cache data hit count 320404896
                                Recv: Slowest loop: 1051.41ms; 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 3.9ms, 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: === 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 1244, send timeouts 1241, received 0, lost 0, longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 17 (min 16)
                                Recv: Last cancelled message type 4514 dest 127
                                Recv: === Network ===
                                Recv: Slowest loop: 1993.74ms; fastest: 0.00ms
                                Recv: Responder states: HTTP(0) HTTP(2) 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 0
                                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 14336
                                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 2 0 0 0 0 0 0
                                Recv: ok
                                
                                SIamundefined 1 Reply Last reply Reply Quote 0
                                • 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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA