<?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 an external board using NRF52dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116322/programming-an-external-board-using-nrf52dk</link><description>Hello, 
 I&amp;#39;m trying to upload code to an external board using an NRF52dk, and am having an error in vscode as shown below. 
 
 My issue seems to be very similar to the one being discussed here 
 However, the comments on this post say that there is a connection</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Nov 2024 07:13:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116322/programming-an-external-board-using-nrf52dk" /><item><title>RE: Programming an external board using NRF52dk</title><link>https://devzone.nordicsemi.com/thread/510604?ContentTypeID=1</link><pubDate>Fri, 15 Nov 2024 07:13:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63784ef2-2bed-46e9-a887-ed5c50c9ab8b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Debug out ports&amp;nbsp;can be&amp;nbsp;found on development kits with an onboard debugger. Custom boards will usually have only a debug in port. How the SWDIO and SWDCLK lines connected to the target chip are exposed is entirely up to the board designer. The &lt;a href="https://www.segger.com/products/debug-probes/j-link/accessories/adapters/9-pin-cortex-m-adapter/"&gt;9-pin connector&lt;/a&gt;&amp;nbsp;like the one used on the 52 DK is quite common, but you are free to use any other connector or header if you are designing your own board.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming an external board using NRF52dk</title><link>https://devzone.nordicsemi.com/thread/510573?ContentTypeID=1</link><pubDate>Thu, 14 Nov 2024 21:40:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:128ee1bc-1372-41a5-9ffb-b94f5d82ad6a</guid><dc:creator>connorshannon</dc:creator><description>&lt;p&gt;I see, so the only way to program something through my programmer board is to use the debug in port on whatever the external board is? I was under the impression that external boards without the debug in port requiring the special cable could still be programmed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming an external board using NRF52dk</title><link>https://devzone.nordicsemi.com/thread/510551?ContentTypeID=1</link><pubDate>Thu, 14 Nov 2024 17:34:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95d2a581-c252-48fb-aefc-f15722ed3d5c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The connections from DK #1 which you are using as a programmer appear to be correct based on the picture. However, you cannot connect these SWD lines to the same pins on the second board, as the pins on the Debug Out headers are only connected to the J-Link programmer. To program the nRF52832 on the second board with an external debugger or another DK, you need to use the Debug In port. I looked at the other thread you linked, but it doesn’t seem like they were able to make it work either.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1731605307940v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming an external board using NRF52dk</title><link>https://devzone.nordicsemi.com/thread/510540?ContentTypeID=1</link><pubDate>Thu, 14 Nov 2024 15:19:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebcba062-5f8d-4dbc-8aee-75e74b9d9b8f</guid><dc:creator>connorshannon</dc:creator><description>&lt;p&gt;I tried to follow the circuit connections schematic in the other thread that I attached, in which someone was doing something similar and seemed to have success. Are you saying that following those steps is not the right way to do this? If so, what should I be doing instead?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming an external board using NRF52dk</title><link>https://devzone.nordicsemi.com/thread/510428?ContentTypeID=1</link><pubDate>Thu, 14 Nov 2024 09:29:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6aea766b-f474-41ff-b34b-2672d386d51c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You can use the debug out headers (P19 or P20) to program external boards, but you cannot use these headers as a debug input to program the onboard nRF52832 chip. From the picture, it appears you have connected the SWDIO and SWDCLK from P20 on the first kit to the same pins on the second kit. This will not work, as these pins are not connected to the nRF52832 chip you are trying to target on the second board.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming an external board using NRF52dk</title><link>https://devzone.nordicsemi.com/thread/510390?ContentTypeID=1</link><pubDate>Thu, 14 Nov 2024 02:13:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e899f0e5-530f-4171-b0b2-13fee252df5c</guid><dc:creator>connorshannon</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure I understand what you mean. To give more information, I am currently testing the ability of the board to program an external board by using an extra NRF52dk. However, eventually I will be using the board to program a custom circuit board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming an external board using NRF52dk</title><link>https://devzone.nordicsemi.com/thread/510227?ContentTypeID=1</link><pubDate>Wed, 13 Nov 2024 08:08:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:379f8001-5d9e-4739-a0ff-6df48d3d2f1a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The P19 and P20 headers are only for programming external targets. The SWD lines routed to these headers are not connected to the onboard nRF52832 chip. If you want to program a DK with an external debug probe or another DK, you should use the Debug In port instead. Note that this requires a 9-pin Jlink cortex M cable.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf52832_dk/page/UG/dk/hw_debug_out_segger53.html"&gt;Debug out for programming external boards&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf52832_dk/page/UG/dk/hw_debug_in_trace.html"&gt;Debug input&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>