Unsolved Error: Failed to initialise WiFi module, code -10 on 2.05
-
You might be able to replace the wifi function with a raspberry pi as well, but the required firmware RRF3.2 isn't released yet so it might be a bumpy road.
You'd likely not need to remove the Wifi to use the same signals for the SBC interface (depending a little on how the wifi module has failed) lots of details here https://forum.duet3d.com/topic/17203/duet-2-ethernet-and-sbc/
This post shows a no-solder approach for the wifi board (albeit a few crimps are needed): https://forum.duet3d.com/post/163005
-
Is the DuetWiFiserver.bin file that you uploaded to the WiFi module definitely the DuetWiFiServer.bin file version 1.23 from a recent release?
It's worth trying to install the WiFi firmware again. The firmware upload protocol defined by the manufacturer of the WiFi module does not include error detection, and I have known it to appear to succeed but to leave the WiFi module running corrupt firmware.
-
@Phaedrux that looks great! thanks. I have access to ESP-12E, does that work or does it have to be ESP-12S? I guess I can get an Adafruit HUZZAH or maybe a NodeMCU with the ESP-12S and salvage the module from that board, but if the E version is compatible that would be ideal.
-
@JairoRB said in Error: Failed to initialise WiFi module, code -10 on 2.05:
ESP-12E
12E will be fine if the certifications on the module is acceptable for you (fcc/ce/ul etc)
-
@dc42 I am as sure as I think I can be, for what it's worth. I flashed for myself at first from github, then from the link provided by Phaedrux and then again from github, making sure it was indeed version 1.23. After running M997 S1, it completes no problem but the issue comes up.
Is there a way to make sure it is the hardware side?
-
@bearer Excellent, thank you
-
@dc42 said in Error: Failed to initialise WiFi module, code -10 on 2.05:
The firmware upload protocol defined by the manufacturer of the WiFi module does not include error detection, and I have known it to appear to succeed but to leave the WiFi module running corrupt firmware
I have the issue on two wifi module. I could desolder the module from board and I have some Arduino.
How resolve the issue in this case ? (instead of solder the Ethernet module) -
Best option is to replace the WiFi module, assuming you don't want to switch to Ethernet. the recommended modules are ESP12S (internal antenna) and ESP07S (external antenna).
Make sure you do not have a M587, M588 or M589 command in config.g. Some users mistakenly put M587 in config.g despite our advice not to. It may cause additional wear on the WiFi module flash memory every time it boots up.
-
(Does the ESP12S have the same antenna improvement the ESP12E allegedly has? Too small sample size to say for sure but 2dBm improvement might be worth while for those replacing it if the certifications aren't an issue)
-
@dc42 It's the second module which failed on the board. I will wait my ethernet module for swap now, more reliable