<?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>Can&amp;#39;t flash PCA10040</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128176/can-t-flash-pca10040</link><description>Hi, 
 
 I can&amp;#39;t flash my PCA10040 dev board. I get this when I connect with J-Link Commander: 
 Connecting to target via SWD InitTarget() start CTRL-AP indicates that the device is secured. For debugger connection the device needs to be unsecured. Note</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 May 2026 20:04:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128176/can-t-flash-pca10040" /><item><title>RE: Can't flash PCA10040</title><link>https://devzone.nordicsemi.com/thread/566553?ContentTypeID=1</link><pubDate>Tue, 19 May 2026 20:04:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a20996f4-5f50-47c8-b777-e14e44468871</guid><dc:creator>Jonas0</dc:creator><description>&lt;p&gt;Herer is the output, I also executed &amp;quot;nrfutil self-upgrade&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin&amp;gt;nrfutil upgrade&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;Downloading nrfutil-ble-sniffer-x86_64-pc-windows-msvc-0.19.0&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;Verifying nrfutil-ble-sniffer-x86_64-pc-windows-msvc-0.19.0&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;Updating nrfutil-ble-sniffer to 0.19.0&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;nrfutil-completion is already the newest version (1.5.0)&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;Downloading nrfutil-device-x86_64-pc-windows-msvc-2.18.2&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;Verifying nrfutil-device-x86_64-pc-windows-msvc-2.18.2&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;Updating nrfutil-device to 2.18.2&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;[00:00:05] ###### 100% [Upgrade packages] Upgrade packages&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;A new version of nrfutil is available. Please run: nrfutil self-upgrade&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin&amp;gt;nrfutil device recover&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;x Failed to recover 1050340818, Device error: Access port is still protected after Erase and Reset Error: One or more recover tasks failed:&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt; * 1050340818: Device error: Access port is still protected after Erase and Reset (Generic)&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin&amp;gt;nrfutil self-upgrade&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;Uninstalled nrfutil&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;[00:00:03] ###### 100% [Install packages] Install packages&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin&amp;gt;nrfutil device recover&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;x Failed to recover 1050340818, Device error: Access port is still protected after Erase and Reset Error: One or more recover tasks failed:&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt; * 1050340818: Device error: Access port is still protected after Erase and Reset (Generic)&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin&amp;gt;nrfutil device recover&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;x Failed to recover 1050340818, Device error: Access port is still protected after Erase and Reset Error: One or more recover tasks failed:&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt; * 1050340818: Device error: Access port is still protected after Erase and Reset (Generic)&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin&amp;gt;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't flash PCA10040</title><link>https://devzone.nordicsemi.com/thread/566552?ContentTypeID=1</link><pubDate>Tue, 19 May 2026 19:49:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1915462a-fa9a-4708-9a18-adbfe786388e</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Could you execute &amp;quot;nrfutil upgrade&lt;span&gt;&amp;quot; and then try again?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't flash PCA10040</title><link>https://devzone.nordicsemi.com/thread/566550?ContentTypeID=1</link><pubDate>Tue, 19 May 2026 19:01:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de96284e-3c31-48e7-b54c-1d6509e87cde</guid><dc:creator>Jonas0</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;I tried but got this:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin&amp;gt;nrfutil device recover&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/274c.svg" title="X"&gt;&amp;#x274c;&lt;/span&gt;&lt;em&gt;&lt;strong&gt;&amp;nbsp;Failed to recover 1050340818, Device error: Access port is still protected after Erase and Reset Error: One or more recover tasks failed:&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt; * 1050340818: Device error: Access port is still protected after Erase and Reset (Generic)&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin&amp;gt;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't flash PCA10040</title><link>https://devzone.nordicsemi.com/thread/566549?ContentTypeID=1</link><pubDate>Tue, 19 May 2026 18:46:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c099de0-b87b-4b42-b824-e497edd33c37</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;nRF Command Line Tools (nrfjprog) is deprecated and replaced by&amp;nbsp;nRF Util. Please&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nrfutil/page/guides/installing.html"&gt;install nRF Util&lt;/a&gt;&amp;nbsp;and run &amp;quot;&lt;span&gt;nrfutil install device&amp;quot; to install the device command. Then, you can execute &amp;quot;nrfutil device recover&amp;quot; to recover (unlock) the device.&amp;nbsp;&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;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>