New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/update doesn't work on a ESP32cam board #100
Comments
Hm. Can confirm, I'm having issues as well. I've managed to capture this log if it seems useful to anyone:
After which, the device resets. The firmware is exported from Arduino 1.8.19 (sketch -> export as compiled binary) and is 1mb. Am I running out of space, perhaps? I am also making my own use of ArduinoWebsockets. Other than that, it's a pretty vanilla espcam project. |
Digging into this, it looks like it's due to the partition scheme not having enough space for the incoming firmware. Haven't gotten any of the options in the Arduino IDE to work, though with ElegantOTA. Will report back if I've solved it. |
Once I set any partition scheme to something with OTA, and try to upload ElegantOTA's demo, all things work. Once I go back to my own code, something breaks. Whittling down my libraries to try to figure it out. Currently, I do notice my app being 1mb (reported by Arduino). |
Another user reporting similar feedback here: #89 |
I have tried so many different configurations now of OTA partitions. Default sketch for ElegantOTA works over many different versions of partition layouts. Once I add in my libraries, things fail:
Going to try and whittle down which library it is next. |
Whelp. After wrestling with this all day, I just decided to abandon the current arduino project, start from scratch. In Arduino 1.8.19, using the github master zip downloads for all required libraries, I'm able to successfully:
While waiting to sleep, the ElegantOTA works perfectly. My settings are obvious: Board: Ai Thinker ESP32-CAM I'm pretty much at a loss as to what was happening before, but a fresh Arduino project fixed it for me. |
Тоже столкнулся с такой проблемой на esp8266. Сразу после загрузки esp страница ip/update работает. Потом, через некоторое время не загружается. Может пройти час, а может и несколько дней беспрерывной работы esp чтобы вылезла эта проблема |
hello everyone, after having problems with it yesterday it seems to be the partitions. https://github.com/espressif/arduino-esp32/blob/master/tools/partitions/default.csv PlatformIO.ini by default this is huge_app.csv in platformio i hope this helps. |
This is already in the official Expressif doc. Whatever system is used for OTA (Arduino OTA, ElegantOTA or anything else), it requires that the partitions are correctly set. This is unrelated to how ElegantOTA is working but is related to how the https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/ota.html
|
I am trying to upload the LED .bin file via the OTA on a ESP32-CAM board using:
https://randomnerdtutorials.com/esp32-ota-over-the-air-arduino/
Problem is that when I try to browse to the IP: 192.168.0.114/update after a little delay, I just get a blank screen – ie no web page.
However, when I browse to 192.168.0.114 I get the expected: “I am ESP32”.
Could be a problem unique to the ESP32cam board.
I have tried updating via OTA and /update using the same program on a standard ESP32 - and it works with no problem.
Can anyone point me in the right direction?
The text was updated successfully, but these errors were encountered: