ESP32 7" and OTA

edited January 4 in Elecrow HMI Display

Hi,

I recently bought this: https://www.elecrow.com/esp32-display-7-inch-hmi-display-rgb-tft-lcd-touch-screen-support-lvgl.html and I'm having a great time with it. But I would like to be able to update my Arduino sketch over the air (OTA) with ArduinoOTA. I've added the few lines of code I usually use with my other boards to enable OTA and I can see the port in the Arduino IDE, but when I try to upload the sketch, the displays reboot and the upload fails. I assumed that it was due to the "Huge APP(3MB No OTA/1MB SPIFFS)" setting, and I tried one other setting that did not have "No OTA" but the display did not work anymore (blank), so I put "Huge APP(3MB No OTA/1MB SPIFFS)" back and was able to revive the display. Before I destroy something, I wanted to know if there is a way to make OTA work with this display? What setting should I change?

Thanks,

Comments

  • Just in case anyone ever finds this, "Minimal SPIFFS(1.9 MB APP with OTA/190 KB SPIFFS)" does work.

  • This is because the size on the board is limited. When burning, it is configured OTA is disabled. If you want to use it, you have to choose the option with OTA when burning, but the program cannot be too large, otherwise it will not burn in

  • How is this to be done using platformio? Thanks in advance!

  • Hi yvesp123,
    I've been working with an ESP32 S3 using a 5" display and integrating LVGL with Arduino.
    While trying to implement OTA updates, I've noticed a significant problem. During the update process, the display shows significant errors that look like a "snowstorm".
    Could you provide an example sketch or solution that combines LVGL and OTA updates?
    Thank you very much for your help!

Sign In or Register to comment.