<?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 flash another board using nfr52DK debug out in Vscode.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103003/how-to-flash-another-board-using-nfr52dk-debug-out-in-vscode</link><description>Hi, all. 
 I am trying to flash &amp;#39; Adafruit feather nrf52840&amp;#39; using debug out of nrf52840. 
 However, only nrf52840DK is displayed in &amp;quot;CONNECTED DEVICES&amp;quot; in Vscode. 
 
 Please teach me to flash another board using nfr52840DK debug out in Vscode.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 19 Aug 2023 21:54:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103003/how-to-flash-another-board-using-nfr52dk-debug-out-in-vscode" /><item><title>RE: How to flash another board using nfr52DK debug out in Vscode.</title><link>https://devzone.nordicsemi.com/thread/442169?ContentTypeID=1</link><pubDate>Sat, 19 Aug 2023 21:54:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6d867ac-ba46-4a8e-aa0d-5d92bae7373f</guid><dc:creator>Chamusuke</dc:creator><description>&lt;p&gt;&lt;span style="color:#ff0000;"&gt;FATAL ERROR required program JLink.exe not found&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;I forgot to install &amp;quot;nRF command tools&amp;quot;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download"&gt;nRF Command Line Tools - Downloads - nordicsemi.com&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Specifically, you need two system passes and a reboot.&lt;/p&gt;
&lt;p&gt;(for Windows)&lt;/p&gt;
&lt;p&gt;1&amp;gt;&amp;gt;&amp;nbsp; C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\&lt;/p&gt;
&lt;p&gt;2&amp;gt;&amp;gt;&amp;nbsp; C:\Program Files\SEGGER\JLink&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash another board using nfr52DK debug out in Vscode.</title><link>https://devzone.nordicsemi.com/thread/442168?ContentTypeID=1</link><pubDate>Sat, 19 Aug 2023 21:46:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9b6c95a-2d09-49c7-b1d7-0bbc190f4640</guid><dc:creator>Chamusuke</dc:creator><description>&lt;p&gt;I still should have relied on commands.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I had problems and errors.&lt;/p&gt;
&lt;p&gt;1. Cannot use &amp;quot;west&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;error:&amp;nbsp;&amp;#39;west&amp;#39; is not recognized as an internal or external command, operable program or batch file.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. west flash --runner jlink&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;error:FATAL ERROR required program JLink.exe not found&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;&lt;/span&gt;In the vscode terminal, it takes some ingenuity, so click &amp;quot;Open bash&amp;quot; from the toolchain manager of nRF connect for Desktop.&lt;/p&gt;
&lt;p&gt;When the terminal opens, go to the directory where the build file is located.&lt;/p&gt;
&lt;p&gt;You can flash boards.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west flash -d build --skip-rebuild  -r jlink --erase&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash another board using nfr52DK debug out in Vscode.</title><link>https://devzone.nordicsemi.com/thread/442164?ContentTypeID=1</link><pubDate>Sat, 19 Aug 2023 16:58:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2495cdfd-60d2-4237-97fb-e5c8df2e582d</guid><dc:creator>Chamusuke</dc:creator><description>&lt;p&gt;I believe this command will solve the problem.　However, PowerShell does not recognize the &amp;quot;west&amp;quot; command. I think I can run the NRF terminal, but how do I open the NRF terminal?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="powershell"&gt;west flash -d c:\nordic\myapp\peripheral_test_model\build_adafuilt --skip-rebuild  --runner jlink --runner-config board=adafruit_feather_nrf52840 --erase
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>