Flash Update using SD card & Flash Encryption
Posted: Tue Jul 02, 2024 2:18 pm
I'm using IDF v5.2.2 on an ESP32 rev1 dev kit C.
I use the SD card to update the firmware and reboot. It works very well and is based on this code:
viewtopic.php?t=19364
Thank you @minze25 !
I will be enabling flash encryption and want to be able to update via the SD card.
The flash encryption key is known and has been burned before first re-boot.
• How do I encrypt the updated app.bin file?
• Do I still use esp_ota_begin() to update?
Thanks in advance!
I use the SD card to update the firmware and reboot. It works very well and is based on this code:
viewtopic.php?t=19364
Thank you @minze25 !
I will be enabling flash encryption and want to be able to update via the SD card.
The flash encryption key is known and has been burned before first re-boot.
• How do I encrypt the updated app.bin file?
• Do I still use esp_ota_begin() to update?
Thanks in advance!