Hard reset Duet 2 WiFi by accident.
-
Hi, new to all of this, a bit confused...
The board has been reset via the 2 pin jumper.
I have used bossa to flash the latest firmware. Also put WiFi server bin. On to SD card. Using yat I have tried to set an access point. I was having an error come up saying "another SPI transfer is Pending" after reading several posts on the forum I thought I might need to flash an earlier version of rerap firmware, so did that... Now get the error "unable to set access point"
Another issue maybe related... M552 S0 just returns "OK" and does not put WiFi module in to Idle. I have seriously hit a brick wall, any help you can offer would be greatly appreciated. -
@jamiebrown Sounds like the WiFi server firmware hasn't been written correctly, or you are using a version that the firmware doesn't recognise. What firmware version have you flashed with Bossa? Use the DuetWiFiServer.bin file that comes with the firmware version you are flashing.
Connect via USB using YAT, send M552 S-1 to turn off WiFi, then M552 S0 to set it to idle, then send M997 S1 to flash the DuetWiFiServer.bin file to the WiFi module.
Ian
-
@droftarts hi the Firmware -v1.0.7.3. (The Latest as provided by oozenest for WorkBee)
I agree this is probably my issue... problem is i cant get the Module to idle using the M552 S0 , following to the letter your instructions. when you say "use" the Wifi Server Bin. is it just a case of putting it in the SD SYS folder?
if you could explain what to do with the WIFI server bin. file that would be awesome.thanks for the speedy reply
kind regards -
@jamiebrown said in Hard reset Duet 2 WiFi by accident.:
problem is i cant get the Module to idle using the M552 S0
If you have a M552 S1 command in config.g, comment it out, then restart the machine.
-
@dc42 Hi how can i edit the Config.g folder if i cant access the web interface?
-
@jamiebrown remove the sd card and edit it with notepad
-
@jay_s_uk will give it a bash, and get back to you.
-
Hi I edited the Config.g folder and still cant get the module to idle.
-
@dc42 hi im still getting nothing, module wont idle, just returns okay
M115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.03 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2019-06-13b2<LF>ok<LF>
M552
WiFi module is disabled<LF>ok<LF>
M552 S0
ok<LF> -
@jamiebrown, what happens if you send M997 S1 without sending the M552 S0 command first?
-
@jamiebrown what do you also get if you send M552 by itself?
ok is a normal response -
@dc42
M997 S1
Trying to connect at 230400 baud: success<LF>Erasing 4096 bytes...<LF>Erasing 212992 bytes...<LF>Uploading file...<LF>5% complete<LF>10% complete<LF>15% complete<LF>20% complete<LF>25% complete<LF>30% complete<LF>35% complete<LF>40% complete<LF>45% complete<LF>50% complete<LF>55% complete<LF>60% complete<LF>65% complete<LF>70% complete<LF>75% complete<LF>80% complete<LF>85% complete<LF>90% complete<LF>95% complete<LF>Upload successful<LF>ok<LF> -
@jay_s_uk m552
WiFi module is being started<LF>ok<LF>
m552 s0
ok<LF>
m552 s0
ok<LF>
m552 s-1
WiFi module stopped<LF>ok<LF>
m552 s0
ok<LF> -
@jamiebrown thats flashed fine then.
Send M552 S0
wait a few seconds
Then Send M552 so make sure its gone idle
Then send M587 with your wifi credentials
Then send M552 S1 -
@jay_s_uk that seems to have worked i can get to the web interface now. Thanks so much...
but in order for it to remember the access point is there anything i need to do before unplugging the usb? -
@jamiebrown the wifi details are stores on the ESP8266.
As long as you have M552 S1 somewhere in your config you'll be fine -
@jay_s_uk Thank you so much for your patience in dealing with my absolute lack of knowledge.