<?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 nRF52840 Dongle via J-Link to DK and Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39005/debugging-nrf52840-dongle-via-j-link-to-dk-and-segger-embedded-studio</link><description>I am attempting to run the mesh Light Switch example with a provisioner, client and a server in debug mode using the Segger SES. I am attempting to debug the server code on a nRF52840 DONGLE (PCA10059, v1.0.0) using the Segger IDE talking to DK board</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Sep 2018 19:28:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39005/debugging-nrf52840-dongle-via-j-link-to-dk-and-segger-embedded-studio" /><item><title>RE: Debugging nRF52840 Dongle via J-Link to DK and Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/150831?ContentTypeID=1</link><pubDate>Fri, 28 Sep 2018 19:28:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:220e9f2b-720f-40c3-8643-1fa10f4902eb</guid><dc:creator>AnonEMoose</dc:creator><description>&lt;p&gt;OK... I think I solved the problem, but I am not entirely sure how.&amp;nbsp; Originally I used J1 pads on the dongle with a TC2050 pogo-pin connector. Reset does not exist on those pads (I now assume these pads are for programming only... no debug), so I had to tack a jumper from DK board, port P20 Reset pin to dongle, port P1, pad 10.&amp;nbsp; I forgot to change this on my pinout list above.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I then decided to instead solder on a 2x5 pin header onto P1 and use a straight 10-wire ribbon cable to connect DK to the dongle.&amp;nbsp; I still needed a jumper from Vdd on the DK to the VddOut pad on the dongle (one of the notched pads on the edge).&amp;nbsp; HOWEVER, I made this change to a second dongle (i.e. not the same one I had issues with).&lt;/p&gt;
&lt;p&gt;Viola, the Segger downloaded the example server program and immediately went into single step debug mode.&amp;nbsp; So, I have no idea if my 1st attempt was a bad solder job or simply an issue with the 1st dongle... but I am back in business and debugging like a frog in fly season.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For those of you following along... don&amp;#39;t waste time trying to debug with TC2050 pogo-pin cable (which are pretty awesome, I must say).&amp;nbsp; Instead, solder 2x5, 0.05&amp;quot; (1.277mm) pitch, male pin header directly to the dongle&amp;#39;s P1 pads; add another jumper from DK for the dongle&amp;#39;s Vdd and you should be good to go.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>