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.

CC2530的NV读写多次后程序会死机,NV操作需要注意什么?

你好,我使用NV保存一个标志,复位前将其写入,复位后将其读出,多次操作后出现死机想象,这会是什么原因?

NV的操作函数主要有3个

1、 osal_nv_item_init  初始化

2、 osal_nv_write        写入

3、 osal_nv_read        读取

是否应该在操作NV时关闭中断?但是出现死机时,我重新上电后,可以读出内容,复位前写入操作应该没有被打断。