我们将在春节假期期间对网站进行维护,可能暂时无法访问,同时工程师回复将有所延迟,敬请谅解.

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.

CC2640R2F: 调用NVS_write函数一直返回NVS_STATUS_INV_WRITE(-7)错误

Part Number: CC2640R2F

部分代码如下所示:

WriteAddrBkp= 0x1000  +((num-1)%256)*32;

NVS_write(nvsHandle, WriteAddrBkp, (void *) rBuffera, 32,
NVS_WRITE_PRE_VERIFY | NVS_WRITE_POST_VERIFY);

返回:NVS_STATUS_INV_WRITE(-7)