In chapter 4.5 of Build Web Servers course, to upload a new web server sketch, it is necessary to upload firmware.bin file. But in my .pio/build/esp32doit-devkit-v1 folder there is no firmware.bin file. There is only project.checksum file. And there are 9 Problems. I did it copying main.cpp file from the course because if I use the folder 4_5_OTA from the course there is no quick tools at the bottom of Visual Studio Code.
I found that the problem was to copy the folder 4_5_OTA. Inside that folder there are 3 other. If I copy them separately, then the quick tools are at the bottom and there is firmware.bin file. But when uploading that firmware.bin file it stays at 7%. As I am using Esp32-cam I donn’t know if that uploading is done with I00 connected to GND and pressing RST button or not.
Hi Manuel.
I haven’t tested ElegantOTA with the ESP32-CAM. But, in theory, you shouldn’t need to press the buttons.
From my experience, the Wi-Fi signal from the ESP32-CAM is worst than a “regular” ESP32. So, it may be something related to the Wi-Fi range. Do you have an antenna on your board?
Regards,
Sara
I followed the Tutorial “ESP32 OTA using Arduino IDE” and was not able to upload .bin file with Esp32-Cam. But I was able to do it with Esp32. Then I found the solution for Esp32-Cam in the Internet:
Tools/Board/Esp32 Dev Module
Partition Scheme:”Minimal SPIFFS (1,9MB APP with OTA/190KB SPIFFS)”
PSRAM “Enabled”
I don´t know how to do it with Visual Studio Code.
Hi Manuel.
It seems that you need to create a custom partition table for VS Code + PIO: https://docs.platformio.org/en/latest/platforms/espressif32.html?highlight=partition%20scheme#partition-tables
I haven’t tried this yet.
Regards,
Sara