⚠️
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 https://www.dialog-semiconductor.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: 6 months 3 weeks ago
Joined: 2015-09-21 00:18
Custom board SWD bringup help

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: 2 days 10 hours ago
Staff
Joined: 2018-02-08 11:03
Hi andrewsdai,

Hi andrewsdai,

I would recommend first checking the Getting 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: 6 months 3 weeks ago
Joined: 2015-09-21 00:18
Thanks for providing the

Thanks for providing the suggested configuration.

Turns out the 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.