Duet 3 Mini 5+ Wifi not connecting
-
Hi all,
We have two machines installed with Duet 3 Mini 5+. We used to get frequent issues with wifi.
It disconnects automatically. When we try to reconnect wifi with the below codes.
'M552 S0 ; disable network module
G4 S5 ; wait 5 seconds
M552 S1 ; enable network module'Sometimes it works, sometimes it wont work. Next day when we start the machine, it connects automatically.
Please find the video attached.
-
@selva_tvi post an M122 output once its connected
-
@jay_s_uk Please find the report here:
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: H0WK1-6396U-D65J0-40KML-L403Z-HAR1D
Used output buffers: 3 of 40 (21 max)
=== RTOS ===
Static ram: 103684
Dynamic ram: 112548 of which 20 recycled
Never used RAM 25460, free system stack 194 words
Tasks: NETWORK(ready,14.1%,226) ACCEL(notifyWait,0.0%,346) HEAT(notifyWait,0.0%,358) Move(notifyWait,0.0%,363) CanReceiv(notifyWait,0.0%,942) CanSender(notifyWait,0.0%,372) CanClock(delaying,0.0%,339) TMC(notifyWait,0.6%,114) MAIN(running,84.5%,414) IDLE(ready,0.0%,29) AIN(delaying,0.8%,273), total 100.0%
Owned mutexes: WiFi(NETWORK)
=== Platform ===
Last reset 01:04:36 ago, cause: power up
Last software reset time unknown, reason: User, GCodes spinning, available RAM 25052, slot 1
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
Aux0 errors 0,0,0
MCU revision 3, ADC conversions started 3876292, completed 3876291, timed out 0, errs 0
Step timer max interval 1488
MCU temperature: min 31.1, current 36.4, max 36.6
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 0, ifcnt 0, reads 23031, writes 9, timeouts 25834, DMA errors 0, CC errors 0, failedOp 0x41
Driver 1: standstill, SG min 0, read errors 0, write errors 0, ifcnt 9, reads 48865, writes 9, timeouts 0, DMA errors 0, CC errors 0
Driver 2: standstill, SG min 0, read errors 0, write errors 0, ifcnt 9, reads 48865, writes 9, timeouts 0, DMA errors 0, CC errors 0
Driver 3: standstill, SG min 0, read errors 0, write errors 0, ifcnt 9, reads 48865, writes 9, timeouts 0, DMA errors 0, CC errors 0
Driver 4: standstill, SG min 0, read errors 0, write errors 0, ifcnt 10, reads 48864, writes 10, timeouts 0, DMA errors 0, CC errors 0
Driver 5: not present
Driver 6: not present
Date/time: 2022-11-16 09:26:10
Cache data hit count 4294967295
Slowest loop: 16.70ms; fastest: 0.13ms
=== 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 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 0, completed 0, 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
=== 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
=== Filament sensors ===
Extruder 0 sensor: ok
=== CAN ===
Messages queued 34883, received 0, lost 0, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 18 (min 18), ts 19381/0/0
Tx timeouts 0,0,19380,0,0,15501 last cancelled message type 30 dest 127
=== Network ===
Slowest loop: 19.79ms; fastest: 0.00ms
Responder states: HTTP(2) 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 f0:08:d1:03:80:cc
WiFi Vcc 3.42, reset reason Power up
WiFi flash size 2097152, free heap 23352
WiFi IP address 192.168.1.6
WiFi signal strength -50dBm, mode 802.11n, reconnections 0, sleep mode modem
Clock register 00002002
Socket states: 0 0 0 0 0 0 0 0
- WiFi -
-
@selva_tvi you could try updating to 3.4.4 and the latest WiFi server 1.27 and see if that makes a difference.
Can you also run M587 and see if there are any other WiFi networks reported other than yours? -
Where is the Duet mounted in the machine?
Please update the firmware to 3.4.4/1.27 as Jay suggests.
Can you post your config.g?
-
@Phaedrux please find the Wifi and board location in the image.
And config.g:
; Configuration file for Duet 3 Mini 5+ (firmware version 3.3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.3.10 on Thu May 05 2022 17:39:43 GMT+0530 (India Standard Time); General preferences
M575 P1 S1 B57600 ; enable support for PanelDue
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"HS-2" ; set printer name
M669 K1 ; select CoreXY mode; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable TelnetM564 H0; Move axis without homing
M584 X0.0 Y0.1 Z0.2:0.4 E0.3 ; set drive mapping
; Drives
M569 P0.0 S0 ; X-axis physical drive 0.0 goes forwards
M569 P0.1 S0 ; Y-axis physical drive 0.1 goes forwards
M569 P0.2 S1 D3 ; Z-Left physical drive 0.2 goes forwards
M569 P0.3 S0 D3 ; E-axis physical drive 0.3 goes forwards
M569 P0.4 S1 D3 ; Z-Right physical drive 0.3 goes forwardsM671 X0:280 Y150:150 S4
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X160.00 Y160.00 Z1600.00 E690 ; set steps per mmM566 X1000.00 Y1000.00 Z42.00 E600.00 ; set maximum instantaneous speed changes (mm/min)
M203 X21600.00 Y21600.00 Z300.00 E3000.00 ; set maximum speeds (mm/min)
;M203 X19200.00 Y19200.00 Z300.00 E3000.00 ; set maximum speeds (mm/min)
M201 X6000.00 Y6000.00 Z120.00 E6000.00 ; set accelerations (mm/s^2)M906 X1350 Y1350 Z1200 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X305 Y305 Z310 S0 ; set axis maxima; Endstops
M574 X1 S1 P"io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin io0.in
M574 Y1 S1 P"io2.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io1.in
M574 Z1 S2 ; configure Z-probe endstop for low end on Z; Z-Probe
M950 S0 C"io3.out" ; create servo pin 0 for BLTouch
M558 P9 C"io3.in" H10 F240 T15000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X-35 Y-6 Z2.15 ; set Z probe trigger value, offset and trigger height
M557 X15:270 Y15:280 S100; Filament runout sensor;
M591 D0 P1 C"io5.in" S1; Heaters
; Heatbed
M308 S0 P"temp0" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin temp0
M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
M307 H0 R0.392 K0.289:0.000 D1.71 E1.35 S1.00 B0
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C; Hotend
M308 S1 P"temp1" Y"thermistor" T100000 B4687 C6.584927e-8
M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
M307 H1 R5.134 K0.749:0.000 D3.73 E1.35 S1.00 B0 V23.8
M143 H1 S280 ; set temperature limit for heater 1 to 280C; Fans
M950 F1 C"out5" Q500 ; create fan 1 on pin out5 and set its frequency (Hotend Fan)
M106 P1 S255 H-1 ; set fan 1 value. Thermostatic control is turned offM950 F2 C"out6" Q500 ; create fan 2 on pin out6 and set its frequency (Board cooling fan)
M106 P2 S255 H-1 ; set fan 2 value. Thermostatic control is turned offM950 F0 C"out3" Q500 ; create fan 0 on pin out3 and set its frequency (Part Cooling Fan)
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off; Tools
M563 P0 S"Hotend" D0 H1 F0 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C; Custom settings are not defined
; Miscellaneous
M501 ; load saved parameters from non-volatile memoryM911 S21.0 R23.0 P"M913 X0 Y0 G91 M83 G1 E-3 F1000" ; set voltage thresholds and actions to run on power loss
M593 P"zvddd" F65.7
-
Were you able to update the firmware?
-
@Phaedrux @jay_s_uk We updated the Duet firmware and Wifi firmware also.
After updating the Wifi Firmware, the following message is coming.
WiFi reported error: no known networks found
The WiFi module is idleBut in another machine, the Wifi is working properly (same configuration)
Kindly support. Client is in a urgent print.
Please find the M122 report after updating the firmware.
=== 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: 3QG0R-2396U-D65J0-40KMU-3V03Z-7M8BT
Used output buffers: 1 of 40 (11 max)
=== RTOS ===
Static ram: 103684
Dynamic ram: 112392 of which 12 recycled
Never used RAM 25624, free system stack 157 words
Tasks: NETWORK(ready,8.4%,154) ACCEL(notifyWait,0.0%,346) HEAT(notifyWait,0.0%,358) Move(notifyWait,0.0%,363) CanReceiv(notifyWait,0.0%,942) CanSender(notifyWait,0.0%,372) CanClock(delaying,0.0%,339) TMC(notifyWait,0.5%,114) MAIN(running,90.1%,414) IDLE(ready,0.0%,29) AIN(delaying,0.8%,273), total 100.0%
Owned mutexes: USB(MAIN)
=== Platform ===
Last reset 00:11:25 ago, cause: power up
Last software reset at 2022-09-12 10:49, reason: User, GCodes spinning, available RAM 24952, slot 2
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
Aux0 errors 0,0,0
MCU revision 3, ADC conversions started 685675, completed 685675, timed out 0, errs 0
Step timer max interval 1488
MCU temperature: min 28.2, current 31.6, max 33.1
Supply voltage: min 1.3, current 24.3, max 24.3, under voltage events: 2, 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: 1 queued, 1 completed
Driver 0: standstill, SG min 0, read errors 0, write errors 2, ifcnt 10, reads 29381, writes 27, timeouts 0, DMA errors 0, CC errors 0
Driver 1: standstill, SG min 0, read errors 0, write errors 2, ifcnt 10, reads 29381, writes 27, timeouts 0, DMA errors 0, CC errors 0
Driver 2: standstill, SG min 0, read errors 0, write errors 2, ifcnt 10, reads 29379, writes 27, timeouts 0, DMA errors 0, CC errors 0
Driver 3: standstill, SG min 0, read errors 0, write errors 2, ifcnt 10, reads 29378, writes 27, timeouts 0, DMA errors 0, CC errors 0
Driver 4: standstill, SG min 0, read errors 0, write errors 2, ifcnt 10, reads 29380, writes 28, timeouts 0, DMA errors 0, CC errors 0
Driver 5: not present
Driver 6: not present
Date/time: 1970-01-01 00:00:00
Cache data hit count 1390048968
Slowest loop: 100.03ms; fastest: 0.13ms
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 22.5MBytes/sec
SD card longest read time 3.9ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 0, completed 0, 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
=== 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 ready with "m122" 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
=== Filament sensors ===
Extruder 0 sensor: no filament
=== CAN ===
Messages queued 6168, received 0, lost 0, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 18 (min 18), ts 3428/0/0
Tx timeouts 0,0,3427,0,0,2739 last cancelled message type 4514 dest 127
=== Network ===
Slowest loop: 1536.61ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
HTTP sessions: 0 of 8- WiFi -
Network state is changingMode
WiFi module is idle
Failed messages: pending 0, notready 0, noresp 0
Failed to get WiFi status
Socket states: 0 0 0 0 0 0 0 0
ok
- WiFi -
-
@selva_tvi said in Duet 3 Mini 5+ Wifi not connecting:
RepRapFirmware for Duet 3 Mini 5+ version 3.4.0
I don't think your firmware update was successful.
Follow these instructions to update the mini5+
https://docs.duet3d.com/en/User_manual/RepRapFirmware/Updating_firmware#duet-3-mini-5-wifiethernet
Here is the firmware file.
https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.4/Duet3Firmware_Mini5plus.uf2Then follow the directions here to update the wifi firmware and web interface files.
https://docs.duet3d.com/en/User_manual/RepRapFirmware/Updating_firmware#updating-wifi-firmware
Then please send
M588 S"*"
to clear any saved SSIDs and then use M587 to re-add your SSID. -
@Phaedrux Thanks for the support.
The below issue came up repeatedly.
'M997: File DuetWiFiServer.bin not found'Then we read another topic in which it is suggested to use 'M21 to remount the SD card'.
After that, it updated the firmware. Now it is connected to the Wifi
-
-