你好,
我按照UM-B003的第10节创建了一个新的配置文件sample128。然而,这款应用并不好用,我猜是因为我错过了什么。当读取此线程时http://support.dialog-semiconductor.com/sample128,我注意到您有一个完整的sample128项目要分享。你能给我发一份吗?这样我就可以开始了。
最好的问候,
约翰
你好,
我按照UM-B003的第10节创建了一个新的配置文件sample128。然而,这款应用并不好用,我猜是因为我错过了什么。当读取此线程时http://support.dialog-semiconductor.com/sample128,我注意到您有一个完整的sample128项目要分享。你能给我发一份吗?这样我就可以开始了。
最好的问候,
约翰
您的意思是项目不会编译或样例服务在发现后没有出现在服务列表中吗?
项目可以编译,但当我试图用Sample128服务连接外设时,连接总是超时。我不知道为什么,因为设备进入广告状态后,调试就不工作了。
我认为除非芯片进入休眠模式,否则调试应该可以工作。你知道它会不会睡着吗?您还可以尝试调试打印。
这是有用的:
http://support.dialog-semiconductor.com/how-utilize-debug-printing
如果您不启用该服务,连接是否会超时?
我破坏了延长睡眠和深度睡眠。
# undef CFG_EXT_SLEEP
# undef CFG_DEEP_SLEEP
但当我按下运行按钮,Keil开始给我以下错误消息后,DA14580开始广告。
**JLink警告:CPU无法停止
***JLink Error: Can not read register 15 (R15) while CPU is running . ***JLink Error: Can not read register 15 (R15) while CPU is running
***JLink Error: Can not read register 16 (XPSR) while CPU is running
**JLink警告:CPU无法停止
***JLink错误:无法读取内存位置0x200033E0时试图清除软RAM BP
无法启动CPU核心。(错误代码:1)
***JLink Error: Can not read register 0 (R0) while CPU is running . ***JLink Error: Can not read register 0 (R0) while CPU is running
***JLink Error: Can not read register 1 (R1) while CPU is running . ***JLink Error: Can not read register 1 (R1) while CPU is running
***JLink Error: Can not read register 2 (R2) while CPU is running . ***JLink Error: Can not read register 2 (R2) while CPU is running
***JLink Error: Can not read register 3 (R3) while CPU is running . ***JLink Error: Can not read register 3 (R3) while CPU is running . ***
***JLink Error: Can not read register 4 (R4) while CPU is running . ***JLink Error: Can not read register 4 (R4) while CPU is running
***JLink Error: Can not read register 5 (R5) while CPU is running . ***JLink Error: Can not read register 5 (R5) while CPU is running
***JLink Error: Can not read register 6 (R6) while CPU is running . ***JLink Error: Can not read register 6 (R6) while CPU is running
***JLink Error: Can not read register 7 (R7) while CPU is running . ***JLink Error: Can not read register 7 (R7) while CPU is running
***JLink Error: Can not read register 8 (R8) while CPU is running . ***JLink Error: Can not read register 8 (R8) while CPU is running
***JLink Error: Can not read register 9 (R9) while CPU is running . ***JLink Error: Can not read register 9 (R9) while CPU is running
***JLink Error: Can not read register 10 (R10) while CPU is running . ***JLink Error: Can not read register 10 (R10) while CPU is running
***JLink Error: Can not read register 11 (R11) while CPU is running . ***JLink Error: Can not read register 11 (R11) while CPU is running
***JLink Error: Can not read register 12 (R12) while CPU is running . ***JLink Error: Can not read register 12 (R12) while CPU is running
***JLink Error: Can not read register 13 (R13) while CPU is running . ***JLink Error: Can not read register 13 (R13) while CPU is running
***JLink Error: Can not read register 14 (R14) while CPU is running . ***JLink Error: Can not read register 14 (R14) while CPU is running
***JLink Error: Can not read register 15 (R15) while CPU is running . ***JLink Error: Can not read register 15 (R15) while CPU is running
***JLink Error: Can not read register 16 (XPSR) while CPU is running
***JLink Error: Can not read register 17 (MSP) while CPU is running . ***JLink Error: Can not read register 17 (MSP) while CPU is running
***JLink Error: Can not read register 18 (PSP) while CPU is running . ***JLink Error: Can not read register 18 (PSP) while CPU is running
***JLink Error: Can not read register 20 (CFBP) while CPU is running . ***JLink Error: Can not read register 20 (CFBP) while CPU is running
在添加Sample128服务之前,连接不会超时。
你好约翰,
我指的是您关于128bit UUID示例的第一个问题。你可以在SDK3.0.6中找到它,你可以在下面的链接中找到手册:
http://support.dialog-semiconductor.com/system/files/restricted/UM-B-003..。
第10节描述了如何创建特征数据库等。
您显示的错误消息看起来更像是您没有正确的SWD连接到目标。你确定所有东西都连接好了吗?关于电路板和调试器的描述可以在各自的Expert/PRO/Basic开发工具包手册中找到。
亲切的问候,
对话框支持