<?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>Failed to load readback protection status: async task failure</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91068/failed-to-load-readback-protection-status-async-task-failure</link><description>I am using nRF52833 on a custom board and trying to use J-link to connect the IC with SWD. 
 But when I opened the programmer to connect my device, it got this error log: 
 
 
 And I tried to use nRF command line and type &amp;quot;nrfjprog --recover&amp;quot; and it will</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Mar 2023 16:12:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91068/failed-to-load-readback-protection-status-async-task-failure" /><item><title>RE: Failed to load readback protection status: async task failure</title><link>https://devzone.nordicsemi.com/thread/417951?ContentTypeID=1</link><pubDate>Tue, 28 Mar 2023 16:12:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c113f9ab-442e-4511-8b98-1bd1d3cd76f4</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Don&amp;#39;t forget to also provide power to your custom board while u&lt;span&gt;sing the nrf52833 DK for debugging. If this cannot help, please create a new support case. Thanks.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to load readback protection status: async task failure</title><link>https://devzone.nordicsemi.com/thread/417785?ContentTypeID=1</link><pubDate>Tue, 28 Mar 2023 05:11:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68715de2-f718-48e7-ac7a-8721f322dca3</guid><dc:creator>SheepWool</dc:creator><description>&lt;p&gt;I have a very simlar issue with my nrf52833 on a custom board. I have no idea why one day debugging on SEGGER Embedded Studio could no longer be performed. As per similar posts on this subject I have tried --recover and -eraseall with similar error messages and the;&lt;span style="background-color:#263238;color:#f44336;float:none;font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:nowrap;"&gt;Failed to load readback protection status: async task failure for id: 1050638938312 msg: [jlink] JLINKARM_DLL_ERROR (Origin: &amp;quot;Error when running operation: protection-get&amp;quot;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;on NRF Programmer 3.0.7. Using latest versions of nrffjprog (10.19) and Jlink 7.80c&lt;/p&gt;
&lt;p&gt;The chip is running through its program as per normal on power up - I just can&amp;#39;t connect to debug. Using the nrf52833 DK for debugging and all had been fine for weeks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to load readback protection status: async task failure</title><link>https://devzone.nordicsemi.com/thread/382129?ContentTypeID=1</link><pubDate>Thu, 18 Aug 2022 06:00:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b066acde-0528-4158-9c9c-8d3c3c1943e4</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What is the command line version (nrfjprog -v) you are using? Please try&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Command-Line-Tools/Download?lang=en#infotabs"&gt; the latest version&lt;/a&gt;.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to load readback protection status: async task failure</title><link>https://devzone.nordicsemi.com/thread/382118?ContentTypeID=1</link><pubDate>Thu, 18 Aug 2022 01:01:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23dc5475-5df9-4ef2-a0c8-2777ad53db18</guid><dc:creator>Vincent Chen</dc:creator><description>&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;But I tried &amp;quot;&lt;span&gt;nrfjprog --recover&amp;quot; and it still have the memory protection.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;C:\Users\u10166&amp;gt;nrfjprog --recover
Recovering device. This operation might take 30s.
Erasing user code and UICR flash areas.

C:\Users\u10166&amp;gt;nrfjprog --eraseall --log
[error]: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.

[error]: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.

[error]: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.

[error]: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.
[error]: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.
[error]: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.
[error]: [SeggerBackend] - JLinkARM.dll ReadMemU32 detected a read error 1.
[error]: [SeggerBackend] - This typically indicates the read was blocked by a memory protection mechanism.
[error]: [SeggerBackend] - JLinkARM.dll ReadMemU32 detected a read error 1.
[error]: [SeggerBackend] - This typically indicates the read was blocked by a memory protection mechanism.
[error]: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.
[error]: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.
[error]: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.
Failed to read device memories.
[error]: [SeggerBackend] - JLinkARM.dll ReadMemU32 detected a read error 1.
[error]: [SeggerBackend] - This typically indicates the read was blocked by a memory protection mechanism.
[error]: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.
[error]: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.
[error]: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.
[error]: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.
[error]: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.
[error]: [  nRF52] - Failed when checking readback protect status.
[error]: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.
[error]: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.
[error]: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.
[error]: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.
[error]: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.
[error]: [SeggerBackend] - Failed while ensuring debug power was enabled for device connection.
ERROR: JLinkARM DLL reported an error. Try again. If error condition
ERROR: persists, run the same command again with argument --log, contact Nordic
ERROR: Semiconductor and provide the generated log.log file to them.&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to load readback protection status: async task failure</title><link>https://devzone.nordicsemi.com/thread/381972?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2022 10:39:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cca467f2-c06a-4bea-949b-889959018366</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Vincent,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From the log:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;[error]: [SeggerBackend] - This typically indicates the read was blocked by a memory protection mechanism.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Since the&amp;nbsp;&lt;span&gt;protection mechanism is enabled, t&lt;/span&gt;hat means you need to execute&amp;nbsp;&lt;span&gt;&amp;quot;nrfjprog --recover&amp;quot; to&amp;nbsp;&lt;/span&gt;disable the&amp;nbsp;&lt;span&gt;memory protection mechanism before erasing (&amp;quot;nrfjprog --recover&amp;quot;).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;See the &lt;a title="nrfjprog commands" href="https://infocenter.nordicsemi.com/topic/ug_nrf_cltools/UG/cltools/nrf_nrfjprogexe_reference.html?cp=10_1_3_0"&gt;nrfjprog commands&lt;/a&gt; description:&lt;/span&gt;&lt;/p&gt;
&lt;table border="1" cellpadding="4" cellspacing="0" frame="border" height="97" rules="all" summary="" width="833"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan="1" headers="d2079e59" rowspan="1"&gt;&lt;span&gt;--recover&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d2079e62" rowspan="1"&gt;Erases all user flash memory and disables the readback protection mechanism if enabled.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td headers="d2079e59"&gt;&lt;span&gt;--eraseall&lt;/span&gt;&lt;/td&gt;
&lt;td headers="d2079e62"&gt;&lt;span&gt;Erases all user available program flash memory and the UICR page. Can be combined with the&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;--qspieraseall&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;operation.&lt;/span&gt;
&lt;div&gt;Note the following limitation:
&lt;ul&gt;
&lt;li&gt;For nRF51 devices with a pre-programmed SoftDevice, only the user available code flash and UICR will be erased.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda&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>