<?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>nrfutil flash with full erase breaks flashing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121118/nrfutil-flash-with-full-erase-breaks-flashing</link><description>When we were using nrfjprog to flash, we used &amp;quot;west flash --erase&amp;quot; because it was quicker to erase entire flash then sector by sector. However, when we upgraded to SDK 3.0.0 and switched to nrfutil, we can only use &amp;quot;west flash --erase&amp;quot; once, and it works</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Oct 2025 13:39:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121118/nrfutil-flash-with-full-erase-breaks-flashing" /><item><title>RE: nrfutil flash with full erase breaks flashing</title><link>https://devzone.nordicsemi.com/thread/550599?ContentTypeID=1</link><pubDate>Fri, 03 Oct 2025 13:39:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01cade3b-d850-43e7-904a-082083abcc3f</guid><dc:creator>Konstantin Klitenik</dc:creator><description>&lt;p&gt;This behavior is not consistent. Sometimes I can use just &amp;quot;west flash&amp;quot;, other times i need to use &amp;quot;west flash --recover&amp;quot;. I haven&amp;#39;t found a pattern on when this protection happens. We are now using nrf54.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil flash with full erase breaks flashing</title><link>https://devzone.nordicsemi.com/thread/550597?ContentTypeID=1</link><pubDate>Fri, 03 Oct 2025 13:36:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a19ab37-6429-4141-b20f-ba881f5acbe2</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;As I mentioned, the issue is that the Application core access port is enabled, and it needs to be unlocked with &amp;quot;west flash --recover&amp;quot;&lt;span&gt;&lt;span&gt;.&amp;nbsp;&lt;/span&gt;&amp;nbsp;This is not caused by&amp;nbsp;nrfutil. Actually, the&amp;nbsp;nrfutil&amp;nbsp;wraps the nrfjprog. nRF9151 is new, but it should be quite similar to nRF9160 and the nRF52 series. The APPROTECT is enabled by default. You can refer to&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nan_041/page/APP/nan_production_programming/check_approtect_enabled.html"&gt;Checking if APPROTECT is enabled&lt;/a&gt;&amp;nbsp;for the APPROTECT enable/disable.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/working-with-the-nrf52-series-improved-approtect#mcetoc_1fr4868f52"&gt;(75) Working with the nRF52 Series&amp;#39; improved APPROTECT - Blogs - Nordic Blog - Nordic DevZone&lt;/a&gt;&amp;nbsp;shows that the command tool and codes can be used.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil flash with full erase breaks flashing</title><link>https://devzone.nordicsemi.com/thread/550523?ContentTypeID=1</link><pubDate>Thu, 02 Oct 2025 19:23:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fed054e-f0b8-41fe-b62e-894a5b25d2b3</guid><dc:creator>Konstantin Klitenik</dc:creator><description>&lt;p&gt;Still same issue, after upgrade. Here&amp;#39;s nrfutil list:&lt;/p&gt;
&lt;p&gt;Command Version Description&lt;br /&gt;completion 1.5.0 &lt;br /&gt;device 2.14.2 Device discovery, programming, and operations such as erase, reset, and recovery.&lt;/p&gt;
&lt;p&gt;Found 2 installed command(s)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil flash with full erase breaks flashing</title><link>https://devzone.nordicsemi.com/thread/543503?ContentTypeID=1</link><pubDate>Thu, 24 Jul 2025 12:48:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa5a08ee-9ac2-4c54-be87-a94f2df862b4</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Try to run &amp;quot;nrfutil self-upgrade&amp;quot; and &amp;quot;nrfutil upgrade&amp;quot; to update the tool. If that still cannot help, please provide the return by &amp;quot;nrfutil list&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil flash with full erase breaks flashing</title><link>https://devzone.nordicsemi.com/thread/543491?ContentTypeID=1</link><pubDate>Thu, 24 Jul 2025 12:24:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6166231b-837b-4672-93a7-2313ca775903</guid><dc:creator>Konstantin Klitenik</dc:creator><description>&lt;p&gt;No. An update from @nordic would be nice...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil flash with full erase breaks flashing</title><link>https://devzone.nordicsemi.com/thread/543448?ContentTypeID=1</link><pubDate>Thu, 24 Jul 2025 09:03:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ced206c-7e40-4001-acf7-ac70e83bd0fd</guid><dc:creator>Reimer</dc:creator><description>&lt;p&gt;Hey Konstantin&lt;/p&gt;
&lt;p&gt;I&amp;#39;m curious to know if you found a solution since I&amp;#39;m experiencing the same problem and can&amp;#39;t seem to find a way to solve it.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Reimer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil flash with full erase breaks flashing</title><link>https://devzone.nordicsemi.com/thread/533648?ContentTypeID=1</link><pubDate>Wed, 30 Apr 2025 23:40:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9579ee3b-ac43-4926-a7d6-92871ea21a7e</guid><dc:creator>Konstantin Klitenik</dc:creator><description>&lt;p&gt;Clearly. But what causes it to get in that state with nrfutil but not with nrfjprog.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil flash with full erase breaks flashing</title><link>https://devzone.nordicsemi.com/thread/533639?ContentTypeID=1</link><pubDate>Wed, 30 Apr 2025 18:52:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af3c5360-36ae-447a-a22c-c58df1bb144a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]* 1051272415: Failed to attach to target: The Application core access port is protected (All) (NotAvailableBecauseProtection)[/quote]
&lt;p&gt;It seems t&lt;span&gt;he device is using a readback protection,&amp;nbsp;&lt;/span&gt;&lt;span&gt;so it needs &amp;quot;--recover&amp;quot; to unlock.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;See&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/programming.html#optional_programming_parameters"&gt;Optional programming parameters&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>