Enable Flash Encryption Release Mode in ESP32-S3

ss_flashina
Posts: 2
Joined: Mon Dec 04, 2023 3:14 pm

Enable Flash Encryption Release Mode in ESP32-S3

Postby ss_flashina » Tue Apr 23, 2024 3:31 pm

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!

liaifat85
Posts: 200
Joined: Wed Dec 06, 2023 2:46 pm

Re: Enable Flash Encryption Release Mode in ESP32-S3

Postby liaifat85 » Wed Apr 24, 2024 6:02 pm

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.

Who is online

Users browsing this forum: Bing [Bot] and 181 guests