This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC1310: NVS Delete Issue

Part Number: CC1312R

Tool/software: TI-RTOS

We are currently developing a custom board using CC1312 as a chip.

I use nvs in my project and I repeat writing as a periodic event.

However, when I turned the power off and on, I occasionally saw that the data of nvs was deleted.

NVS usage refers to the sdk example (nvsinteral). (Using NVS_erase() / NVS_write())

Here is the question.

1. If power is turned off / on while using nvs, will all data of nvs be deleted?

2. Is there a way to protect nvs data even on sudden power off / on?

(Is NVS_lock () / NVS_unlock () used for nvs data protection?)


Thanks.