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?
nvs content lost
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: nvs content lost
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.
-
- Posts: 22
- Joined: Mon Apr 30, 2018 12:14 pm
Re: nvs content lost
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.
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.
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: nvs content lost
As I said in the other topic: no way to tell unless you give us a bunch more information.
Re: nvs content lost
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.ESP_Sprite wrote: ↑Fri Nov 23, 2018 11:00 amErm, 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.
Who is online
Users browsing this forum: No registered users and 136 guests