-
Notifications
You must be signed in to change notification settings - Fork 13.3k
WiFi stop working on updating to > 2.3.0, but works fine on <= 2.3.0 #4522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Did you try erasing flash before flasing your sketch built with 2.4.1? |
fully a few times :), also tried to switch on both sides a few times. Effect that same |
Same here, in 2.4.1 wifi seems to be broken Rolling back to 2.3.0, wifi works fine |
I am using WEMOS Mini Pros and Huzzah Feathers and I have not seen this problem. Have you tried selecting different lwip variants? |
I've tried with identical results |
@ekt- @eshvatskyi Unfortunately,I don't own any NODEMCUs. The one I purchased a few months ago died in flaming glory when the serial chip failed! I set the Aurduino IDE to NODEMCU and loaded the NTPClient example into WEMOS Mini Pro and it worked fine, I am not sure what you have going on here. Perhaps you should post your code along with a debug log. Maybe you are using syntax in your WiFi setup that is not accepted in the new board manager but parsed through the compiler on the old board manager okay. |
with the code below
#include <ESP8266WiFi.h>
void setup()
{
Serial.begin(115200);
WiFi.begin(ssid, password);
Serial.print("Connecting");
while (WiFi.status() != WL_CONNECTED)
{
delay(500);
Serial.print(".");
}
Serial.print("Connected, IP address: ");
Serial.println(WiFi.localIP());
}
void loop()
{
} logs are saying
|
That said, this Lolin boards are pretty garbage. For once, they mount a 40hz crystal, instead of a 26hz one. In 2.4.1 there is a flag which allows me to specify the crystal freq, but just to say this things are not that standard. I can stick with th 2.3.0, or maybe it's time for me to switch and try some lua programming :) |
AT commands BIN works fine, SDK 2.2.1, 16.0 AT firmware.
AT firmware work really file, I could scan, connect and broadcast any suggestions to try? |
Does scanning (WiFiScan example) still work for you with 2.4.1, or is it broken as well? If you set up a SoftAP on the ESP, can you connect to it using a phone/computer? |
no example from 2.4.1 works. |
Looking for a pattern here. What hardware are you using. NODEMCU? |
yes NODEMCU - compatible. |
Interestingly, I have zero issues using my LoLin V3 Nodemcu-boards (with the CH240G USB-TTL-chip and ESP-12E module) with latest git, connects to WiFi just wine and the WiFiScan-example works as well. |
@eshvatskyi I also can't reproduce any connection issues with any of my Nodemcu boards on latest git. |
Hmm, if none of the examples work (not even scan), then it looks like a PHY configuration issue. But that is pretty hard to debug without being able to reproduce this. Ordered a bunch of NodeMCU knock-offs on Taobao, will test when they arrive. |
I've tried to use platformio. |
@eshvatskyi Did you try DIO mode? |
Hi, last night i updated to 2.4.1 and WiFi problem show up. I'm playing with ESP8266-01. But only problem with connecting was with router Linksys EA6900. With 2 other TP-Link routers everything worked normal. I did tried Router restart, different settings etc - did not work. When in debug mode, i notice message saying Check your static ip! wifi_station_set_hostname( wifi_hostname ); it manage to connect 1 of 50 attempt , mostly after sketch upload |
I can add little new information other than confirming that I'm likely seeing the same issue. While I can connect to all WiFis in the vicinity at least one of them will eventually freeze the ESP8266 stack after a while. The application is regularly pulling in data from Weather Underground and (deep-)sleeps in between. After a couple of intervals (non deterministic) reading from the client causes the whole system to freeze when connected to an Apple Time Capsule AirPort. However, when connected to an iPhone hotspot all is well. When things go wrong there's no crash, no information on the serial monitor, no nothing - just an unrecoverable freeze. |
FWIW another customer reported this at ThingPulse/espaper-weatherstation#12. He/she uses one of our ePaper Weather Stations which run off an ESP8266 Wroom 2 MCU (same I tested with). Since I can reliably reproduce it my self with an Apple Time Capsule AirPort AP I'll see if I manage to produce meaningful debug info. |
@eshvatskyi @marcelstoer several fixes have been merged since this was opened, especially into the lwip glue. Is this issue still valid in latest git? |
@eshvatskyi @marcelstoer ping? |
I haven't been seeing this with 2.4.2. |
I'm going to check this in the nearest time. |
Thanks. Closing. |
This still happens unfortunately... |
Basic Infos
Platform
Settings in IDE
Problem Description
WiFi doesn't work at all.
If I run any simple sketch (scan, softAP or STA) on version > 2.3.0 WIFI doesn't work.
All that I get, in a log, probe request events.
But everything fine on 2.3.0.
No issues with compiling and upload or crystal frequency I don't have.
Please advise what it could be.
I've tried everything, stuck with this for a week.
SDK:2.2.1(cfd48f3)/Core:2.4.1/lwIP:2.0.3(STABLE-2_0_3_RELEASE/glue:arduino-2.4.1)
The text was updated successfully, but these errors were encountered: