-
Notifications
You must be signed in to change notification settings - Fork 13.3k
WiFiWebServer keeps resetting D1 #1095
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
HttpServer works just fine for me with latest version - can u post the relevant code? |
I tried it with minimal wifi sketch like this:
wdt reboots after each couple of seconds. After adding delay(1); in the loop() however everything works stable. May be wifi code need some more attention after each loop() run? Some delay also helped to make WifiWebserver.ino running fine:
|
This might be something specific to D1. I'm certainly not seeing this behaviour on other boards. |
At least not wrong with all D1 boards: D1 board works well with Arduino 1.6.7 Hourly Build 2015/11/24 04:49 and esp8266-2.0.0-rc2. |
@aloz77 |
is there a place to discuss about "D1 wemos" arduino like esp8266 based board? I run a pretty fast mac pro, never had issues with arduino ide before, until I installed the hardware/esp8266com directories and did the setup as described in the wemos site. I can run the basic examples. BUT the compile times and upload times are not believable, I am talking about minutes to upload, and close to a minute to compile, basic examples. It does run, but need some direction why the compile and upload would be taking so long. I noticed warnings turned on generate many warnings in ide for the esp8266 libarary code, but that still does not explain the upload time. |
I had to downgrade to Arduino 1.6.5 in order to compile without errors/warnings. Watch out for Tools -> Upload Speed setting in order to speed up the upload. |
@aloz77: Thx, I was on 1.6.5 it was slow, I upgraded to 1.6.7 it is still slow, I turned off all warnings. Also the recommended d1 wemos upload speed (921K) never worked , i consistently received esp_send errors during upload with that speed on macosx. I tried other speeds and I can consistently upload with 230K. I am trying to see if this is particular to my board or there are known issues with D1 wemos. My ch340g driver was also newly installed from the link on wemos site. |
Uploading via USB from Win7 with 921K to Wemos D1 no problem here. Takes 4-5 sec. |
otuk: I too had countless problems with the wemos d1 on mac... i had to switch to windows and most problems were gone. esp8266 support on the mac is very, very poor at the moment. I also think running Arduino on El Capitan only makes it even worse. |
Yes I solved mine by moving to linux as well, not doing much on mac, I did finish my mini project to wifi control lights by doing that :)
otuk: I too had countless problems with the wemos d1 on mac... i had to switch to windows and most problems were gone. esp8266 support on the mac is very, very poor at the moment. I also think running Arduino on El Capitan only makes it even worse.— |
Hi, At the moment, I am engaged in developing a prototype of temperature and humidity monitoring device based on wemos D1 mini. So whenever the control is encountering client.connect() function or client.print() function, the program is crashing. It's indicating a exception (9) as follows: Exception (9): ctx: cont
ets Jan 8 2013,rst cause:2, boot mode:(1,6) ets Jan 8 2013,rst cause:4, boot mode:(1,6) wdt reset I used esp exception decoder to decode the above exception. The result is as follows: 0x40203e77: WiFiClient::connect(char const*, unsigned short) at C:\Users\hp\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClient.cpp line 149 could anybody of you help me regarding this. Thank you |
change=> #include <WiFi.h> |
I'm trying my new Wemos D1 with the latest esp8266 libraries on IDE 1.6.5. I compiled WiFiWebServer.ino from the examples. I get easily connected but unfortunately after a couple of seconds it keeps doing wdt resets with or without exception. It looks like this on the serial monitor:
Looks like the issue #431 but it was resolved as I understood. Any ideas?
The text was updated successfully, but these errors were encountered: