E (435) flash_encrypt: Flash encryption key has to be either unset or both read and write protected
Search found 7 matches
- Sat Mar 04, 2023 12:50 am
- Forum: ESP-IDF
- Topic: ESP32 Flash Encryption Error
- Replies: 4
- Views: 2777
Re: ESP32 Flash Encryption Error
Does anyone have any ideas? I'm essentially just seeing this fault, the rest of the post is background information:
- Tue Feb 28, 2023 4:47 am
- Forum: ESP-IDF
- Topic: ESP32 Flash Encryption Error
- Replies: 4
- Views: 2777
ESP32 Flash Encryption Error
Hello, I just tried enabling flash encryption for my esp32, and I'm seeing the following error on bootup: E (435) flash_encrypt: Flash encryption key has to be either unset or both read and write protected When I run espefuse.py summary, I can see the full encryption key in Block1 (I redacted it bel...
- Thu Feb 09, 2023 11:50 pm
- Forum: ESP-IDF
- Topic: Help with ESP32 OTA Rollback Option
- Replies: 5
- Views: 4901
Re: Help with ESP32 OTA Rollback Option
Hi @ESP_Mahavir,
Did you see my last post?
Thanks
Robert
Did you see my last post?
Thanks
Robert
- Thu Jan 26, 2023 2:01 am
- Forum: ESP-IDF
- Topic: Help with ESP32 OTA Rollback Option
- Replies: 5
- Views: 4901
Re: Help with ESP32 OTA Rollback Option
Thank you. So if I enable the option, the minimum I need to do is add this line to my code? // Mark firmware as valid and cancel rollback process esp_ota_mark_app_valid_cancel_rollback(); How quickly after startup do I need to call this function before it auto rolls back to the previous version? Ass...
- Sun Jan 22, 2023 8:14 pm
- Forum: ESP-IDF
- Topic: Help with ESP32 OTA Rollback Option
- Replies: 5
- Views: 4901
Re: Help with ESP32 OTA Rollback Option
@ESP_Mahavir
Thank you for the response. Where should I put these lines of code in my program?
Also, I don't understand how I could use the invalid line. It seems invalid should be assumed if the valid line is never run?
Thank you for the response. Where should I put these lines of code in my program?
Also, I don't understand how I could use the invalid line. It seems invalid should be assumed if the valid line is never run?
- Thu Jan 19, 2023 4:10 am
- Forum: ESP-IDF
- Topic: Help with ESP32 OTA Rollback Option
- Replies: 5
- Views: 4901
Help with ESP32 OTA Rollback Option
On the ESP32 (micropython, not Arduino) for OTA updates, do rollbacks occur by default, or does the CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE need to be set in the menuconfig for this to happen? Also, does any manual code need to be added to the firmware for rollback to occur?
- Wed Jan 18, 2023 6:01 am
- Forum: ESP-IDF
- Topic: Do you NEED to enable rollback?
- Replies: 3
- Views: 5083
Re: Do you NEED to enable rollback?
I know this is rehashing an old post, but the answer is not clear to me. On the ESP32 (micropython, not Arduino) for OTA updates, do rollbacks occur by default, or does the CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE need to be set in the menuconfig for this to happen? Also, does any manual code need to b...