Search found 23 matches
- Wed Oct 30, 2024 7:19 am
- Forum: General Discussion
- Topic: Help with flash encryption
- Replies: 2
- Views: 618
Re: Help with flash encryption
1)What does disable_dl_encrypt and disable_dl_decrypt does? These 2 options disable encryption/decryption performed directly on the target chip (using the key and encryption algorithm settings taken from target chip). In other words, once you enable these options, you have to work with encrypted ima...
- Thu Aug 22, 2024 1:38 pm
- Forum: ESP-IDF 中文讨论版
- Topic: nvs出现相同键值
- Replies: 1
- Views: 1997
Re: nvs出现相同键值
Hello, The NVS subsystem doesn't overwrite the old values in the NVS pages. It marks old value as deleted and finds a free space where it stores the new value. So it works like a running log. At the moment, when no free space is available for new data, the records marked as erased are reclaimed and ...
- Mon Aug 12, 2024 1:51 pm
- Forum: ESP-IDF 中文讨论版
- Topic: 使用nvs_flash_init()这个函数初始化nvs,能启动这个宏CONFIG_APP_BUILD_TYPE_PURE_RAM_APP吗?
- Replies: 1
- Views: 2331
Re: 使用nvs_flash_init()这个函数初始化nvs,能启动这个宏CONFIG_APP_BUILD_TYPE_PURE_RAM_APP吗?
Hi weimeijia, The CONFIG_APP_BUILD_TYPE_PURE_RAM_APP disables the SPI_FLASH sub system and therefore it is not possible to use the NVS component as it relies on the working SPI_FLASH. In reward, it releases some 26kB of RAM. If your application fits into the memory in default setting (without CONFIG...
- Wed Jul 17, 2024 8:03 am
- Forum: General Discussion
- Topic: NVS initialization fails
- Replies: 1
- Views: 1156
Re: NVS initialization fails
HI @jwachsmuth, I would suggest first commenting out the ESP_ERROR_CHECK(esp_eventLoop_create_default()); to see if there is an interference between the nvs initialisation and anything, that may be already running in parallel to it from the event loop. Then you may simply swap the order of the lines...
- Mon May 06, 2024 1:59 pm
- Forum: ESP-IDF
- Topic: Getting external flash to work - many questions!
- Replies: 1
- Views: 755
Re: Getting external flash to work - many questions!
Hi kevinevans,
You can use ESP IDF examples/storage/ext_flash_fatfs as a starting point to learn, how to let external SPI based flash work with filesystems supported in the ESP IDF.
You can use ESP IDF examples/storage/ext_flash_fatfs as a starting point to learn, how to let external SPI based flash work with filesystems supported in the ESP IDF.
- Thu Mar 28, 2024 11:53 am
- Forum: ESP-IDF
- Topic: Disparity in Heap Needed for NVS Library Initialization
- Replies: 2
- Views: 1947
Re: Disparity in Heap Needed for NVS Library Initialization
Hi squirtle321, One more note. You may also try to run tests with the same NVS partition size and vary the number of different key - value pairs to see the influence of active data amount on the Key Hash Map heap overhead. Start with empty NVS, make nvs_init and the heap overhead (nvs partition size...
- Thu Mar 28, 2024 11:12 am
- Forum: ESP-IDF
- Topic: Disparity in Heap Needed for NVS Library Initialization
- Replies: 2
- Views: 1947
Re: Disparity in Heap Needed for NVS Library Initialization
Hello squirtle321, The RAM footprint of NVS after initialisation is comprised of 2 components: Item Hash List (namespace, key, chunk index) - size depends on number of active key-value pairs Page manager related footprint - size depends on NVS partition size Run your statistics with various NVS part...
- Tue Mar 26, 2024 10:14 pm
- Forum: General Discussion
- Topic: nvs_flash_init_partition returns ESP_ERR_NVS_NOT_ENOUGH_SPACE
- Replies: 1
- Views: 1296
Re: nvs_flash_init_partition returns ESP_ERR_NVS_NOT_ENOUGH_SPACE
Hi Vincecube, The state of NVS flash you are describing - 3 pages are marked as FULL and one page is marked as FREEING is assumed to be inconsistent for nvs_init function. It expects at least one ACTIVE or UNINITIALIZED page when it sees FREEING page. I am not sure what caused the state you describe...
- Wed Feb 28, 2024 2:26 pm
- Forum: ESP-IDF
- Topic: MicroSD problem
- Replies: 8
- Views: 2259
Re: MicroSD problem
@mtaz78 - Please also check whether you have Enabled PSRAM in menuconfig and set Flash and PSRAM frequiencies to 80MHz
- Wed Feb 28, 2024 11:07 am
- Forum: ESP-IDF
- Topic: MicroSD problem
- Replies: 8
- Views: 2259
Re: MicroSD problem
Hi mtaz78,
Please add following:
Before initialisation code and run both initialisation combinations - sd first, then camera and vice versa. Please post log messages of both cases.
Please add following:
Code: Select all
esp_log_level_set("intr_alloc", ESP_LOG_VERBOSE);