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.

[参考译文] CC2541:CC2541 SNV 写入/读取异常

Guru**** 2847400 points

Other Parts Discussed in Thread: CC2541

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/702215/cc2541-cc2541-snv-write-read-abnormal

器件型号:CC2541

您好!

我们使用 CC2541芯片和 BLE-CC254x-1.4.2.2。  启用大 OAD 功能。

当我们使用 osal_SNV_write/read API,时、它的工作异常。 它无法成功写入 。  

我们测试0x80~0xFE 的闪存 ID。

因此、我们尝试使用 HAL 读取/写入 API。

(三

HalFlashErase (page_id);//Flash ID

while (FCTL & 0x80);//等待擦除完成
HalFlashWrite (addr_id、data、data_len);

(三

如何使用/设置 page_id/addr_id/data_len?  

谢谢

Peter

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    在使用 osal_SNV_write/read API 之前、是否调用 osal_SNV_init?