<?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>&amp;quot;NotAvailableBecauseProtection&amp;quot; when attempting to flash nRF54L15</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123063/notavailablebecauseprotection-when-attempting-to-flash-nrf54l15</link><description>Seeing the failure below and wondering a couple things: 
 
 How did the device get into this state? 
 How do I disable AP protection? The Kconfig GUI seems to indicate that it is already disabled. 
 
 
 Output: 
 Flashing build to 852003914 
 west flash</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Jul 2025 13:19:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123063/notavailablebecauseprotection-when-attempting-to-flash-nrf54l15" /><item><title>RE: "NotAvailableBecauseProtection" when attempting to flash nRF54L15</title><link>https://devzone.nordicsemi.com/thread/543513?ContentTypeID=1</link><pubDate>Thu, 24 Jul 2025 13:19:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c3fd044-8148-4cb0-bbba-08ff02fcbd6e</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;This can happen automatically after certain operations, such as a reset or power cycle, if the firmware does not explicitly disable the protection on startup, or if protection settings are enabled in the build configuration.&amp;nbsp;When this protection is active, attempts to flash or debug the device will fail with errors indicating that access is not available due to protection. The solution is to use the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;west flash --recover&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;command (or equivalent recovery commands), which erases the device and disables the protection, restoring access for flashing and debugging. See&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/boards/nordic/nrf54l15dk/doc/index.html#programming_and_debugging" rel="noopener noreferrer" target="_blank"&gt;Programming and Debugging (nrf54l15dk)&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "NotAvailableBecauseProtection" when attempting to flash nRF54L15</title><link>https://devzone.nordicsemi.com/thread/543399?ContentTypeID=1</link><pubDate>Wed, 23 Jul 2025 18:06:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27ecc97f-d141-4bb7-91b3-2253272eee17</guid><dc:creator>Terence Kim</dc:creator><description>&lt;p&gt;Thanks, Amanda. As to my first question, how would the device have entered this state?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "NotAvailableBecauseProtection" when attempting to flash nRF54L15</title><link>https://devzone.nordicsemi.com/thread/543371?ContentTypeID=1</link><pubDate>Wed, 23 Jul 2025 13:44:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:351d1992-04ff-42a1-87f4-7bc01898158d</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As the log indicated, t&lt;/span&gt;he board is under&amp;nbsp;&lt;span&gt;AP protection status and needs to run&amp;nbsp;&amp;quot;west flash --recover&amp;quot;&amp;nbsp;to unlock the board. If you are using VS Code, you can check &lt;a href="https://docs.nordicsemi.com/bundle/nrf-connect-vscode/page/reference/ui_sidebar_connected_devices.html#contextual-actions"&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>