<?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>nrf5340dk as a programmer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104555/nrf5340dk-as-a-programmer</link><description>I am using VSCode, SDK 2.4.2 on Windows. Is it possible to use the nrf5340dk to program a &amp;quot;custom&amp;quot; board (based on the nrf5340)? 
 I need to program the ISP2053 (which is based on the nrf5340). ISP2053 has a 2x5 JTAG port, but I don&amp;#39;t have a J-Link programmer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Oct 2023 08:02:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104555/nrf5340dk-as-a-programmer" /><item><title>RE: nrf5340dk as a programmer</title><link>https://devzone.nordicsemi.com/thread/449975?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2023 08:02:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16488ff8-023b-4642-a5e0-649c2d55a713</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hi again Michael,&lt;/p&gt;
[quote user="Maria Gilje"]I am quite certain that nrfjprog will find the custom board when you use west flash (and the extension UI). I will double check tomorrow. [/quote]
&lt;p&gt;I have confirmed that both the nRF Connect for VS Code extension and west flash works to flash the target board through the debugger on the nRF5340 DK. I tested with an nRF52840 DK as the target board.&amp;nbsp; &lt;/p&gt;
[quote user=""]Also, my nrf5340dk has an additional 2x5pin port with no identification (it&amp;#39;s not debug in or out) I am wondering what that is? I can&amp;#39;t find any documentation for it.[/quote]
&lt;p&gt;I found a couple of 2.0.2 DKs in the office, and none of them have the extra port. Is it soldered to your DK or just sitting on top of it? It is difficult to judge from your photo because of low resolution. &lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340dk as a programmer</title><link>https://devzone.nordicsemi.com/thread/449904?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 16:42:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1392e301-db94-4e32-b359-705c206c69fa</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello Michael, &lt;/p&gt;
[quote user=""]My understanding is that the Segger chip on the nrf5340dk can be used as a programmer by connecting the target board to &amp;quot;debug out&amp;quot; of the nrf5340dk.[/quote]
&lt;p&gt;You understand correctly. Please see the instructions found &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf5340_dk/UG/dk/hw_debug_out_segger53.html?cp=4_0_4_4_9"&gt;here&lt;/a&gt; to make sure your setup is correct.&amp;nbsp;&lt;/p&gt;
[quote user=""]From VSCode do I just issue a &amp;quot;west flash&amp;quot; command and it will flash the target board?[/quote]
&lt;p&gt;I am quite certain that nrfjprog will find the custom board when you use west flash (and the extension UI). I will double check tomorrow. &lt;/p&gt;
[quote user=""]Does it flash both the nrf5340dk and the target board at the same time w/the same code?[/quote]
&lt;p&gt;No, it will only flash the target board. The MCU on the DK is not involved at all in the programming. &lt;/p&gt;
[quote user=""]Or, does it just program the target &amp;quot;ISP2053&amp;quot; board and leave the nrf5340dk unchanged?[/quote]
&lt;p&gt;Correct!&lt;/p&gt;
[quote user=""]Also, my nrf5340dk has an additional 2x5pin port with no identification (it&amp;#39;s not debug in or out) I am wondering what that is? I can&amp;#39;t find any documentation for it.[/quote]
&lt;p&gt;That is a new one for me too. I will look for a 2.0.2 board at the office and also search for documentation. &lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>