<?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>nrfjprog --recover fails when flashing nRF52840_XXAA</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119641/nrfjprog---recover-fails-when-flashing-nrf52840_xxaa</link><description>Hi all, 
 I&amp;#39;m unable to flash my nRF52840_XXAA using the nRF Connect extension in VS Code. My project uses the command: 
 west flash -d &amp;lt;BUILD-DIRECTORY&amp;gt; --dev-id 1050304532 --recover
 
 to mass erase the device and disable readback protection, but recovery</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Mar 2025 08:21:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119641/nrfjprog---recover-fails-when-flashing-nrf52840_xxaa" /><item><title>RE: nrfjprog --recover fails when flashing nRF52840_XXAA</title><link>https://devzone.nordicsemi.com/thread/526855?ContentTypeID=1</link><pubDate>Wed, 12 Mar 2025 08:21:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e710f343-730b-4078-9e36-9d09de012e74</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Try running the &lt;code&gt;eraseall&lt;/code&gt; command. You can also do the same using the nRF Connect Programmer app, where you will find a button for the &lt;code&gt;eraseall&lt;/code&gt; function.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1741767578141v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1741767673431v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;See&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/working-with-the-nrf52-series-improved-approtect"&gt; this blog post on AppProtect&lt;/a&gt;, where they explain a few steps.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog --recover fails when flashing nRF52840_XXAA</title><link>https://devzone.nordicsemi.com/thread/526645?ContentTypeID=1</link><pubDate>Mon, 10 Mar 2025 20:42:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1b198fa-542a-4ff7-a933-816139fe2a74</guid><dc:creator>Gabriel Cohen</dc:creator><description>&lt;p data-start="0" data-end="12"&gt;Hi Abhijith,&lt;/p&gt;
&lt;p data-start="14" data-end="85"&gt;Thanks for the suggestions. Here&amp;rsquo;s my setup and what I&amp;rsquo;ve tried so far:&lt;/p&gt;
&lt;p data-start="87" data-end="416"&gt;I&amp;#39;m using nrfjprog version 10.24.2 (external) with JLinkARM.dll version 7.94i. My DK is powered directly via USB from the PC, and the power LED confirms it&amp;rsquo;s getting proper power. In Device Manager, the board shows up as a JLink CDC UART Port on COM9 and COM10, and when I run &lt;code data-start="364" data-end="380"&gt;nrfjprog --ids&lt;/code&gt; I get the serial number 1050304532.&lt;/p&gt;
&lt;p data-start="418" data-end="641"&gt;I attempted to use nrfutil commands, but it appears that the device listing commands&amp;nbsp;have been removed in the current version. Instead, I confirmed the board is detected using &lt;code data-start="624" data-end="640"&gt;nrfjprog --ids&lt;/code&gt;.&lt;/p&gt;
&lt;p data-start="1576" data-end="1704"&gt;I&amp;rsquo;d appreciate any further suggestions or alternative recovery methods to clear the protection. Thanks in advance for your help!&lt;/p&gt;
&lt;p data-start="1706" data-end="1733" data-is-last-node="" data-is-only-node=""&gt;Best regards,&lt;br data-start="1719" data-end="1722" /&gt;Gabriel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog --recover fails when flashing nRF52840_XXAA</title><link>https://devzone.nordicsemi.com/thread/526626?ContentTypeID=1</link><pubDate>Mon, 10 Mar 2025 16:44:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d216b57-20a2-47ad-9b1d-e1b2041d462e</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;What version of nrfjprog are you using here? How is your DK powered? Please make sure it is powered properly. Is your DK detected properly by the PC?&lt;/p&gt;
&lt;p&gt;I also recommend trying the &lt;a href="https://docs.nordicsemi.com/bundle/nrfutil/page/nrfutil-device/guides/programming_recovery.html"&gt;&lt;strong&gt;nRFUtil&lt;/strong&gt; command&lt;/a&gt;s to see if the DK is responding.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>