主题中讨论的其他器件:CC1312R7
我正在尝试使用"FlashProgram" API 写入内部闪存。
出现故障时出现错误代码"4"
此错误代码所代表的内容、我找不到太多文档。
请就此提供帮助吗?
谢谢、
Bhasker
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.
我正在尝试使用"FlashProgram" API 写入内部闪存。
出现故障时出现错误代码"4"
此错误代码所代表的内容、我找不到太多文档。
请就此提供帮助吗?
谢谢、
Bhasker
我假设您使用的是 NVS_WRITE?
(-4)的状态为 NVS_STATUS_INV_OFFSET
所有这些都记录在这里:
我建议您使用 nvsinternal 示例作为起点:
Siri
您好、Siri、
我正在使用 FlashProgram()以下是 AP 解密:
在此链接中、我也没有在此说明中看到错误代码4。
谢谢、
Bhasker
抱歉、是 Google 快速搜索链接、我仅使用 simplelink SDK:
FlashProgram()函数在由 simplelink SDK 提供的 flash.c 文件中定义。
simplelink_cc13x2_26x2_sdk_5_20_00_52_s/s/source/ti/devices/cc13x2x7_cc26x2x7/driverlib/flash.c
Bhasker