<?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>Programming and Debugging a PCB with 52832 SoC using nRF52 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77786/programming-and-debugging-a-pcb-with-52832-soc-using-nrf52-dk</link><description>Hello, 
 I want to program and debug a custom PCB using the nRF52832 SoC and nRF52 DK. I plan to use this setup: 
 
 
 From what I understand, the GND detect will cause the PCA10040 on the DK to subvert the nRF52832 chip on the DK and program directly</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Jul 2021 15:45:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77786/programming-and-debugging-a-pcb-with-52832-soc-using-nrf52-dk" /><item><title>RE: Programming and Debugging a PCB with 52832 SoC using nRF52 DK</title><link>https://devzone.nordicsemi.com/thread/322100?ContentTypeID=1</link><pubDate>Tue, 27 Jul 2021 15:45:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ce38009-f26e-4ce6-903a-4fcd0c032661</guid><dc:creator>jake11212</dc:creator><description>&lt;p&gt;Excellent, thanks for all the help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming and Debugging a PCB with 52832 SoC using nRF52 DK</title><link>https://devzone.nordicsemi.com/thread/322006?ContentTypeID=1</link><pubDate>Tue, 27 Jul 2021 10:02:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:973ccec6-cdaa-437f-8124-cd53c3a98780</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;&amp;nbsp;Hello&lt;/p&gt;
[quote user="jake11212"]Okay, so&amp;nbsp;when I have the DK connected to the custom PCB in this way does this mean that the DK is acting as the JTAG debugging probe?&amp;nbsp; Can I&amp;nbsp;connect the DK via USB to a computer and then debug using RTT viewing software like the ones in Segger Embedded Studio or J-Link RTT viewer?&amp;nbsp;&amp;nbsp;[/quote]
&lt;p&gt;That is correct. You can use the JLink tools as if you were debugging the chip on the DK. You connect to the DK, and you will be debugging the external chip instead.&lt;/p&gt;
&lt;p&gt;BTW, the debugging protocol used is SWD, not JTAG&lt;/p&gt;
[quote user="jake11212"]Or do I need to use a standalone JTAG probe to do this debugging?[/quote]
&lt;p&gt;No&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming and Debugging a PCB with 52832 SoC using nRF52 DK</title><link>https://devzone.nordicsemi.com/thread/321883?ContentTypeID=1</link><pubDate>Mon, 26 Jul 2021 16:42:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45e86743-0812-4e6e-9a16-6fd2ff23b898</guid><dc:creator>jake11212</dc:creator><description>[quote userid="4556" url="~/f/nordic-q-a/77786/programming-and-debugging-a-pcb-with-52832-soc-using-nrf52-dk/321752#321752"]You can use RTT debugging instead. It uses the SWD interface you have already connected.[/quote]
&lt;p&gt;Okay, so&amp;nbsp;when I have the DK connected to the custom PCB in this way does this mean that the DK is acting as the JTAG debugging probe?&amp;nbsp; Can I&amp;nbsp;connect the DK via USB to a computer and then debug using RTT viewing software like the ones in Segger Embedded Studio or J-Link RTT viewer?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Or do I need to use a standalone JTAG probe to do this debugging?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming and Debugging a PCB with 52832 SoC using nRF52 DK</title><link>https://devzone.nordicsemi.com/thread/321752?ContentTypeID=1</link><pubDate>Mon, 26 Jul 2021 09:29:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05fcb005-8e8b-4ffc-8a92-be368dfd44bc</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, You can not power your board with both VDD on the DK and the power supply. So use just one of them:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1627291530107v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]From what I understand, the GND detect will cause the PCA10040 on the DK to subvert the nRF52832 chip on the DK and program directly to the nRF52832 chip on the custom PCB.&amp;nbsp; Is this correct?&amp;nbsp;&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;Correct&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""] Is it possible to use a terminal emulator such as putty to debug using this setup in the same way that putty would be used to debug the development kit?&amp;nbsp; Or do I need to use a different method to debug?[/quote]
&lt;p&gt;You can use a terminal emulator (UART), but then you need to route the UART wire (TX) from you board to the DK (or a separate UART-&amp;gt;USB converter). &lt;/p&gt;
&lt;p&gt;You can use RTT debugging instead. It uses the SWD interface you have already connected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>