nvs content lost

dhs2017
Posts: 40
Joined: Thu Mar 30, 2017 8:56 am

nvs content lost

Postby dhs2017 » Fri Nov 23, 2018 6:47 am

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?

ESP_Sprite
Posts: 9051
Joined: Thu Nov 26, 2015 4:08 am

Re: nvs content lost

Postby ESP_Sprite » 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.

anandvilayil
Posts: 22
Joined: Mon Apr 30, 2018 12:14 pm

Re: nvs content lost

Postby anandvilayil » Fri Nov 23, 2018 11:18 am

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.

ESP_Sprite
Posts: 9051
Joined: Thu Nov 26, 2015 4:08 am

Re: nvs content lost

Postby ESP_Sprite » Sat Nov 24, 2018 6:18 am

As I said in the other topic: no way to tell unless you give us a bunch more information.

dhs2017
Posts: 40
Joined: Thu Mar 30, 2017 8:56 am

Re: nvs content lost

Postby dhs2017 » Sat Nov 24, 2018 6:43 am

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.

Who is online

Users browsing this forum: rahulbari, Vineethad and 203 guests