You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The most common causes of OTA failure are as follows:
not enough physical memory on the chip (e.g. ESP01 with 512K flash memory is not enough for OTA),
too much memory declared for SPIFFS so new sketch will not fit between existing sketch and SPIFFS – see Update process - memory view,
too little memory declared in Arduino IDE for your selected board (i.e. less than physical size).
For more details regarding flash memory layout please check File system. For overview where new sketch is stored, how it is copied and how memory is organized for the purpose of OTA see Update process - memory view.
I can compile in both modes - using Serial and OTA, but when the sketch that has been updated with OTA comes into operation, it crashes.
Settings in IDE
Module: NodeMCU 1.0 (ESP-12E Module)
Flash Size: 4MB/3MB
CPU Frequency: 80Mhz
Flash Mode: DIO
Flash Frequency: ?40Mhz?
Upload Using: OTA / SERIAL
Reset Method: nodemcu
The text was updated successfully, but these errors were encountered:
Basic Infos
Hardware
Hardware: ESP-12 NodeMCU V2
Core Version: 2.3.0
Description
I can not update a sketch with OTA. I read this:
I can compile in both modes - using Serial and OTA, but when the sketch that has been updated with OTA comes into operation, it crashes.
Settings in IDE
Module: NodeMCU 1.0 (ESP-12E Module)
Flash Size: 4MB/3MB
CPU Frequency: 80Mhz
Flash Mode: DIO
Flash Frequency: ?40Mhz?
Upload Using: OTA / SERIAL
Reset Method: nodemcu
The text was updated successfully, but these errors were encountered: