OTA update with secure boot and flash encryption - guru meditation in esp_ota_set_boot_partition
(IDFGH-14629)
#15380
Labels
esp_ota_set_boot_partition
(IDFGH-14629)
#15380
Answers checklist.
IDF version.
v5.4, v5.3.2, v5.2.3
Espressif SoC revision.
ESP32-D0WD-V3 (revision v3.0)
Operating System used.
Linux
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
Custom board
Power Supply used.
USB
What is the expected behavior?
I am trying to achieve firmware update on device with secure boot and flash encryption enabled. Update data is sent to device from webserver. Device confirms sucessfull update to webserver and reboots to new version.
What is the actual behavior?
Update is sucessfully written to OTA partition, but guru meditation occurs in
esp_ota_set_boot_partition
. Device then restarts and boots to new version of firmware. As FW crashes update confirmation cannot be sent back to websever.Steps to reproduce.
sdkconfig (sorry, I could not figure how to upload without adding .txt)
partitions.csv
Update is recieved from webserver here:
Updater methods implementation:
Debug Logs.
More Information.
No response
The text was updated successfully, but these errors were encountered: