ESP32-S3 EFUSE pre-programming for production.
Posted: Fri Dec 02, 2022 11:39 am
Greetings Dear Colleagues,
Is it an acceptable practice to pre-program EFUSES related to Secure Boot V2 and Flash Encryption without immediately flashing the bootloader and app afterwards?
I have always seen in the documentations that the boot and app are encrypted internally for the first time after flash encryption is enabled. What if I don't intend to flash the boot and app just yet? Will it still initially need an unencrypted binary or can I skip the plaintext and flash a fully signed and encrypted binary instead?
I am currently tasked to pre-program the full protection and keys of our first PCB run. It will be another person's job to program the bootloader and app next year. This said person is not allowed to handle unencrypted binaries of this project.
My goal right now is to prepare the PCB to just work signed and encrypted binaries. (Plaintext not allowed at all)
Flashing will be done via the UART bootloader initially, and the partition table has reserved areas for 2 OTA slots.
The reason I am asking for advice is because I don't want to mess up around 5K PCBs.
I am confused about the part that the first binary to be flashed should still be plaintext even after enabling SBV2 and encryption. Can I skip this part entirely?
Best Regards,
Is it an acceptable practice to pre-program EFUSES related to Secure Boot V2 and Flash Encryption without immediately flashing the bootloader and app afterwards?
I have always seen in the documentations that the boot and app are encrypted internally for the first time after flash encryption is enabled. What if I don't intend to flash the boot and app just yet? Will it still initially need an unencrypted binary or can I skip the plaintext and flash a fully signed and encrypted binary instead?
I am currently tasked to pre-program the full protection and keys of our first PCB run. It will be another person's job to program the bootloader and app next year. This said person is not allowed to handle unencrypted binaries of this project.
My goal right now is to prepare the PCB to just work signed and encrypted binaries. (Plaintext not allowed at all)
Flashing will be done via the UART bootloader initially, and the partition table has reserved areas for 2 OTA slots.
The reason I am asking for advice is because I don't want to mess up around 5K PCBs.
I am confused about the part that the first binary to be flashed should still be plaintext even after enabling SBV2 and encryption. Can I skip this part entirely?
Best Regards,