<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Debugging external nrf52832 using nrf52 DK header P20 - Failing to connect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128979/debugging-external-nrf52832-using-nrf52-dk-header-p20---failing-to-connect</link><description>Hi All. I&amp;#39;m hoping someone can help me. 
 
 I&amp;#39;m trying to flash and debug an nrf52832 on an external board using an nrf52 dk. I have set up my wiring from P20 to a tag-connect TC2030 6-pin needle based on this diagram: 
 
 
 
 and assuming that the 6</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Aug 2026 20:38:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128979/debugging-external-nrf52832-using-nrf52-dk-header-p20---failing-to-connect" /><item><title>RE: Debugging external nrf52832 using nrf52 DK header P20 - Failing to connect</title><link>https://devzone.nordicsemi.com/thread/570402?ContentTypeID=1</link><pubDate>Tue, 18 Aug 2026 20:38:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8790f8af-2b26-4831-a379-c99a3af247a8</guid><dc:creator>Mike N</dc:creator><description>&lt;p&gt;Hi All.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve reverse engineered another nrf52 dev kit which I know works with the particular external board I&amp;#39;ve got and I&amp;#39;ve now solved my issue.&lt;/p&gt;
&lt;p&gt;As mentioned before, I was assuming a 6-pin SWD mapping like I&amp;#39;ve seen documented in multiple places. Like this:&lt;/p&gt;
&lt;p&gt;Pin 1 -&amp;gt; VT ref&lt;/p&gt;
&lt;p&gt;Pin 2 -&amp;gt; SWDIO&lt;/p&gt;
&lt;p&gt;Pin 3 -&amp;gt; nRESET&lt;/p&gt;
&lt;p&gt;Pin 4 -&amp;gt; SWCLK&lt;/p&gt;
&lt;p&gt;Pin 5 -&amp;gt; GND&lt;/p&gt;
&lt;p&gt;Pin 6 -&amp;gt; SWO&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However, for whatever reason, the person who designed this particular external board decided to map the 6-pin contacts like this:&lt;/p&gt;
&lt;p&gt;Pin 1 -&amp;gt; VT ref&lt;/p&gt;
&lt;p&gt;Pin 3 -&amp;gt; GND&lt;/p&gt;
&lt;p&gt;Pin 5 -&amp;gt; SWDIO&lt;/p&gt;
&lt;p&gt;Pin 6 -&amp;gt; SWCLK&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So the issue wasn&amp;#39;t my nrf52 dk or my wiring or my J-Link software, but it was due to an unconventional layout of the 6 contacts. Once I rewired my board I was able to connect to it with J-Link Commander successfully first time. Even with the long cables and the breadboard I was able to connect using 4000 kHz so all is good.&lt;/p&gt;
&lt;p&gt;Thank you Turbo J for your time and suggestions.&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging external nrf52832 using nrf52 DK header P20 - Failing to connect</title><link>https://devzone.nordicsemi.com/thread/570383?ContentTypeID=1</link><pubDate>Tue, 18 Aug 2026 10:22:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd6f32f4-1be3-4832-9182-757240bf3953</guid><dc:creator>Mike N</dc:creator><description>&lt;p&gt;Hi Turbo J. Thanks for your reply.&lt;/p&gt;
&lt;p&gt;Yes good point about the Tag connect footprint being close to the processor pins. The board wasn&amp;#39;t designed by me but I could raise it with them as they are very close together&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve eliminated the breadboard now and tried again using 500 kHz but still no luck:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;SEGGER J-Link Commander V9.68a (Compiled Aug 17 2026 13:54:36)&lt;br /&gt;DLL version V9.68a, compiled Aug 17 2026 13:53:37&lt;/p&gt;
&lt;p&gt;Connecting to J-Link ...O.K.&lt;br /&gt;Firmware: J-Link OB-nRF5340-NordicSemi compiled Jun 11 2026 13:12:28&lt;br /&gt;Hardware version: V1.00&lt;br /&gt;J-Link uptime (since boot): 0d 00h 01m 05s&lt;br /&gt;S/N: 1050349361&lt;br /&gt;License(s): RDI,FlashBP,FlashDL,JFlash,GDB&lt;br /&gt;USB speed mode: Full speed (12 MBit/s)&lt;br /&gt;VTref=3.300V&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Type &amp;quot;connect&amp;quot; to establish a target connection, &amp;#39;?&amp;#39; for help&lt;br /&gt;J-Link&amp;gt;connect&lt;br /&gt;Please specify device / core. &amp;lt;Default&amp;gt;: NRF52832_XXAA&lt;br /&gt;Type &amp;#39;?&amp;#39; for selection dialog&lt;br /&gt;Device&amp;gt;&lt;br /&gt;Please specify target interface:&lt;br /&gt; J) JTAG (Default)&lt;br /&gt; S) SWD&lt;br /&gt; T) cJTAG&lt;br /&gt;TIF&amp;gt;S&lt;br /&gt;Specify target interface speed [kHz]. &amp;lt;Default&amp;gt;: 4000 kHz&lt;br /&gt;Speed&amp;gt;500&lt;br /&gt;Device &amp;quot;NRF52832_XXAA&amp;quot; selected.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Connecting to target via SWD&lt;br /&gt;InitTarget() start&lt;br /&gt;InitTarget() end - Took 117ms&lt;br /&gt;InitTarget() start&lt;br /&gt;InitTarget() end - Took 116ms&lt;br /&gt;Error occurred: Could not connect to the target device.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;know someone who has an older version of nrf52 dk with a working setup for this external board so I&amp;#39;m going to use a multimeter on their setup to see if it&amp;#39;s any different from mine.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In the meantime I&amp;#39;d be happy to try any other suggestions.&lt;/p&gt;
&lt;p&gt;Thanks again&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging external nrf52832 using nrf52 DK header P20 - Failing to connect</title><link>https://devzone.nordicsemi.com/thread/570381?ContentTypeID=1</link><pubDate>Tue, 18 Aug 2026 09:42:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91e7b0cd-2701-43a8-ac72-90229bdaac30</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Try an SWD frequency of 500 kHz, those cables are rather long. I also recommend to eliminate the breadboard, these have terrible connection qualities here.&lt;/p&gt;
&lt;p&gt;That Tag connect footprint looks extremely close to processor pins - you might cause unwanted shorts.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>