Search found 4 matches

by jettyjett
Thu Aug 20, 2020 1:53 pm
Forum: ESP-IDF
Topic: Secure Boot V2- not able to flash the built bootloader
Replies: 0
Views: 1410

Secure Boot V2- not able to flash the built bootloader

Hi everyone, I'm trying to activate Secure Boot V2 on my ESP32-WROOM-32E revision 3 . Following the documentation and I'm stuck at step 6, https://docs.espressif.com/projects/esp-idf/en/latest/esp32/security/secure-boot-v2.html#how-to-enable-secure-boot-v2 after executing idf.py bootloader I get the...
by jettyjett
Mon Aug 17, 2020 1:19 pm
Forum: General Discussion
Topic: corrupted NVS key partition
Replies: 0
Views: 1955

corrupted NVS key partition

I created a custom encrypted NVS partition and I tried programmatically to access it and read its data, but I got the following error ESP_ERR_NVS_CORRUPT_KEY_PART when executing the following code snippet: // find partition with nvs_keys const esp_partition_t *partition = esp_partition_find_first(ES...
by jettyjett
Mon Aug 17, 2020 9:27 am
Forum: ESP-IDF
Topic: Undefined reference to `nvs_flash_secure_init_partition` and to `nvs_flash_read_security_c` when executing flash command
Replies: 1
Views: 2173

Re: Undefined reference to `nvs_flash_secure_init_partition` and to `nvs_flash_read_security_c` when executing flash com

Problem resolved. I had to activate the flag

Code: Select all

CONFIG_NVS_ENCRYPTION
from the menuconfig. It's situated under

Code: Select all

component config/nvs
by jettyjett
Fri Aug 14, 2020 1:34 pm
Forum: ESP-IDF
Topic: Undefined reference to `nvs_flash_secure_init_partition` and to `nvs_flash_read_security_c` when executing flash command
Replies: 1
Views: 2173

Undefined reference to `nvs_flash_secure_init_partition` and to `nvs_flash_read_security_c` when executing flash command

As mentioned in the title I'm getting an error when running idf.py flash monitor the snippet that causing the problem is the following: #include 'nvs.h' #include 'nvs_flash.h' // find partition with nvs_keys const esp_partition_t *partition = esp_partition_find_first(ESP_PARTITION_TYPE_DATA, ESP_PAR...