<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>52DK Download failed with VS code</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/86974/52dk-download-failed-with-vs-code</link><description>Hi, 
 I&amp;#39;m trying to download the application by Vs Code but it was failed,the warning as below: 
 
 But when i&amp;#39;m trying to debug,it was worked 
 
 Have anyone can help? 
 Thanks very much!</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Mon, 30 May 2022 07:08:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/86974/52dk-download-failed-with-vs-code" /><item><title>RE: 52DK Download failed with VS code</title><link>https://test-devzone.nordicsemi.com/thread/369880?ContentTypeID=1</link><pubDate>Mon, 30 May 2022 07:08:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fbd9a06-6174-49a4-9ec0-cb1c07f84658</guid><dc:creator>user92402</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is no way for the user to change what the flash button in the VS Code extension does at the moment, so you will have to use nrfjprog to program your device if you need to change the debugger SWD clock speed. I can forward this as a feature request.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52DK Download failed with VS code</title><link>https://test-devzone.nordicsemi.com/thread/368891?ContentTypeID=1</link><pubDate>Sun, 22 May 2022 02:39:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef16947b-0e4b-43c3-9a7b-8417360fa215</guid><dc:creator>user74883</dc:creator><description>&lt;p&gt;&lt;a href="https://test-devzone.nordicsemi.com/members/user92402"&gt;user92402&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m find the issue from this website&lt;/p&gt;
&lt;p&gt;&lt;a href="https://test-devzone.nordicsemi.com/f/nordic-q-a/46809/nrfjprog-write-verify-failed"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/46809/nrfjprog-write-verify-failed&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The root cause is too high of clock of jlink,nrfjprog should add a parameter -c 125~1000,and i&amp;#39;m test this is ok from command line,could&amp;nbsp;this parameter&amp;nbsp;be&amp;nbsp;configured&amp;nbsp;to the vs code flash button?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1653186216026v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52DK Download failed with VS code</title><link>https://test-devzone.nordicsemi.com/thread/368887?ContentTypeID=1</link><pubDate>Sat, 21 May 2022 13:38:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e5779ca-50cb-4cf5-ae2d-d446238388bd</guid><dc:creator>user74883</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;The result is still a failure.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1653140041649v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I had tried to install the lower version of nrfjprog and download,it&amp;#39;s still a failure too.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52DK Download failed with VS code</title><link>https://test-devzone.nordicsemi.com/thread/368805?ContentTypeID=1</link><pubDate>Fri, 20 May 2022 11:09:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:785543bb-a0f0-4598-a48c-fdf3a252356c</guid><dc:creator>user92402</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you try recovering the device by running&amp;nbsp;&lt;strong&gt;nrfjprog --recover&lt;/strong&gt; before you program it?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52DK Download failed with VS code</title><link>https://test-devzone.nordicsemi.com/thread/368643?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 13:38:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a75e4d4-bd77-44f0-965e-fa8638576fc1</guid><dc:creator>user74883</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;nrfjprog version is 10.15.4&lt;/p&gt;
&lt;p&gt;Jlink version is 7.65a&lt;/p&gt;
&lt;p&gt;Please see the figure&lt;/p&gt;
&lt;p&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1652967461652v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52DK Download failed with VS code</title><link>https://test-devzone.nordicsemi.com/thread/368590?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 11:47:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3724aece-69ed-4a14-b2f6-2a1afdb5b68d</guid><dc:creator>user92402</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What version of nrfjprog and JLINK do you have? To find this, run&amp;nbsp;&lt;strong&gt;nrfjprog -v&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52DK Download failed with VS code</title><link>https://test-devzone.nordicsemi.com/thread/368434?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 15:03:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01d8932f-2971-4725-9930-23b8d00717c7</guid><dc:creator>user74883</dc:creator><description>&lt;p&gt;nrfjprog -f nrf52 --program zephyr.hex --chiperase --verify --log&lt;/p&gt;
&lt;p&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1652886188923v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52DK Download failed with VS code</title><link>https://test-devzone.nordicsemi.com/thread/368432?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 15:00:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:171ba09f-4a75-4579-afb5-fa070a136bdf</guid><dc:creator>user74883</dc:creator><description>&lt;p&gt;&lt;a href="https://test-devzone.nordicsemi.com/members/user92402"&gt;user92402&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry late to reply.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m tried to input command as you proposal,but the result is still likes before.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1652886007552v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52DK Download failed with VS code</title><link>https://test-devzone.nordicsemi.com/thread/363573?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2022 12:29:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90872e62-ccef-4be9-917b-01c5dcdaddda</guid><dc:creator>user92402</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The target area needs to be erased. If not, --program will fail. You can erase the chip before programming, but the simplest option is to erase the chip as a part of the programming operation:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;nrfjprog -f nrf52 --program zephyr.hex --chiperase --verify&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;You can also add &lt;code&gt;--reset&lt;/code&gt; to the command above to make the device reset after flashing.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52DK Download failed with VS code</title><link>https://test-devzone.nordicsemi.com/thread/363285?ContentTypeID=1</link><pubDate>Thu, 14 Apr 2022 15:41:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5d5c642-260d-4612-b557-0206b2585005</guid><dc:creator>user74883</dc:creator><description>&lt;p&gt;But the board is not running even power reset after download is completed.&lt;/p&gt;
&lt;p&gt;Then i&amp;#39;m tried to copy the zephyr.hex to another directory and download by iar,it works&amp;nbsp;fine.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m tried to download again by nrfjprog command,&lt;/p&gt;
&lt;p&gt;The command is:nrfjprog --program zephyr.hex --verify --log&lt;/p&gt;
&lt;p&gt;See the information as below&lt;/p&gt;
&lt;p&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1649950254175v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52DK Download failed with VS code</title><link>https://test-devzone.nordicsemi.com/thread/363283?ContentTypeID=1</link><pubDate>Thu, 14 Apr 2022 14:51:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:784268de-36b6-4d7b-b47c-7ed92d550d11</guid><dc:creator>user82787</dc:creator><description>&lt;p&gt;It didn&amp;#39;t fail. It says &amp;quot;flashed successfully&amp;quot;. This is only a warning.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>