Page 1 of 1

ESP32-S3 NVS "nvs_get_i32" gives error "ESP_ERR_NVS_NOT_FOUND"

Posted: Mon May 02, 2022 5:25 am
by Naman Shandilya
Hi all,
I have bought an ESP32-S3-DevKitC-1 v1.6 Having esp32-s3-wroom-2 module mounted on it. I want to use NVS to store Key and Value Pairs For Wi-Fi Credentials, I am using espressif IDE ver4.4, So to check the working of NVS I have import "nvs_read_value" example from SDK and set the sdk_config parameters to default.
while checking the logs I found that "err = nvs_set_i32(my_handle, "res", restart_counter);" works fine but " err = nvs_get_i32(my_handle, "res", &restart_counter);" Gives error "ESP_ERR_NVS_NOT_FOUND"

The same example working correctly on ESP32-Wroom-32D and ESP32-S2

Please Suggest me what I'm doing WRONG

Any help would be appreciated
Thank You

Re: ESP32-S3 NVS "nvs_get_i32" gives error "ESP_ERR_NVS_NOT_FOUND"

Posted: Mon May 02, 2022 9:00 pm
by ESP_igrr
Could you please check if you have octal SPI flash support enabled in menuconfig? Please see this comment: https://github.com/espressif/esp-idf/is ... 1060365732