<?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 --family nRF52 --eraseall error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77419/nrfjprog---family-nrf52---eraseall-error</link><description>Hello, I tried to run the following command on my nRF52832 today and it reported an error. 
 The operation before the error was: I enabled APPROTECT, and when my colleague used JLink to connect to it, a pop-up window asked whether to unsecure it. After</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Jul 2021 11:49:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77419/nrfjprog---family-nrf52---eraseall-error" /><item><title>RE: nrfjprog --family nRF52 --eraseall error</title><link>https://devzone.nordicsemi.com/thread/320236?ContentTypeID=1</link><pubDate>Thu, 15 Jul 2021 11:49:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2312809-a436-4492-8cda-5bc5e85316f4</guid><dc:creator>tfoobarq</dc:creator><description>&lt;p&gt;Solved.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog --family nRF52 --eraseall error</title><link>https://devzone.nordicsemi.com/thread/320181?ContentTypeID=1</link><pubDate>Thu, 15 Jul 2021 08:51:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad71acc7-bb15-401d-9af4-38af92cf83f3</guid><dc:creator>tfoobarq</dc:creator><description>&lt;p&gt;The output changes everytime I run the commands, really weird&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;gt; nrfjprog -f NRF52 --recover --log
Recovering device. This operation might take 30s.
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.
Erasing user code and UICR flash areas.
ERROR: [SeggerBackend] - JLinkARM.dll ReadMemU32 detected a read error 1.
ERROR: [SeggerBackend] - This typically indicates the read was blocked by a memory protection mechanism.

&amp;gt; nrfjprog -f NRF52 --recover --log
Recovering device. This operation might take 30s.
Erasing user code and UICR flash areas.

&amp;gt; nrfjprog -f NRF52 --recover --log
Recovering device. This operation might take 30s.
ERROR: [SeggerBackend] - JLinkARM.dll WriteU32 returned error -1.
Erasing user code and UICR flash areas.

&amp;gt; nrfjprog -f NRF52 --recover --log
Recovering device. This operation might take 30s.
ERROR: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.
ERROR: [  JLink] - Could not find core in Coresight setup
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 WriteU32 returned error -1.
ERROR: [SeggerBackend] - JLinkARM.dll WriteU32 returned error -1.
Erasing user code and UICR flash areas.

&amp;gt; nrfjprog -f NRF52 --recover --log
Recovering device. This operation might take 30s.
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: [  JLink] - Could not find core in Coresight setup
ERROR: [SeggerBackend] - JLinkARM.dll reported error -1 at line 4400.
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 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 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: [  JLink] - DAP error while reading AIRCR.
ERROR: [SeggerBackend] - JLinkARM.dll reported error -1 at line 4508.
Erasing user code and UICR flash areas.
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.

&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog --family nRF52 --eraseall error</title><link>https://devzone.nordicsemi.com/thread/320161?ContentTypeID=1</link><pubDate>Thu, 15 Jul 2021 07:26:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a879cba-b431-4283-aac3-ce3260f52575</guid><dc:creator>tfoobarq</dc:creator><description>&lt;p&gt;After I update the nRF command line tools to the newest version, the output are changing but still not working:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;gt; nrfjprog -f NRF52 --recover --log
Recovering device. This operation might take 30s.
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 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 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 reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.
ERROR: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-261&amp;quot;, &amp;quot;Could not find supported CPU.&amp;quot;.
ERROR: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-261&amp;quot;, &amp;quot;Could not find supported CPU.&amp;quot;.
ERROR: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-261&amp;quot;, &amp;quot;Could not find supported CPU.&amp;quot;.
ERROR: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-261&amp;quot;, &amp;quot;Could not find supported CPU.&amp;quot;.
ERROR: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-261&amp;quot;, &amp;quot;Could not find supported CPU.&amp;quot;.
ERROR: [  nRF52] - Failed to write UICR after recovering.
ERROR: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.
ERROR: Recover failed. Please make sure that the correct device family is given
ERROR: and try again.

&amp;gt; nrfjprog -f NRF52 -e --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;-261&amp;quot;, &amp;quot;Could not find supported CPU.&amp;quot;.
ERROR: [  JLink] - Could not find core in Coresight setup
ERROR: [SeggerBackend] - JLinkARM.dll reported error -1 at line 4400.
ERROR: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-261&amp;quot;, &amp;quot;Could not find supported CPU.&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 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 ReadMemU32 detected a read error 1.
ERROR: [SeggerBackend] - This typically indicates the read was blocked by a memory protection mechanism.
ERROR: nrfjprog failed for an unknown reason. Run the same command again with
ERROR: argument --log, contact Nordic Semiconductor and provide the generated
ERROR: log.log file to them.&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog --family nRF52 --eraseall error</title><link>https://devzone.nordicsemi.com/thread/320158?ContentTypeID=1</link><pubDate>Thu, 15 Jul 2021 07:14:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18144cf0-b539-4904-b3cb-a69cbcbcbfca</guid><dc:creator>tfoobarq</dc:creator><description>&lt;p&gt;And my nRF Command Line Tools Version&lt;/p&gt;
&lt;p&gt;&amp;gt; nrfjprog -v&lt;br /&gt;nrfjprog version: 10.10.0&lt;br /&gt;JLinkARM.dll version: 6.88a&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog --family nRF52 --eraseall error</title><link>https://devzone.nordicsemi.com/thread/320155?ContentTypeID=1</link><pubDate>Thu, 15 Jul 2021 07:10:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3feaf790-be2b-4362-91d9-5fc9ba75b661</guid><dc:creator>tfoobarq</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;gt; nrfjprog -f NRF52 -e --log
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.

&amp;gt; cat .\log.log
[2021-Jul-15 15:09:43] [ info] --------------------------------------------------------------------------------
[2021-Jul-15 15:09:43] [ info] C:\Program Files (x86)\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe -f NRF52 -e --log
[2021-Jul-15 15:09:43] [ info] nrfjprog version 10.10.0
[2021-Jul-15 15:09:43] [ info] --------------------------------------------------------------------------------
[2021-Jul-15 15:09:43] [debug] [ nRF0x0] - open_dll
[2021-Jul-15 15:09:43] [debug] [ nRF0x0] - Load library at C:\Program Files (x86)\Nordic Semiconductor\nrf-command-line-tools\bin\JLINKARM_NRF52_NRFJPROG.dll.
[2021-Jul-15 15:09:43] [debug] [ nRF0x0] - Library loaded, loading member functions.
[2021-Jul-15 15:09:43] [debug] [ nRF0x0] - Member functions succesfully loaded.
[2021-Jul-15 15:09:43] [debug] [Backend] - Logger callback at 0xd91d80 registered in Segger backend logger.
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] Logger callback at 0xd91d80 registered in JLink logger.
[2021-Jul-15 15:09:43] [debug] [nRF520x0] - open
[2021-Jul-15 15:09:43] [debug] [Backend] - open_dll
[2021-Jul-15 15:09:43] [debug] [Backend] - No J-Link DLL path was provided. Attempting to auto detect.
[2021-Jul-15 15:09:43] [debug] [Backend] - Load library at C:\Program Files (x86)\SEGGER\JLink\JLinkARM.dll.
[2021-Jul-15 15:09:43] [debug] [Backend] - Library loaded, loading member functions.
[2021-Jul-15 15:09:43] [debug] [Backend] - Member functions succesfully loaded.
[2021-Jul-15 15:09:43] [debug] [Backend] - dll_version
[2021-Jul-15 15:09:43] [debug] [Backend] - Segger dll version 6.88.a loaded.
[2021-Jul-15 15:09:43] [debug] [ nRF0x0] - enum_emu_snr
[2021-Jul-15 15:09:43] [debug] [nRF520x0] - enum_emu_snr
[2021-Jul-15 15:09:43] [debug] [Backend] - is_connected_to_emu
[2021-Jul-15 15:09:43] [debug] [Backend] - enum_emu_snr
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_enum_emu_snr
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_get_num_emus
[2021-Jul-15 15:09:43] [debug] [Backend] - is_connected_to_emu
[2021-Jul-15 15:09:43] [debug] [ nRF0x0] - connect_to_emu_with_snr
[2021-Jul-15 15:09:43] [debug] [nRF520x0] - connect_to_emu_with_snr
[2021-Jul-15 15:09:43] [debug] [Backend] - is_connected_to_emu
[2021-Jul-15 15:09:43] [debug] [Backend] - connect_to_emu_with_snr
[2021-Jul-15 15:09:43] [debug] [Backend] - is_connected_to_emu
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_enum_emu_snr
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_get_num_emus
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_connect_to_emu_with_snr
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_connect_to_emu_without_snr
[2021-Jul-15 15:09:43] [debug] [Backend] - Segger logging enabled.
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] Firmware: J-Link V9 compiled May  7 2021 16:26:12
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] Decompressing FW timestamp took 121 us
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] Hardware: V9.40
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] S/N: 59412569
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] OEM: SEGGER
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] Feature(s): RDI, GDB, FlashDL, FlashBP, JFlash
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] TELNET listener socket opened on port 19021
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] WEBSRV Starting webserver
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] WEBSRV Webserver running on local port 19080
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 11.683ms returns &amp;quot;O.K.&amp;quot;
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_Lock()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_GetHWStatus(...)
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.254ms returns 0
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_ExecCommand(&amp;quot;SetRestartOnClose = 0&amp;quot;, ...).
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.010ms returns 0x01
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_ExecCommand(&amp;quot;DisableFlashDL&amp;quot;, ...).
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.005ms returns 0x00
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_ExecCommand(&amp;quot;ExcludeFlashCacheRange 0x0-0xFFFFFFFF&amp;quot;, ...).
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.004ms returns 0x00
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_SetHookUnsecureDialog
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_SetHookUnsecureDialog(...)
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.021ms returns 0
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_TIF_Select(JLINKARM_TIF_SWD)
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.503ms returns 0x00
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_SetSpeed(2000)
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.087ms
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_GetSN()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.009ms returns 59412569
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_load_core_data
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_ExecCommand(&amp;quot;CORESIGHT_SetIndexAHBAPToUse = 0&amp;quot;, ...).
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.007ms returns 0x00
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_ExecCommand(&amp;quot;device = nRF52&amp;quot;, ...).
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] XML file found at: C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml evaluated successfully.
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] Device &amp;quot;NRF52&amp;quot; selected.
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 40.101ms returns 0x00
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [Backend] - read_debug_port_idr
[2021-Jul-15 15:09:43] [debug] [Backend] - read_debug_port_register
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_read_debug_port_register
[2021-Jul-15 15:09:43] [debug] [Backend] - coresight_configure
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_CORESIGHT_Configure()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.634ms returns 0
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] Value=0x2BA01477
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.311ms returns 0
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.173ms
[2021-Jul-15 15:09:43] [debug] [ nRF0x0] - read_device_version
[2021-Jul-15 15:09:43] [debug] [nRF520x0] - read_device_info
[2021-Jul-15 15:09:43] [debug] [Backend] - is_connected_to_emu
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_IsOpen()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.011ms returns 0x01
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_Lock()
[2021-Jul-15 15:09:43] [debug] [nRF520x0] - Just_read_device_version
[2021-Jul-15 15:09:43] [debug] [nRF520x0] - Just_readback_status
[2021-Jul-15 15:09:43] [debug] [nRF520x0] - Just_is_ctrl_ap_available
[2021-Jul-15 15:09:43] [debug] [Backend] - read_access_port_register
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_read_access_port_register
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_is_debug_region_powered
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_read_debug_port_register
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_write_debug_port_register
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.182ms returns 0
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x01)
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] Value=0xF0000000
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.214ms returns 0
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_write_debug_port_register
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.221ms returns 0
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] Value=0x02880000
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.247ms returns 0
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [Backend] - read_access_port_register
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_read_access_port_register
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_write_debug_port_register
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.204ms returns 0
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] Value=0x02880000
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.293ms returns 0
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [Backend] - read_access_port_register
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_read_access_port_register
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_write_debug_port_register
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x010000F0)
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.208ms returns 0
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] failed
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.355ms returns -1
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [Backend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, an unknown error.
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_abort_debug_action
[2021-Jul-15 15:09:43] [debug] [Backend] - Attempting to clear any configuration errors in debug port before closing connection.
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.338ms returns 0
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.011ms
[2021-Jul-15 15:09:43] [debug] [ nRF0x0] - close_dll
[2021-Jul-15 15:09:43] [debug] [nRF520x0] - close
[2021-Jul-15 15:09:43] [debug] [Backend] - is_connected_to_emu
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_IsOpen()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.009ms returns 0x01
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_Lock()
[2021-Jul-15 15:09:43] [debug] [Backend] - close
[2021-Jul-15 15:09:43] [debug] [Backend] - disconnect_from_emu
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_disconnect_from_emu
[2021-Jul-15 15:09:43] [debug] [Backend] - is_connected_to_device
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_IsConnected()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.010ms returns FALSE
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_is_debug_region_powered
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_read_debug_port_register
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_write_debug_port_register
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.316ms returns 0
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x01)
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] Value=0xF0000000
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.339ms returns 0
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [Backend] - unpower_debug_and_system_regions
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_write_debug_port_register
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_write_debug_port_register
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.332ms returns 0
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x01, 0x00000000)
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.512ms returns -1
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [Backend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, an unknown error.
[2021-Jul-15 15:09:43] [debug] [Backend] - ---just_abort_debug_action
[2021-Jul-15 15:09:43] [debug] [Backend] - Attempting to clear any configuration errors in debug port before closing connection.
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.371ms returns 0
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_HasError()
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] - 0.010ms
[2021-Jul-15 15:09:43] [debug] [  JLink] - [Debug   ] [JLink     ] JLINK_Close()
[2021-Jul-15 15:09:43] [debug] [Backend] - Segger Backend closed.
[2021-Jul-15 15:09:43] [debug] [nRF520x0] - nRF family DLL closed&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog --family nRF52 --eraseall error</title><link>https://devzone.nordicsemi.com/thread/320150?ContentTypeID=1</link><pubDate>Thu, 15 Jul 2021 07:02:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ee034bb-f2a8-4250-b3fd-96e81ba64d06</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you encounter the same error when you do not set the family option?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog -e&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Also try upgrading to the latest &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Command-Line-Tools/Download"&gt;nRF Command Line Tools&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>