esp_ota_get_state_partition will return ESP_ERR_NOT_SUPPORTED for the factory app partition as it can't be in any OTA state. Increasing bootloader logging might shed some light on why OTA0 is not booting if you expect it to.
1. Yes
2. Yes
3. Yes, see the factory reset config option
Search found 566 matches
- Tue Mar 29, 2022 1:21 am
- Forum: ESP-IDF
- Topic: OTA: can't start loaded firmware. Advices needed.
- Replies: 2
- Views: 2087
- Mon Mar 28, 2022 1:36 am
- Forum: Hardware
- Topic: Custom ESP32-PICO-D4 board, not able to upload sketches (no communication to internal flash)
- Replies: 7
- Views: 3790
Re: Custom ESP32-PICO-D4 board, not able to upload sketches (no communication to internal flash)
IO2 is pulled up, you will need it low to program successfully
- Sun Mar 27, 2022 11:54 am
- Forum: ESP32 Arduino
- Topic: Favicon
- Replies: 10
- Views: 8065
Re: Favicon
https://github.com/espressif/arduino-es ... ver.h#L124 ?Galeforce9 wrote: ↑Sun Mar 27, 2022 11:39 amthe server.send_P funtion which doesnt seem present in the webser.h library
- Mon Mar 21, 2022 2:51 am
- Forum: Hardware
- Topic: Can only program ESP32 once
- Replies: 6
- Views: 2338
Re: Can only program ESP32 once
Check IO2 (eZ80TxD) too. 0 and 2 must both be low for download mode.
- Wed Mar 16, 2022 9:12 am
- Forum: General Discussion
- Topic: Understanding the vTaskDelay help
- Replies: 2
- Views: 3276
Re: Understanding the vTaskDelay help
"xTaskDelayUntil() can be used to generate a constant execution frequency." https://freertos.org/xtaskdelayuntiltask-control.html FreeRTOS timing is not high resolution and will be limited by the configured tick rate. At the default 100hz, a 1 tick delay could be almost immediate (if the next tick ...
- Thu Mar 10, 2022 4:42 am
- Forum: ESP-IDF
- Topic: I2C Null reference crash after updating to IDF V4.4
- Replies: 6
- Views: 3128
Re: I2C Null reference crash after updating to IDF V4.4
It might be time to set up that GitHub account!
- Thu Mar 10, 2022 3:59 am
- Forum: ESP-IDF
- Topic: I2C Null reference crash after updating to IDF V4.4
- Replies: 6
- Views: 3128
- Wed Mar 09, 2022 9:00 am
- Forum: ESP-IDF
- Topic: WiFi switch without disconnect.
- Replies: 11
- Views: 6597
Re: WiFi switch without disconnect.
Can you share your code?
- Wed Mar 09, 2022 5:42 am
- Forum: General Discussion
- Topic: How to display image on webserver
- Replies: 10
- Views: 10537
Re: How to display image on webserver
However, the issue is when I try to display the image together with other html elements on my index page. I would like to display the logo, some text, some tables and other things: The html and the image should be separate HTTP requests*. Headers are sent first, including the Content-Type which spe...
- Tue Mar 08, 2022 10:53 am
- Forum: ESP-IDF
- Topic: [Solved] esp_partition_write for OTA
- Replies: 4
- Views: 2556
Re: esp_partition_write for OTA
if ((received = httpd_req_recv(req, buf, MIN(remaining, 512))) <= 0) ... ESP_ERROR_CHECK(esp_partition_write(partition, 0 + (iterator * 512), buf, MIN(remaining, 512))); You're unconditionally writing 512 bytes of the buffer, despite perhaps having less available. Everything after the actual number...