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:
Sketch 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.