Hi dizcza ,
The IDF 5.2 has added one more indirection inside the nvs security. The concept is called nvs_security_provider.
The on-flash format is identical — read_security_cfg_flash_enc() in 5.2 ultimately calls the same nvs_flash_read_security_cfg() against the same nvs_keys partition. So if ...
Search found 53 matches
- Mon Jun 22, 2026 11:49 am
- Forum: ESP-IDF
- Topic: Failed to read NVS security cfg after migration 5.1->5.5
- Replies: 2
- Views: 99
- Tue Jun 09, 2026 8:02 am
- Forum: ESP-IDF
- Topic: [ESP32] NVS Page Status: Full pages with only 2 written entries and 0 erased — is this normal?
- Replies: 3
- Views: 126
Re: [ESP32] NVS Page Status: Full pages with only 2 written entries and 0 erased — is this normal?
PETERESP
Let me clarify the ocupied space calculation for 8192 Bytes BLOB on the NVS partition.
After the first write
Page 1
1 entry - namespace metadata
1 entry - BLOB_INDEX metadata (first value)
1 entry - BLOB_DATA metadata chunk #1
123 entries - chunk #1 payload (123*32 = 3936 B)
Page 2
1 ...
Let me clarify the ocupied space calculation for 8192 Bytes BLOB on the NVS partition.
After the first write
Page 1
1 entry - namespace metadata
1 entry - BLOB_INDEX metadata (first value)
1 entry - BLOB_DATA metadata chunk #1
123 entries - chunk #1 payload (123*32 = 3936 B)
Page 2
1 ...
- Tue May 12, 2026 9:29 am
- Forum: ESP-IDF
- Topic: esp_partition_register_external() call
- Replies: 2
- Views: 83
Re: esp_partition_register_external() call
Hi zliudr ,
You can get an idea how to modify the partition table from the running app from the example: https://github.com/espressif/esp-idf/tree/master/examples/system/ota/partitions_ota#partition-ota-example
Please read the warning related to the need for reliable power conditions when doing ...
You can get an idea how to modify the partition table from the running app from the example: https://github.com/espressif/esp-idf/tree/master/examples/system/ota/partitions_ota#partition-ota-example
Please read the warning related to the need for reliable power conditions when doing ...
- Tue May 12, 2026 9:15 am
- Forum: ESP-IDF
- Topic: Significantly more time when accessing encrypted littlefs
- Replies: 2
- Views: 97
Re: Significantly more time when accessing encrypted littlefs
Hi zliudr ,
When using the littlefs, the performance can be influenced by the available free space. You can try to change the size of the littlefs partition (incerease it) to figure out whether it helps the unencrypted performance.
You can also use the benchmark https://github.com/espressif/esp ...
When using the littlefs, the performance can be influenced by the available free space. You can try to change the size of the littlefs partition (incerease it) to figure out whether it helps the unencrypted performance.
You can also use the benchmark https://github.com/espressif/esp ...
- Tue Apr 07, 2026 1:16 pm
- Forum: ESP-IDF
- Topic: Esp32S3 : How to update partition table using OTA ?
- Replies: 2
- Views: 2612
Re: Esp32S3 : How to update partition table using OTA ?
Hi @ThomasESP32 ,
There is an example showing OTA manipulating partition table in ESP-IDF repo: https://github.com/espressif/esp-idf/tr ... ta-example
Hope it helps you.
There is an example showing OTA manipulating partition table in ESP-IDF repo: https://github.com/espressif/esp-idf/tr ... ta-example
Hope it helps you.
- Thu Apr 02, 2026 12:59 pm
- Forum: ESP-IDF 中文讨论版
- Topic: esp32p4 V3.1 SD卡写入速度慢
- Replies: 1
- Views: 399
Re: esp32p4 V3.1 SD卡写入速度慢
Hi DevinKung ,
The problem may be caused by the write buffer not being 64 byte aligned.
Please check the address of the buffer and it's alignment to the 64 byte boundary - print the result of ((uintptr_t)buf % 64 == 0)
If the buffer is not 64 byte aligned, you can try to allocate the buffer from ...
The problem may be caused by the write buffer not being 64 byte aligned.
Please check the address of the buffer and it's alignment to the 64 byte boundary - print the result of ((uintptr_t)buf % 64 == 0)
If the buffer is not 64 byte aligned, you can try to allocate the buffer from ...
- Thu Feb 19, 2026 7:48 am
- Forum: General Discussion
- Topic: [ESP32-S3] Lost WiFi configuration in NVS after OTA due to Partition Table error?
- Replies: 1
- Views: 190
Re: [ESP32-S3] Lost WiFi configuration in NVS after OTA due to Partition Table error?
Hi Huy_Tran_DF ,
There is definitely no need to create a gap between the end of the app partition and subsequent nvs partition.
From your post, it is not obvious, whether the OTA updated (ESP_Home) application was built using the same version of IDF as the initial one. If it is was the case, there ...
There is definitely no need to create a gap between the end of the app partition and subsequent nvs partition.
From your post, it is not obvious, whether the OTA updated (ESP_Home) application was built using the same version of IDF as the initial one. If it is was the case, there ...
- Mon Feb 02, 2026 10:05 am
- Forum: ESP-IDF 中文讨论版
- Topic: SD卡SDIO初始化问题
- Replies: 10
- Views: 2356
Re: SD卡SDIO初始化问题
Hi @13302657252 ,
The resistor R18 (CLK) should not be present. Please remove it and retry.
The resistor R18 (CLK) should not be present. Please remove it and retry.
- Tue Jan 27, 2026 3:47 pm
- Forum: ESP-IDF 中文讨论版
- Topic: SD卡SDIO初始化问题
- Replies: 10
- Views: 2356
Re: SD卡SDIO初始化问题
Hi 13302657252 ,
Thanks for the answers to my questions. When I put everything together, the initialisation of the card works correctly if:
- Card is removed and inserted into the slot after reset of the chip
- The verbose log level is enabled.
- and the strange behavior related to the soldering ...
Thanks for the answers to my questions. When I put everything together, the initialisation of the card works correctly if:
- Card is removed and inserted into the slot after reset of the chip
- The verbose log level is enabled.
- and the strange behavior related to the soldering ...
- Thu Jan 22, 2026 7:51 am
- Forum: ESP-IDF 中文讨论版
- Topic: SD卡SDIO初始化问题
- Replies: 10
- Views: 2356
Re: SD卡SDIO初始化问题
Hi 13302657252 ,
The "2. After soldering and heating, initialization succeeds the first few times, but fails after cooling." suggests some problem related to the reliability of the physical wiring rather than software issue.
Could you please clarify:
1. Whether you have only single prototype ...
The "2. After soldering and heating, initialization succeeds the first few times, but fails after cooling." suggests some problem related to the reliability of the physical wiring rather than software issue.
Could you please clarify:
1. Whether you have only single prototype ...