Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By m.maazi
#75877 Hi.
I am trying to use https://github.com/esp8266/Arduino/blob/master/doc/ota_updates/readme.rst method to upload sketch to my esp8266. but every time it fail with this error:
Code: Select allSketch uses 275612 bytes (55%) of program storage space. Maximum is 499696 bytes.
Global variables use 33964 bytes (41%) of dynamic memory, leaving 47956 bytes for local variables. Maximum is 81920 bytes.
17:59:57 [ERROR]: Bad Answer: ERR: ERROR[4]: Not Enough Space


the selected serial port
 does not exist or your board is not connected

and my esp prints "Error[1]: Begin Failed" in serial port.
My module is "ESP8266MOD" by AI Thinker.
I use IDE version 1.8.5 & Python 3.6 & last esp8266 core library published.
Could anyone please help me solve the problem?
Thanks & sorry for poor English.
User avatar
By rudy
#75880 Check the memory size of your device. If it only has 512K then there is nothing that you can do. I have a few ESP-07 boards, and have the same problem. Only 512K and not enough for OTA.