platformio / platform-espressif8266

Espressif 8266: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/espressif8266
Apache License 2.0
325 stars 219 forks source link

OTA crashes device with Espressif8266 Platform >= 2.0.0 #136

Closed gabomdq closed 5 years ago

gabomdq commented 5 years ago

Device: Lolin NodeMCU (ESP8266EX 4MB)

Doing the OTA procedure works fine with 1.8.0, but any platform release after that produces a crash on the device after the OTA connection is established and the first few bytes are uploaded (Device sometimes reports 2% upload, PlatformIO reports typically reports 1% progress before it halts).

The OTA code on device is the standard boilerplate ArduinoOTA stuff.

ManuelW77 commented 5 years ago

I can confirm, there is a memory heap. After a few mins the esp is running out of heap memory and crashes, when OTA is enabled with the build in ArduinoOTA.

ivankravets commented 5 years ago

Could you re-test with the latest upstream version http://docs.platformio.org/en/latest/platforms/espressif8266.html#stable-and-upstream-versions ?

ivankravets commented 5 years ago

Please reopen if you still need help