Enabling Flash Encryption after Secure Boot
Posted: Thu Aug 22, 2019 7:12 am
Hi all,
I am using ESP-IDF v3.3rc on an ESP-WROOM-32.
I have succesfully enabled Secure Boot on my module and everything seems to run fine and all fuses seem to be in correct state. My bootloader was set to 'One-Time Flash' since I'm targeting a production environment. I now want to try to enable Flash Encyption by setting the correct fields in menuconfig but nothing happens. It is not stated directly as such in the docs that this isn't possible but I suppose the issue is that I flashed the bootloader already in 'One-Time Flash' mode and would need to re-flash the bootloader with Flash Encryption enabled in order for this to work?
I just want to double check here that there isn't another way to still enable Flash Encryption in my situation?
Thanks,
Vincent
I am using ESP-IDF v3.3rc on an ESP-WROOM-32.
I have succesfully enabled Secure Boot on my module and everything seems to run fine and all fuses seem to be in correct state. My bootloader was set to 'One-Time Flash' since I'm targeting a production environment. I now want to try to enable Flash Encyption by setting the correct fields in menuconfig but nothing happens. It is not stated directly as such in the docs that this isn't possible but I suppose the issue is that I flashed the bootloader already in 'One-Time Flash' mode and would need to re-flash the bootloader with Flash Encryption enabled in order for this to work?
I just want to double check here that there isn't another way to still enable Flash Encryption in my situation?
Thanks,
Vincent