Page 1 of 1

nvs content lost

Posted: Fri Nov 23, 2018 6:47 am
by dhs2017
I have a ESP32 device which the NVS had been partitioned with SPIFFS sector.
The device wake from deepsleep every 3 mins.

During the boot procedure, it will fetch data from the SPIFFS in NVS, and then continue to run the entire program by using this data.

The program itself doesn't perform any modification on the spiffs but just read.

I found that the device is unable to fetch the data in SPIFFS after around 5000 times i.e. around 11 days.

I upload again the spiffs content by using esptool, the program run again.

Anyone has idea about this problem? Is there any limitation on nvs or spiffs?

Re: nvs content lost

Posted: Fri Nov 23, 2018 11:00 am
by ESP_Sprite
Erm, NVS and SPIFFS are both storage options that are incompatible with each other. A partition can be either NVS or SPIFFS, a combination of both is not allowed.

Re: nvs content lost

Posted: Fri Nov 23, 2018 11:18 am
by anandvilayil
hi,

why esp-idf 3.2 have "Guru Meditation Error: Core 0 panic'ed (Cache disabled but cached memory region accessed)" error at the time of writing or reading from flash memory.

Re: nvs content lost

Posted: Sat Nov 24, 2018 6:18 am
by ESP_Sprite
As I said in the other topic: no way to tell unless you give us a bunch more information.

Re: nvs content lost

Posted: Sat Nov 24, 2018 6:43 am
by dhs2017
ESP_Sprite wrote:
Fri Nov 23, 2018 11:00 am
Erm, NVS and SPIFFS are both storage options that are incompatible with each other. A partition can be either NVS or SPIFFS, a combination of both is not allowed.
sorry, my expression error, actually, I made a SPIFFS partition in in the FLASH(not NVS), so everything is happening on the SPIFFS partition in the flash memory.