⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
5个帖子/ 0新
Last post
R3ctor.
Offline
Last seen:3 years 2 months ago
加入:2017-08-02 10:03
QFN40 DA14585定制板

嗨对话框,

Have ported a DA14585 QFN40 Custom board to a Da1458x Development kit pro. Device properly detected through smart snippet tool on jtag dongle, but everytime i try to run the barebone project
I usually get errors below. Same error encountered using a jlink ultra+ directly connected to the jtag ports of the custom board. Can the interference/crosstalk on the 16MHz crytal oscillator affect these errors, knowing that 16MHz crystal is so sensitive to external influences based on the application note AN-B-009 ?Attached is the system schematic of the custom board where P1_2 and P1_3 are utilized for other applications.
But just to satisfy the crystal oscillator layout guidelines, have modified the custom board porting P1_2 and P1_3 to ground to improve the oscillation. Running the barebone project still encountered the same error below.
这些错误的任何其他因素?

BLE IC = DA14585 00000
16MHz晶体= 7m-16.000meeq-t
Vdc_dc = 1.6V~1.8V

** jlink警告:CPU无法停止
***JLink Error: Can not read register 15 (R15) while CPU is running
*** jlink错误:CPU正在运行时无法读取寄存器16(XPSR)
*** jlink错误:CPU运行时无法读取寄存器0(R0)
***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 3 (R3) while CPU is running
***JLink Error: Can not read register 4 (R4) while CPU is running
*** jlink错误:CPU运行时无法读取寄存器5(R5)
*** jlink错误:CPU运行时无法读取寄存器6(R6)
*** jlink错误:CPU运行时无法读取寄存器7(R7)
*** JLINK错误:CPU运行时无法读取寄存器8(R8)
*** JLINK错误:CPU运行时无法读取寄存器9(R9)
*** JLINK错误:CPU运行时无法读取寄存器10(R10)
***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 13 (R13) while CPU is running
*** JLINK错误:CPU运行时无法读取寄存器14(R14)
***JLink Error: Can not read register 15 (R15) while CPU is running
*** jlink错误:CPU正在运行时无法读取寄存器16(XPSR)
***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 20 (CFBP) while CPU is running

Attachment:
Device:
mt_dialog.
Offline
Last seen:2 months 1 week ago
Staff
加入:2015-06-08 11:34
嗨R3ctor,

嗨R3ctor,

No, the crosstalk between the XTAL16 and the P12 and P13 wont produce this kind of issue, usually when toggling those pins in high frequency the device will operate but you wont be able to properly transmt during advertising or connect. The errors that you get are because apparently at somepoint the jlink is loosing connection with the device or is not able to connect at all or it connects and then the device for some reason reboots and the debugger disconnects. Are you using the Jlink from the pro dev kit ? You mentioned that you downloaded code using Smart Snippets have you connected using the JTAG or the UART interface ?

谢谢mt_dialog.

R3ctor.
Offline
Last seen:3 years 2 months ago
加入:2017-08-02 10:03
Hi MT_dialog,

Hi MT_dialog,

它是否与用于连接问题的JLink调试器有关吗?兼容性问题?我正在使用Jlink Ultra +调试器到自定义板,开发套件正在使用JLink Lite ARM调试器。如果使用从Pro Dev套件到定制板的JLink,是否需要其他配置?使用智能代码段我可以检测到连接的设备,但运行鞍骨项目的错误。
JUst an observation for the barebone project, is there a compatibility issue for various DA14585 BLE IC? The development kit can run using SDK(6.0.2) but not on SDK(6.0.4) and SDK (6.0.6).
BLE IC for Custom Board = DA14585 00000

mt_dialog.
Offline
Last seen:2 months 1 week ago
Staff
加入:2015-06-08 11:34
嗨R3ctor,

嗨R3ctor,

As mentioned above the messages that keil reports are because the jlink is disconnected from the device, also as mentioned in this posthttps://support.dialog-semicondiondiondum/forums/post/dialog-smartbond-bl ...i am not able to verify that the jlink that you are using will be fully compatible with the 585 or there is need for additional configuration for keil in order to work (which i suppose that it should be compatible but i am not able to verify it). Regarding the jlink that comes with the pro dev kit, yes you can use that jlink just by hooking the TMS and TCK pins to the SWDIO and SWCLK pins of your custom board. So are you using the jlink from the dev kit and you get the above messages or the ultra+debugger ?

Regarding the compatibility issue that you mention, currently on the market there is only one version of the 585 and this is the AC, but also you might run on an older version of the 585 which is the AB version. The AB version is only compatible with the 6.0.2 SDK version, if you try to run the SDK 6.0.4 or 6.0.6 on a AB silicon the code will end up in a hardfault the same stands for the opposite, meaning running a SDK 6.0.2 on an AC version. The only way to distinquish those two versions is from the markings on the package it self, so AB silicon will indicate DA14585 AB000 and AC silicon will indicate DA14585 00000.

谢谢mt_dialog.

R3ctor.
Offline
Last seen:3 years 2 months ago
加入:2017-08-02 10:03
Hi MT_ Dialog,

Hi MT_ Dialog,

感谢您的支持,定制董事会已经在工作。它更像装配问题,与BLE IC基板相关的接地......