Page 1 of 1

Enable Flash Encryption Release Mode in ESP32-S3

Posted: Tue Apr 23, 2024 3:31 pm
by ss_flashina
Hello everyone!
After I enabled the Release Mode of the Flash Encryption in the ESP32-S3 I get this error:

Code: Select all

E (529) flash_encrypt: Flash encryption settings error: app is configured for RELEASE but efuses are set for DEVELOPMENT
E (530) flash_encrypt: Mismatch found in security options in bootloader menuconfig and efuse settings. Device is not secure.
I know that using ESP32 the eFuse DISABLE_DL_ENCRYPT needs to be manually burned in order to remove this message, has anyone encountered (and solved) this on the ESP32-S3 as well?

Thank you very much!

Re: Enable Flash Encryption Release Mode in ESP32-S3

Posted: Wed Apr 24, 2024 6:02 pm
by liaifat85
For the ESP32-S3, similar to the ESP32, one common eFuse setting that affects flash encryption is DISABLE_DL_ENCRYPT. If you're encountering this error after enabling flash encryption in RELEASE mode, it's likely that you need to burn the DISABLE_DL_ENCRYPT eFuse to disable flash encryption.