<?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 Custom nRF5340 Board Using nRF5340 Development Kit</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94001/programming-custom-nrf5340-board-using-nrf5340-development-kit</link><description>Hello, 
 
 I am new to nRF53 series chips. My team and I are designing a custom IoT device based around an nRF5340 SoC and we are exploring options on how to program our devices once they are on their custom boards. 
 
 Based on what I have found in this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Dec 2024 19:40:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94001/programming-custom-nrf5340-board-using-nrf5340-development-kit" /><item><title>RE: Programming Custom nRF5340 Board Using nRF5340 Development Kit</title><link>https://devzone.nordicsemi.com/thread/513065?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2024 19:40:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f01c1195-b9a9-4d99-a66a-8e2a3bdcc9ba</guid><dc:creator>Felipe Pimenta</dc:creator><description>&lt;p&gt;Does this work with the nRF5340 Audio DK as well?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming Custom nRF5340 Board Using nRF5340 Development Kit</title><link>https://devzone.nordicsemi.com/thread/396528?ContentTypeID=1</link><pubDate>Sun, 20 Nov 2022 22:30:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ab82b6f-8c22-4714-ba33-a0527731629f</guid><dc:creator>nickyblanch</dc:creator><description>&lt;p&gt;Hi Terje,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you, this is exactly the information we were looking for!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming Custom nRF5340 Board Using nRF5340 Development Kit</title><link>https://devzone.nordicsemi.com/thread/396468?ContentTypeID=1</link><pubDate>Fri, 18 Nov 2022 15:56:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2131a73-ef66-47b6-bed9-11b86505e8dd</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]Based on what I have found in this forum, it appears that there is a way to program an nRF5340 chip using an nRF5340 development kit via SWD. Is this the case?[/quote]
&lt;p&gt;Yes, that is correct. The Interface MCU on the nRF5340 DK can be used for programming any nRF5340 SoC, for development purposes. (Note that the license covers only development, not production.)&lt;/p&gt;
&lt;p&gt;The required connections for nRF5340 DK v2 are as follows:&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;DK (programmer)&lt;br /&gt;P19 or P20&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;Target board&lt;br /&gt;SoC&lt;/td&gt;
&lt;td&gt;Comments&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SWD CLK&lt;/td&gt;
&lt;td&gt;SWDCLK&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SWD IO&lt;/td&gt;
&lt;td&gt;SWDIO&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GND&lt;/td&gt;
&lt;td&gt;GND&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;VTG&lt;/td&gt;
&lt;td&gt;VDD&lt;/td&gt;
&lt;td&gt;If using P20&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SWD0 SEL&lt;/td&gt;
&lt;td&gt;GND&lt;/td&gt;
&lt;td&gt;If using P19&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;VDD nRF&lt;/td&gt;
&lt;td&gt;VDD&lt;/td&gt;
&lt;td&gt;If powering the external board from the DK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RESET&lt;/td&gt;
&lt;td&gt;RESET&lt;/td&gt;
&lt;td&gt;Optional&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Please note that ground (GND) and voltage level (VDD) must be the same on the DK (used as programmer) and the target board (with the SoC to be programmed) for the external board to be detected, and for the programming to work.&lt;/p&gt;
&lt;p&gt;When correctly connected, programming the external board works the same as when programming the DK. (The external SoC gets interacted with, instead of the SoC on the DK.)&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>