⚠️
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.
3 posts / 0 new
Last post
andrewsdai
Offline
Last seen:4 months 4 days ago
Joined:2015-09-21 00:18
自定义董事会门限bringup帮助

We are having trouble getting the DA14531 connected via SWD on our custom board.

I've attached a snippet of the circuit on the custom board. We are able to see 3.0V at VDD.

We are using the JTAG on the DA14531 Dev Kit Pro. We hooked up the grounds of the two boards, and connected our custom board's SWDIO to the dev board's J1 SWDIO. And connected our custom board's SWCLK to the dev board's J1 SWCLK.

However, when we hit Start Debug in Keil uVision, we get the error message: No Cortex-M SW Device Found.

Are there any suggestions for which pins I might be able to check, and expected behavior? Or maybe there is some switch on the dev board we need to flip?

Attachment:
Device:
PM_Dialog
Offline
Last seen:5 hours 44 min ago
Staff
Joined:2018-02-08 11:03
Hi andrewsdai,

Hi andrewsdai,

I would recommend first checking theGetting Started with SDK6 (HTML)tutorial and section 18. Serial Wire Debug Probe.

http://lpccs-docs.dialog-semiconductor.com/Tutorial_SDK6/debug_probe.html

Please double check if you have the correct configuration.

Thanks, PM_Dialog

andrewsdai
Offline
Last seen:4 months 4 days ago
Joined:2015-09-21 00:18
Thanks for providing the

Thanks for providing the suggested configuration.

原来的culprit was an old alligator clip that sometimes made connection, sometimes didn't. Reading through section 18 gave me confidence that at least it wasn't the design.