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?
Device:
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
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.