NVS gets corrupted

snahmad75
Posts: 445
Joined: Wed Jan 24, 2018 6:32 pm

NVS gets corrupted

Postby snahmad75 » Tue Dec 11, 2018 5:11 pm

Hi,

I have two NVS namespaces.

I keep one NVS namespace handle open after reading values. Is this good idea or ok to keep handle open.

During OTA this nvs handle is still opened. I added few more keys in new firmware with opened NVS namespace. I mess up my other nvs namespaces values.

Is this expected?

Can we add and remove keys/values via OTA updates.

Also, can we re-power device by plug-out power cable while firmware is running and nvs is opened. Does It can cause NVS corruption.


Thanks,
Naeem

Who is online

Users browsing this forum: No registered users and 123 guests