<?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>When executing the debugging program in the VSCode environment, pressing the restart button requires re-downloading the program each time.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111327/when-executing-the-debugging-program-in-the-vscode-environment-pressing-the-restart-button-requires-re-downloading-the-program-each-time</link><description>Hi, 
 I execute the compiled program under VSCode. After the program is executed, I press the restart button and find that it will re-download the program every time, which is very time-consuming. 
 If I monitor RTT at the same time, it will take more</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 May 2024 06:10:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111327/when-executing-the-debugging-program-in-the-vscode-environment-pressing-the-restart-button-requires-re-downloading-the-program-each-time" /><item><title>RE: When executing the debugging program in the VSCode environment, pressing the restart button requires re-downloading the program each time.</title><link>https://devzone.nordicsemi.com/thread/484953?ContentTypeID=1</link><pubDate>Tue, 21 May 2024 06:10:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d49f357f-cc94-480a-b6cb-89e17508686b</guid><dc:creator>IvanR</dc:creator><description>&lt;p&gt;You can&amp;nbsp; try&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;nrfjprog --reset&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;For myself I made a couple of additional tasks for VS code&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;{
  &amp;quot;tasks&amp;quot;: [
    {
      &amp;quot;label&amp;quot;: &amp;quot;ReBoot NRF53 via USB&amp;quot;,
      &amp;quot;type&amp;quot;: &amp;quot;shell&amp;quot;,
      &amp;quot;command&amp;quot;: &amp;quot;nrfjprog --reset&amp;quot;,
      &amp;quot;problemMatcher&amp;quot;: [],
      &amp;quot;options&amp;quot;: {
        &amp;quot;shell&amp;quot;: {
          &amp;quot;executable&amp;quot;: &amp;quot;powershell.exe&amp;quot;,
          &amp;quot;args&amp;quot;: [
            &amp;quot;-Command&amp;quot;
          ]
        }
      }
    },
      {
        &amp;quot;label&amp;quot;: &amp;quot;Erase All - NRF53 via USB&amp;quot;,
        &amp;quot;type&amp;quot;: &amp;quot;shell&amp;quot;,
        &amp;quot;command&amp;quot;: &amp;quot;nrfjprog --eraseall -f nrf53&amp;quot;,
        &amp;quot;problemMatcher&amp;quot;: [],
        &amp;quot;options&amp;quot;: {
          &amp;quot;shell&amp;quot;: {
            &amp;quot;executable&amp;quot;: &amp;quot;powershell.exe&amp;quot;,
            &amp;quot;args&amp;quot;: [
              &amp;quot;-Command&amp;quot;
            ]
          }
        }
      }
  ]
}&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>