Wifi module is not working
-
I have updated my Duet 2 wifi firmware from 3.2 to 3.4.1 via DWC. But during the update process the wifi connection was lost. When I tried to connect it to YAT I could see that the firmware has been updated to 3.4.1. But when I tried to run M552 S0 it just returned ok. With M552 S1 it returned Turn off the current WiFi mode before selecting a new one.
I tried to reflash the duet with M997 S1 but it returned Error: M997: File 0:/firmware/DuetWiFiServer.bin not found.
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.1 (2022-06-01 21:05:28) running on Duet WiFi 1.02 or later + DueX5
Board ID: 0JD0M-9X6JA-JUNSN-6J9F4-3SN6L-9BN3T
Used output buffers: 1 of 26 (11 max)
=== RTOS ===
Static ram: 23860
Dynamic ram: 73864 of which 0 recycled
Never used RAM 14356, free system stack 185 words
Tasks: NETWORK(ready,7.4%,517) HEAT(notifyWait,0.0%,388) Move(notifyWait,0.0%,363) DUEX(notifyWait,0.0%,24) MAIN(running,92.6%,449) IDLE(ready,0.0%,30), total 100.0%
Owned mutexes: USB(MAIN)
=== Platform ===
Last reset 00:37:47 ago, cause: power up
Last software reset details not available
Error status: 0x00
Step timer max interval 0
MCU temperature: min 24.7, current 25.9, max 26.3
Supply voltage: min 0.5, current 0.5, max 0.6, under voltage events: 0, over voltage events: 0, power good: no
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: ok, SG min n/a
Driver 1: ok, SG min n/a
Driver 2: ok, SG min n/a
Driver 3: ok, SG min n/a
Driver 4: ok, SG min n/a
Driver 5: ok, SG min n/a
Driver 6: ok, SG min n/a
Driver 7: ok, SG min n/a
Driver 8: ok, SG min n/a
Driver 9: ok, SG min n/a
Driver 10:
Driver 11:
Date/time: 1970-01-01 00:00:00
Cache data hit count 4294967295
Slowest loop: 26.04ms; fastest: 0.14ms
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 3.2ms, 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 -1 -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
Daemon is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty
=== DueX ===
Read count 0, 0.00 reads/min
=== Network ===
Slowest loop: 1.02ms; 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 starting2
WiFi module is disabled
Failed messages: pending 0, notready 0, noresp 0
Socket states: 0 0 0 0 0 0 0 0
ok
Couldn't find a solution to resolve this problem. Hope the experts on this platform help me to find a solution. Thanks for your time in advance.
Please let me know if you need further information.
- WiFi -
-
@gopi please send
M552 S0 M997 S1 M552 S1
That should reflash the WiFi firmware and get you back up and running
-
@jay_s_uk M552 S0
ok
M997 S1
Error: M997: File 0:/firmware/DuetWiFiServer.bin not found
ok
M552 S1
Turn off the current WiFi mode before selecting a new one
ok -
@gopi you'll need to place the latest wifi firmware version in the firmware folder on the SD card. it can be found here https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.1/DuetWiFiServer.bin
then repeat the above -
The problem is partly resolved. Thanks to your help, wifi module is now connected. But I could not connect to access the DWC via IP address. It shows that the www files are missing. And I could not find these files in the internet. I have attached an image of my SD card. I am using e3D tool changer printer.
TH![alt text]( image url)
-
@gopi you should have a folder called
www
in the root of the sd card.
extract the contents of this zip file https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.1/DuetWebControl-SD.zip into that folder -
@jay_s_uk My module is connected and running. Thanks for the help.