Search found 16 matches
- Fri Sep 29, 2023 8:07 am
- Forum: ESP-IDF
- Topic: pre_encrypted_ota sample custom partition not working
- Replies: 1
- Views: 1602
pre_encrypted_ota sample custom partition not working
I try pre_encrypted_ota sample with SDK 4.4.6 by cherry pick two merge from SDK 5. Origin project working fine and the pre encrypt ota can be update from the test server. But to use it I must use custom partition to support secure boot and flash encryption. I just test by apply new partition table: ...
- Thu Sep 28, 2023 7:19 am
- Forum: ESP-IDF
- Topic: Secure boot v2 and flash encryption failed in development mode with ESP-WROOM 32
- Replies: 8
- Views: 2629
Re: Secure boot v2 and flash encryption failed in development mode with ESP-WROOM 32
Docs not mention, what is the key to encrypt the flash along side with secure boot? Please see here: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/security/flash-encryption.html#using-host-generated-key This is what I had asked in my earlier post too. If you did not program the flash ...
- Thu Sep 28, 2023 3:18 am
- Forum: ESP-IDF
- Topic: Secure boot v2 and flash encryption failed in development mode with ESP-WROOM 32
- Replies: 8
- Views: 2629
Re: Secure boot v2 and flash encryption failed in development mode with ESP-WROOM 32
I have devices that FLASH_CRYPT_CNT is 1 or 127. For the [FLASH_CRYPT_CNT b]1[/b] I try disable Flash encryption with espefuse.py burn_efuse FLASH_CRYPT_CNT and espefuse.py burn_efuse FLASH_CRYPT_CNT 2 with no luck it show the error: For flash encryption release mode, all possible bits in the crypt...
- Wed Sep 27, 2023 5:45 am
- Forum: ESP-IDF
- Topic: Secure boot v2 and flash encryption failed in development mode with ESP-WROOM 32
- Replies: 8
- Views: 2629
Re: Secure boot v2 and flash encryption failed in development mode with ESP-WROOM 32
Hello, Apologies for the delayed response here. Looking at the efuse summary, device has both flash encryption and secure boot (v2) enabled. Hence, it is expecting encrypted artifacts (e.g. bootloader, partition-table etc.). Flashing plain-text bootloader won't help here and it will result in the e...
- Wed Sep 27, 2023 3:41 am
- Forum: ESP-IDF
- Topic: Secure boot v2 and flash encryption failed in development mode with ESP-WROOM 32
- Replies: 8
- Views: 2629
Re: Secure boot v2 and flash encryption failed in development mode with ESP-WROOM 32
Still no answer. I have bricked 4 chips. Google all the web, problem still not fix.
- Sat Sep 23, 2023 4:31 am
- Forum: ESP-IDF
- Topic: Secure boot v2 and flash encryption failed in development mode with ESP-WROOM 32
- Replies: 8
- Views: 2629
Secure boot v2 and flash encryption failed in development mode with ESP-WROOM 32
Hi, I try to enable Secure boot v2 with flash encryption for ESP-WROOM 32, V3.1 follow this guide https://docs.espressif.com/projects/esp-idf/en/latest/esp32/security/secure-boot-v2.html. This is my custom config: # # Serial flasher config # CONFIG_ESPTOOLPY_FLASHMODE_DIO=y CONFIG_ESPTOOLPY_FLASHMOD...