Skip to content

ArduinoOTA stops working together with ESP8266WebServer (Generic 512k no SPIFFS) #1042

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

Closed
reaper7 opened this issue Nov 18, 2015 · 5 comments

Comments

@reaper7
Copy link
Contributor

reaper7 commented Nov 18, 2015

when I try to add WebServer to BasicOTA example then OTA stops working (Generic 512k no SPIFFS).
I add only (before setup):

#include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#include <WiFiUdp.h>
#include <ArduinoOTA.h>

#include <ESP8266WebServer.h>

ESP8266WebServer server(80); 

serial console messages when I try upload via OTA:

Booting
Ready
IP address: 192.168.4.28
Error[1]: Begin Failed

arduino ide message:

11:22:26 [ERROR]: No response from device
@reaper7 reaper7 changed the title ArduinoOTA stops working together with ESP8266WebServer ArduinoOTA stops working together with ESP8266WebServer (Generic 512k no SPIFFS) Nov 18, 2015
@me-no-dev
Copy link
Collaborator

your sketch becomes too large and there is no space to write the new one.
OTA is really intended for larger Flash chips. 512K is way not enough :)

@reaper7
Copy link
Contributor Author

reaper7 commented Nov 18, 2015

seems to be true :)
without WebServer 245714b(49%)
with WebServer 247662b(49%)
this is bad news, because OTA could be good solution for some devices like esp-05 (only with rx+tx pins) where programming is little difficult.
I have few esp-05, so...maybe changing flash ic's is last chance for them.
BTW...is any good and tested type of bigger flash memory?

@me-no-dev
Copy link
Collaborator

any 25Q compatible chip should do :) i bought some 8MB Winbond chips that I use (up to 4MB of them).

@reaper7
Copy link
Contributor Author

reaper7 commented Nov 18, 2015

bought W25Q32 :)
tnx!
close!

@reaper7 reaper7 closed this as completed Nov 18, 2015
@reaper7
Copy link
Contributor Author

reaper7 commented Dec 3, 2015

I only notice that
with latest release size of final sketch is OK:)
without WebServer 222006b(44%)
with WebServer 224094b(44%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants