i finally got arduino back working so i am able to build binaries myself
when i create a binary from a regular Mega release and flash that new arduino build to the esp using OTA (from within the ESP)
it states that the update is succcesfull but when rebooting the unit does not come online.
the only way to get it working is to flash using the serial port.
after that i can use OTA again with newer Arduino builds.
somehow i think the OTA code on the running unit gets affected when updating with a build made by another platform
original binaries are made with platformio
is there a difference in where the ota code is put between platformio and Arduino?
OTA update succesfull but kills esp when using arduino build
Moderators: grovkillen, Stuntteam, TD-er
Re: OTA update succesfull but kills esp when using arduino build
I guess the defined location of the SPIFFS filesystem may be set different.
In the PlatformIO.ini files you can see what layout is used for what builds.
In ArduinoIDE you must make sure you set it yourself.
In the PlatformIO.ini files you can see what layout is used for what builds.
In ArduinoIDE you must make sure you set it yourself.
Re: OTA update succesfull but kills esp when using arduino build
discovered why ota was not working
i did set the flash size to 4MB but the FS was set to 2MB
changed it to 1MB, did an ota with the custom firmware and the unit came back online after the upgrade
i did set the flash size to 4MB but the FS was set to 2MB
changed it to 1MB, did an ota with the custom firmware and the unit came back online after the upgrade
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 141 guests