Random issues with wifi
-
My new Duet 3 mini started to have an Wifi issue. When I turn on the printer, the wifi will either give me error messages over and over again or it would connect to my home network.
If get an error message, I would need to do a M999 to restart and then again, I would randomly get an error message that I have posted in the picture.
This started about a week or so.
Since then I had the printer down until I finished a new enclosed and after turning it on, I was able to connect to the Duet once and that first connection, I'm not able to connect to the Duet even after it says it has connected to my home network after using the M999 command on the Duet touchscreen. I have tried multiple times and still the same, I just get a blank white screen.
It will connect and I can actually connect to the Duet if I do a power cycle and I don't get the Random wifi error.
Not sure if there is anything I can do to fix the wifi module.
-
@Theboz1419 what firmware version and WiFi firmware version are you running?
An M122 output should tell us -
m122
=== Diagnostics ===
RepRapFirmware for Duet 3 Mini 5+ version 3.4.0 (2022-03-15 18:59:15) running on Duet 3 Mini5plus WiFi (standalone mode)
Board ID: KU1YQ-YN6KL-K65J0-409NW-4HW1Z-74M6V
Used output buffers: 3 of 40 (40 max)
=== RTOS ===
Static ram: 103684
Dynamic ram: 110552 of which 0 recycled
Never used RAM 27404, free system stack 144 words
Tasks: NETWORK(ready,13.2%,240) HEAT(notifyWait,0.0%,358) Move(notifyWait,0.0%,292) CanReceiv(notifyWait,0.0%,942) CanSender(notifyWait,0.0%,356) CanClock(delaying,0.0%,339) TMC(delaying,0.7%,81) MAIN(running,84.7%,428) IDLE(ready,0.5%,29) AIN(delaying,0.8%,273), total 100.0%
Owned mutexes: WiFi(NETWORK)
=== Platform ===
Last reset 00:00:47 ago, cause: power up
Last software reset time unknown, reason: User, GCodes spinning, available RAM 27476, slot 1
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x04
Aux0 errors 0,0,0
MCU revision 3, ADC conversions started 48153, completed 48152, timed out 0, errs 0
Step timer max interval 751
MCU temperature: min 19.2, current 24.6, max 24.9
Supply voltage: min 23.9, current 23.9, max 24.0, under voltage events: 0, over voltage events: 0, power good: yes
Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: standstill, SG min 0, read errors 0, write errors 0, ifcnt 11, reads 2488, writes 11, timeouts 0, DMA errors 0, CC errors 0
Driver 1: standstill, SG min 0, read errors 0, write errors 0, ifcnt 11, reads 2488, writes 11, timeouts 0, DMA errors 0, CC errors 0
Driver 2: standstill, SG min 0, read errors 0, write errors 0, ifcnt 11, reads 2488, writes 11, timeouts 0, DMA errors 0, CC errors 0
Driver 3: standstill, SG min 0, read errors 0, write errors 0, ifcnt 9, reads 2490, writes 9, timeouts 0, DMA errors 0, CC errors 0
Driver 4: standstill, SG min 0, read errors 0, write errors 0, ifcnt 9, reads 2490, writes 9, timeouts 0, DMA errors 0, CC errors 0
Driver 5: not present
Driver 6: not present
Date/time: 2024-07-28 02:53:15
Cache data hit count 91980358
Slowest loop: 12.28ms; fastest: 0.12ms
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 22.5MBytes/sec
SD card longest read time 3.5ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 83, segments created 3, maxWait 27891ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 9, completed 9, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== AuxDDARing ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
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
=== CAN ===
Messages queued 429, received 0, lost 0, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 18 (min 18), ts 240/0/0
Tx timeouts 0,0,239,0,0,188 last cancelled message type 30 dest 127
=== Network ===
Slowest loop: 40.80ms; 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.26
WiFi MAC address e8:68:e7:e1:4d:d8
WiFi Vcc 3.44, reset reason Power up
WiFi flash size 2097152, free heap 16648
WiFi IP address 10.0.0.227
WiFi signal strength -53dBm, mode 802.11n, reconnections 0, sleep mode modem
Clock register 00002002
Socket states: 0 0 0 0 0 0 0 0
- WiFi -
-
@Theboz1419 I suggest updating to 3.5.2 and trying again
-
Just after updating the firmware it did its continuous error messages and then after pressing the button on the display it connected as it should, so updating did not fix the issue.
m122
=== Diagnostics ===
RepRapFirmware for Duet 3 Mini 5+ version 3.5.2 (2024-06-11 17:14:16) running on Duet 3 Mini5plus WiFi (standalone mode)
Board ID: KU1YQ-YN6KL-K65J0-409NW-4HW1Z-74M6V
Used output buffers: 9 of 40 (40 max)
=== RTOS ===
Static ram: 103368
Dynamic ram: 121452 of which 0 recycled
Never used RAM 16596, free system stack 198 words
Tasks: NETWORK(2,nWait 7,12.3%,217) HEAT(3,nWait 1,0.0%,350) Move(4,nWait 6,0.0%,355) CanReceiv(6,nWait 1,0.0%,939) CanSender(5,nWait 7,0.0%,336) CanClock(7,delaying,0.0%,334) TMC(4,nWait 6,0.8%,110) MAIN(1,running,85.1%,665) IDLE(0,ready,0.8%,29) AIN(4,delaying,0.9%,264), total 100.0%
Owned mutexes:
=== Platform ===
Last reset 00:00:30 ago, cause: software
Last software reset time unknown, reason: User, Gcodes spinning, available RAM 27476, slot 1
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x04
Aux0 errors 0,0,0
MCU revision 3, ADC conversions started 31257, completed 31257, timed out 0, errs 0
MCU temperature: min 28.2, current 30.0, max 30.2
Supply voltage: min 23.8, current 23.9, max 24.0, under voltage events: 0, over voltage events: 0, power good: yes
Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: standstill, SG min 0, read errors 0, write errors 1, ifcnt 20, reads 1584, writes 10, timeouts 0, DMA errors 0, CC errors 0
Driver 1: standstill, SG min 0, read errors 0, write errors 1, ifcnt 20, reads 1584, writes 10, timeouts 0, DMA errors 0, CC errors 0
Driver 2: standstill, SG min 0, read errors 0, write errors 1, ifcnt 20, reads 1584, writes 10, timeouts 0, DMA errors 0, CC errors 0
Driver 3: standstill, SG min 0, read errors 0, write errors 1, ifcnt 20, reads 1583, writes 10, timeouts 0, DMA errors 0, CC errors 0
Driver 4: standstill, SG min 0, read errors 0, write errors 1, ifcnt 20, reads 1584, writes 10, timeouts 0, DMA errors 0, CC errors 0
Driver 5: not present
Driver 6: not present
Date/time: 2024-07-28 11:00:43
Cache data hit count 58664754
Slowest loop: 12.08ms; fastest: 0.16ms
=== Storage ===
Free file entries: 20
SD card 0 detected, interface speed: 22.5MBytes/sec
SD card longest read time 3.5ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, height map offset 0.000, max steps late 0, min interval 0, bad calcs 0, ebfmin 0.00, ebfmax 0.00
no step interrupt scheduled
Moves shaped first try 0, on retry 0, too short 0, wrong shape 0, maybepossible 0
=== DDARing 0 ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== DDARing 1 ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
Heater 1 is on, I-accum = 0.0
=== GCodes ===
Movement locks held by null, 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
File2 is idle in state(s) 0
Queue2 is idle in state(s) 0
Q0 segments left 0, axes/extruders owned 0x0000803
Code queue 0 is empty
Q1 segments left 0, axes/extruders owned 0x0000000
Code queue 1 is empty
=== CAN ===
Messages queued 274, received 0, lost 0, errs 144992, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 26 (min 26), ts 153/0/0
Tx timeouts 0,0,152,0,0,120 last cancelled message type 4514 dest 127
=== Network ===
Slowest loop: 39.96ms; fastest: 0.00ms
Responder states: MQTT(0) HTTP(2) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
HTTP sessions: 1 of 8
=== WiFi ===
Interface state: active
Module is connected to access point
Failed messages: pending 0, notrdy 0, noresp 0
Firmware version 1.26
MAC address e8:68:e7:e1:4d:d8
Module reset reason: Power up, Vcc 3.44, flash size 2097152, free heap 20520
WiFi IP address 10.0.0.227
Signal strength -52dBm, channel 0, mode 802.11n, reconnections 0
Clock register 00002002
Socket states: 0 0 0 0 0 0 0 0 -
@Theboz1419 You are still running an older version of the WiFi firmware (1.26). How did you update to 3.5.2? Did you upload the combined zip file or did you just upload the firmware bin file? If you uploaded the zip file you should be able to upgrade the WiFi firmware by running M997 S1.
-
@gloomyandy I downloaded and used the update firmware button. So which file should I be downloading?
-
@Theboz1419 either redownload the .zip file with everything in or download the duetwifiserver.bin file
-
@Theboz1419 As above try running M997 S1 and see if that updates the WiFi firmware to v2.1.
-
@gloomyandy said in Random issues with wifi:
@Theboz1419 As above try running M997 S1 and see if that updates the WiFi firmware to v2.1.
I did the M997 S1 and it's still on wifi 1.27 firmware
-
I found the WifiServer.bin file and it's updating now.
-
Ok, I have it updated to 2.1
I will see if it still has issues and will report back.
-
It seems to be better, it's not displaying the error over and over again, but it does give me time outs from time to time.
-
Can you try sending 'M588 S"*"' to clear any saved SSIDs and then use M587 to re-add your SSID?
-
@Phaedrux I would but, I seem to have a new issue which I have posted on a new post. My SD card reader won't read Sd cards