<?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>How to use nrf52840DK and vscode extention to flash external board?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118028/how-to-use-nrf52840dk-and-vscode-extention-to-flash-external-board</link><description>Hi 
 I am attempting to flash firmware onto a custom board with an nRF52832 chip using an nRF52840 DK (v3.0.1) as the debugger and the &amp;quot; nRF Connect&amp;quot; extension on VS Code . However, I am unable to detect the custom board under &amp;quot;connected devices&amp;quot; in VS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Jan 2025 14:20:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118028/how-to-use-nrf52840dk-and-vscode-extention-to-flash-external-board" /><item><title>RE: How to use nrf52840DK and vscode extention to flash external board?</title><link>https://devzone.nordicsemi.com/thread/520742?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 14:20:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d57487a2-5413-4f7b-9165-499bd77234ee</guid><dc:creator>X4ce</dc:creator><description>&lt;p&gt;It is good to hear that you are able to connect with your custom board. However, it is strange to know that SWD_SEL should be set to HIGH in order to connect with ext. SoC. Whereas, it worked for you when set to GND.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use nrf52840DK and vscode extention to flash external board?</title><link>https://devzone.nordicsemi.com/thread/520734?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 13:49:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bdfeed3-cb1d-42a0-aec0-9dc703f8398a</guid><dc:creator>xutengl</dc:creator><description>&lt;p&gt;Hey Simon,&lt;/p&gt;
&lt;p&gt;Thanks for your help earlier. I resolved the issue with the following adjustments:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Set SW6 to Default (ON)&lt;/li&gt;
&lt;li&gt;Connected SWD0_SEL to GND&lt;/li&gt;
&lt;li&gt;Selected &lt;strong&gt;nRF52832DK&lt;/strong&gt; (my target board) as the build target&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Settings I kept the same:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SB19 remains connected&lt;/li&gt;
&lt;li&gt;Maintained SWDIO, SWCLK, RESET, and GND connections between the DK and the external board&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To confirm that the interfacing IC on the DK is indeed connected to the external board, I flashed a &lt;strong&gt;HelloWorld&lt;/strong&gt; logging firmware onto the onboard MCU. When powering on the DK alone, I observed my custom message periodically printed to the console. However, when I connected the SWD cable and re-powered the DK, the logging stopped&amp;mdash;confirming the interfacing IC is connected to the external board.&lt;/p&gt;
&lt;p&gt;Thanks again for your assistance!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use nrf52840DK and vscode extention to flash external board?</title><link>https://devzone.nordicsemi.com/thread/518425?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2025 11:52:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82f597f8-3530-4220-858f-69d4481963a6</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;It will be the MCU debugger&amp;#39;s serial number you see under &amp;quot;Connected Devices&amp;quot;, not the external nRF&amp;#39;s serial number no matter which nRF device it&amp;#39;s connected to. The SW6 is only to cut off power to anything but the nRF52840 SoC on the DK, so the onboard debugger won&amp;#39;t get power if SW6 is set to nRF ONLY. If an external board is connected, the debugger will detect it and automatically program the external board instead of the onboard one, so SW6 should not be necessary to use for your purposes.&lt;/p&gt;
&lt;p&gt;Both connectors P19 and P20 should work just fine.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use nrf52840DK and vscode extention to flash external board?</title><link>https://devzone.nordicsemi.com/thread/518365?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2025 05:23:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cd42efb-e487-44a1-ba14-8ed72ae0b536</guid><dc:creator>xutengl</dc:creator><description>&lt;p&gt;Thanks, I&amp;rsquo;ll try connector P20 as you mentioned next. It would be odd if P20(SWD1) works but P19(SWD0) doesn&amp;rsquo;t.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use nrf52840DK and vscode extention to flash external board?</title><link>https://devzone.nordicsemi.com/thread/518360?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2025 03:42:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6864468c-ee3b-4c1f-9038-401efa82011d</guid><dc:creator>X4ce</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is a reference schematic for flashing external board.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/4150.Screenshot_5F00_3.png" /&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>