<?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 failures</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101980/nrfjprog-failures</link><description>I&amp;#39;m working on custom test software for use in production programming/testing of my product containing a nRF9160. I&amp;#39;m using the nrfjprog executable, but with problems, every second call to nrfjprog --program is failing: 
 
 The log file is attached. </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Mar 2025 23:46:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101980/nrfjprog-failures" /><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/525836?ContentTypeID=1</link><pubDate>Tue, 04 Mar 2025 23:46:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6aa519e-a657-43c0-b5a0-573beedff73d</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for the information, could you make a new ticket about that?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/525331?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2025 15:29:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44b38274-cf60-4d9b-a0de-579862eadbb9</guid><dc:creator>DmytroSes</dc:creator><description>&lt;p&gt;I have experienced the similar issue, when developing an application for nRF54l15. I was not able to flash a firmware over an existing one without full chip erase. This issue was reproducible specifically when I compiled my code with MCUboot and a custom board. I resolved the problem by disabling FPROTECT for MCUboot in &lt;code&gt;sysbuild/mcuboot.conf&lt;/code&gt;:&lt;/p&gt;
&lt;div style="background-color:#ffffff;color:#3b3b3b;font-family:&amp;#39;Droid Sans Mono&amp;#39;, &amp;#39;monospace&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#0000ff;"&gt;CONFIG_FPROTECT&lt;/span&gt;&lt;span style="color:#3b3b3b;"&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/510331?ContentTypeID=1</link><pubDate>Wed, 13 Nov 2024 14:33:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58ac9eb0-c411-400e-9890-92cec0e08783</guid><dc:creator>joel-sc</dc:creator><description>&lt;p&gt;I&amp;#39;ll do it as soon I rework on this issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/509885?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2024 12:43:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:619ab8af-4815-4f29-91a4-ae6197a86eac</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Could you make a new ticket with the information about your setup for a proper follow-up?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/509868?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2024 12:07:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72f12d01-7f14-4e64-bbd6-a2a2bae8645a</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;I am trying to find out internally about it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/508757?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2024 07:58:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6005a912-c047-41eb-9a6b-f9bb8241d3bd</guid><dc:creator>joel-sc</dc:creator><description>&lt;p&gt;Yes 10.18.1 works.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Would it be possible to know what is the issue ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/508421?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2024 17:16:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c14e509-80bb-4a6b-a61c-2875c6b135b0</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;No update I&amp;#39;m afraid.&lt;/p&gt;
&lt;p&gt;Are you able to use the 10.18.1 version instead?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/507362?ContentTypeID=1</link><pubDate>Tue, 22 Oct 2024 12:37:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1599d7a8-f2ef-4d1d-9e4e-c1c5b7a994ac</guid><dc:creator>joel-sc</dc:creator><description>&lt;p&gt;HI &lt;a href="https://devzone.nordicsemi.com/members/michal_5f00_r"&gt;Michal&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;span style="background-color:#eeeeee;"&gt;Is there any new from this issue?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;I&amp;#39;ve got the same kind of issue with the last nrf command line tools release (nrf-command-line-tools_10.24.2_amd64.deb) on Linux. This package is bundled with&amp;nbsp;JLink_Linux_V794e_x86_64.&lt;br /&gt;&lt;br /&gt;best&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/448723?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2023 22:53:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8e31150-b60c-4cac-8a8f-9988b9c73a45</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;I don&amp;#39;t have any news yet unfortunately, except for that our developers are looking into it.&lt;/p&gt;
&lt;p&gt;Please use any workarounds that you have found for now.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/448126?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2023 11:22:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6972f644-847d-420a-8375-e04f83b02bd5</guid><dc:creator>allard.p</dc:creator><description>&lt;p&gt;Any news? Came across this error again today.&lt;/p&gt;
&lt;p&gt;Tried 10.18.1 today, as &lt;a href="https://devzone.nordicsemi.com/members/rory.piper"&gt;Rory&lt;/a&gt; suggested, and this version seems to work (limited testing).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/444780?ContentTypeID=1</link><pubDate>Wed, 06 Sep 2023 17:34:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b49965f-d3b3-4132-9c4e-ad5bac5046ce</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Thank you for the updates and successes in debugging this issue.&lt;/p&gt;
&lt;p&gt;Just wanted to let you all know that I am inquiring our developers about any possible actions.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/443255?ContentTypeID=1</link><pubDate>Sun, 27 Aug 2023 19:08:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bc2878a-2215-4f62-9d3b-7c9c16b1e1c9</guid><dc:creator>paul.lander</dc:creator><description>&lt;p&gt;We&amp;#39;ve also experienced this problem and found a temporary solution by matching particular versions of nrfjprog DLL and JLink software. The problem seems to be more acute with the Apple M1 architecture, but &amp;nbsp;bear in mind nRF Connect Extensions pack may update your command line tools and older versions of JLinkExe have more quirks.&lt;/p&gt;
&lt;p&gt;I wrote up our findings &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/100202/installation-of-ncs-2-3-0-under-macos"&gt;in this support case&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/443238?ContentTypeID=1</link><pubDate>Sat, 26 Aug 2023 11:54:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32c03538-b65e-4c1a-ba8a-60fe3da1d331</guid><dc:creator>Rory</dc:creator><description>&lt;p&gt;I just downgraded my version of nRF Command Line Tools to 10.18.1 (x64), and flashing without fully erasing&amp;nbsp; (i.e. --sectorerase) is working now.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Try downgrading to nRF Command Line Tools 10.18.1 and confirm that the problem persists. Downgrading completely fixed the issue for me with both the nRF9160 and the nRF5340. Hope this helps!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/442763?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 11:45:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08e8e565-4cb4-4b7f-b2ba-8317e65156f4</guid><dc:creator>Rory</dc:creator><description>&lt;p&gt;I am seeing this same problem with flashing the nRF5340 in VS Code without a full erase, but instead using --sectorerase.&lt;/p&gt;
&lt;p&gt;I am using:&lt;/p&gt;
&lt;p&gt;J-Link V7.92a (latest)&lt;/p&gt;
&lt;p&gt;nRF Command Line Tools 10.23.0 (latest)&lt;/p&gt;
&lt;p&gt;nrfjprog 10.23.0 (latest)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When flashing from the latest version of VS Code with a full chip erase, it works perfectly:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Flashing build to 69660205&lt;/code&gt;&lt;br /&gt;&lt;code&gt;C:\Windows\system32\cmd.exe /d /s /c &amp;quot;west flash -d c:\ble\patriot\build --skip-rebuild --dev-id 69660205 --erase&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;-- west flash: using runner nrfjprog&lt;/code&gt;&lt;br /&gt;&lt;code&gt;-- runners.nrfjprog: mass erase requested&lt;/code&gt;&lt;br /&gt;&lt;code&gt;-- runners.nrfjprog: Flashing file: c:\ble\patriot\build\zephyr\merged_domains.hex&lt;/code&gt;&lt;br /&gt;&lt;code&gt;-- runners.nrfjprog: c:\ble\patriot\build\zephyr\merged_domains.hex targets both nRF53 coprocessors; splitting it into: c:\ble\patriot\build\zephyr\GENERATED_CP_NETWORK_merged_domains.hex and c:\ble\patriot\build\zephyr\GENERATED_CP_APPLICATION_merged_domains.hex&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[ #################### ] 0.354s | Erase file - Done erasing&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[ #################### ] 1.438s | Program file - Done programming&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[ #################### ] 1.643s | Verify file - Done verifying&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[ #################### ] 0.370s | Erase file - Done erasing&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[ #################### ] 4.304s | Program file - Done programming&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[ #################### ] 4.996s | Verify file - Done verifying&lt;/code&gt;&lt;br /&gt;&lt;code&gt;Applying pin reset.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;-- runners.nrfjprog: Board with serial number 69660205 flashed successfully.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Then if I attempt to flash it again immediately after without selecting a full chip erase, it fails to flash:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Flashing build to 69660205&lt;/code&gt;&lt;br /&gt;&lt;code&gt;C:\Windows\system32\cmd.exe /d /s /c &amp;quot;west flash -d c:\ble\patriot\build --skip-rebuild --dev-id 69660205&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;-- west flash: using runner nrfjprog&lt;/code&gt;&lt;br /&gt;&lt;code&gt;-- runners.nrfjprog: Flashing file: c:\ble\patriot\build\zephyr\merged_domains.hex&lt;/code&gt;&lt;br /&gt;&lt;code&gt;-- runners.nrfjprog: c:\ble\patriot\build\zephyr\merged_domains.hex targets both nRF53 coprocessors; splitting it into: c:\ble\patriot\build\zephyr\GENERATED_CP_NETWORK_merged_domains.hex and c:\ble\patriot\build\zephyr\GENERATED_CP_APPLICATION_merged_domains.hex&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[ #################### ] 12.986s | Erase file - Done erasing&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[error] [ Client] - Encountered error -102: Command program_file executed for 72 milliseconds with result -102&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[error] [ nRF53] - Failed while detecting device memory block protection status!&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[error] [ nRF53] - Failed while reading device information.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[error] [ Worker] - JLinkARM.dll Halt returned error 1.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;ERROR: JLinkARM DLL reported an error. Try again. If error condition&lt;/code&gt;&lt;br /&gt;&lt;code&gt;ERROR: persists, run the same command again with argument --log, contact Nordic&lt;/code&gt;&lt;br /&gt;&lt;code&gt;ERROR: Semiconductor and provide the generated log.log file to them.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;NOTE: For additional output, try running again with logging enabled (--log).&lt;/code&gt;&lt;br /&gt;&lt;code&gt;NOTE: Any generated log error messages will be displayed.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;FATAL ERROR: command exited with status 33: nrfjprog --program &amp;#39;c:\ble\patriot\build\zephyr\GENERATED_CP_NETWORK_merged_domains.hex&amp;#39; --sectorerase --verify -f NRF53 --coprocessor CP_NETWORK --snr 69660205&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If I try to flash it again with full chip erase, it still fails. The only thing that seems to allow it to be flashed again is doing an nrfjprog --recover or using the Programmer app from nRF Connect Desktop to fully erase the chip.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Flashing build to 69660205&lt;/code&gt;&lt;br /&gt;&lt;code&gt;C:\Windows\system32\cmd.exe /d /s /c &amp;quot;west flash -d c:\ble\patriot\build --skip-rebuild --dev-id 69660205 --erase&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;-- west flash: using runner nrfjprog&lt;/code&gt;&lt;br /&gt;&lt;code&gt;-- runners.nrfjprog: mass erase requested&lt;/code&gt;&lt;br /&gt;&lt;code&gt;-- runners.nrfjprog: Flashing file: c:\ble\patriot\build\zephyr\merged_domains.hex&lt;/code&gt;&lt;br /&gt;&lt;code&gt;-- runners.nrfjprog: c:\ble\patriot\build\zephyr\merged_domains.hex targets both nRF53 coprocessors; splitting it into: c:\ble\patriot\build\zephyr\GENERATED_CP_NETWORK_merged_domains.hex and c:\ble\patriot\build\zephyr\GENERATED_CP_APPLICATION_merged_domains.hex&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[error] [ Client] - Encountered error -90: Command read_memory_descriptors executed for 15 milliseconds with result -90&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[error] [ Worker] - Can&amp;#39;t read memory descriptors, ap-protection is enabled.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[error] [ Client] - Encountered error -90: Command erase_file executed for 62 milliseconds with result -90&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[error] [ nRF53] - Failed while erasing device. -90: Access protection is enabled, can&amp;#39;t read block protection state.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[error] [ Worker] - Access protection is enabled, can&amp;#39;t read block protection state.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;ERROR: The operation attempted is unavailable due to readback protection in&lt;/code&gt;&lt;br /&gt;&lt;code&gt;ERROR: your device. Please use --recover to unlock the device.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;NOTE: For additional output, try running again with logging enabled (--log).&lt;/code&gt;&lt;br /&gt;&lt;code&gt;NOTE: Any generated log error messages will be displayed.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;ERROR: runners.nrfjprog: Flashing failed because the target must be recovered.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;To fix, run &amp;quot;west flash --recover&amp;quot; instead.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;Note: your target is an nRF53; all flash memory for both the network and application cores will be erased prior to reflashing.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;FATAL ERROR: command exited with status 24: nrfjprog --program &amp;#39;c:\ble\patriot\build\zephyr\GENERATED_CP_NETWORK_merged_domains.hex&amp;#39; --chiperase --verify -f NRF53 --coprocessor CP_NETWORK --snr 69660205&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/442436?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 07:10:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d34603a1-b56b-4028-9928-22403fb497b2</guid><dc:creator>allard.p</dc:creator><description>&lt;p&gt;Not sure what you mean with &amp;#39;DK&amp;#39;, but if it is the debug probe, this is connected directly to the PC, no hubs.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve two situations with programming troubles:&lt;/p&gt;
&lt;p&gt;- The testboard situation, where the DUT is tested and programmed, here is also a USB&amp;lt;-&amp;gt;UART connected. In this case NRFJPROG is called from my test software. In this case every second try succeeds.&lt;/p&gt;
&lt;p&gt;- Programming in development from VSCode. In this case programming always fails, only full erase works, not &amp;#39;--sectorerase&amp;#39;.&lt;/p&gt;
&lt;p&gt;I also tested without USB&amp;lt;-&amp;gt;UART connected, no change. When i change the debug probe from a JLink plus to a Jlink base the error message in VSCode changes slightly.&lt;/p&gt;
&lt;p&gt;This is with the plus version:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;-- west flash: using runner nrfjprog
-- runners.nrfjprog: Flashing file: D:\[PATH]\merged.hex
[ #################### ]  13.455s | Erase file - Done erasing                                                          
[error] [  nRF91] - The write access failed, but no cause could be determined.                                         
[error] [  nRF91] - It may be due to an unaligned access, accessing a nonexistent memory, or a communication issue.
[error] [  nRF91] - Failed while performing &amp;#39;Write&amp;#39; operation on target address 0x00000000. 
-102: An unknown error.
[error] [  nRF91] - Failed while reading device information.
[error] [ Worker] - An unknown error.
[error] [ Client] - Encountered error -102: Command program_file executed for 203 milliseconds with result -102
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.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
FATAL ERROR: command exited with status 33: nrfjprog --program &amp;#39;D:\[path]\merged.hex&amp;#39; --sectorerase --verify -f NRF91 --snr [serial]&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And with the base version:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;-- west flash: using runner nrfjprog
-- runners.nrfjprog: Flashing file: D:\[path]\merged.hex
[error] [ Client] - Encountered error -102: Command erase_file executed for 217 milliseconds with result -102          
[error] [  nRF91] - Failed while performing &amp;#39;Erase&amp;#39; operation on target address 0x00000000. 
-102: JLinkARM.dll WriteU32 returned error -1.
[error] [  nRF91] - Failed while erasing device. -102: JLinkARM.dll WriteU32 returned error -1.
[error] [ Worker] - JLinkARM.dll WriteU32 returned error -1.
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.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
FATAL ERROR: command exited with status 33: nrfjprog --program &amp;#39;D:\[PATH]\merged.hex&amp;#39; --sectorerase --verify -f NRF91 --snr [serial]&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;With the plus version I am able to execute a sector erase in J-Flash without problems.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/442358?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 14:35:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbc970d9-70e3-4193-881b-63fcb7ccfeac</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Thank you for checking.&lt;/p&gt;
&lt;p&gt;How are you connecting the DK by the way? Are you connecting the USB directly to your PC, or via a hub?&lt;/p&gt;
&lt;p&gt;There is no COM port connected to the DK when trying to flash for the first time, right?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/442326?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 13:48:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e595b3e-3cae-4503-8d34-6e000be42afa</guid><dc:creator>allard.p</dc:creator><description>&lt;p&gt;Firmware is up to date:&lt;/p&gt;
&lt;p&gt;SEGGER J-Link Configuration V7.88j&lt;br /&gt;Logging started @ 2023-08-21 15:47&lt;br /&gt;Updating firmware of probe/ programmer 1 of 1 via USB (SN: 6001xxxx)...Not updated, probe/ programmer firmware is already up to date.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/442314?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 13:15:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e554e9a0-fac6-47ff-b6a7-15dc2fe8fab7</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Did you try upgrating the OB JLink firmware using Segger tools?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/442283?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 11:54:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7af05775-a6d8-43fb-afe7-64fb2aaafa4c</guid><dc:creator>allard.p</dc:creator><description>&lt;p&gt;I removed my version of NRFJPROG and installed v10.23.0. This version comes with jlink driver 7.88j, same problems. I assume NRF connect for VScode takes the NRFJPROG version installed under &amp;quot;C:\Program Files\Nordic Semiconductor\nrf-command-line-tools&amp;quot; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/442262?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 11:02:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f72a510-8a87-466b-b953-027ac2eeb709</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;Could you try upgrading your JLink driver? It may have gotten fixed around 7.82.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/442223?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 08:14:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e7767a4-3f72-45bb-9d83-32f5e3bf0d67</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am going to consult with the experts and get back to you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/441798?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2023 09:13:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c52e163-f555-4061-97bc-648565676b95</guid><dc:creator>allard.p</dc:creator><description>&lt;p&gt;I checked my application, I do not set APPROTECT anywhere. The --recover works, but triggers a full flash erase (?), i do not want this, because it erases all my settings etc.&lt;/p&gt;
&lt;p&gt;I also have the problem with programming from VSCode. Program + erase always works. Program with --sectorerase does not work, the same &amp;#39;unknown error (-102)&amp;#39;.&amp;nbsp; The error occurs after &amp;#39;erasing sector 2&amp;#39;:&lt;/p&gt;
&lt;p&gt;[ #############&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]&amp;nbsp;&amp;nbsp; 0.259s | Erasing non-volatile memory - block 2 of 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The erase of block1 succeeded,&amp;nbsp; so i do not think the problem is with APPROTECT. I&amp;#39;m also able to connect with J-LINK commander, so the debug port is working.&lt;/p&gt;
&lt;p&gt;I did not have these errors in the past, but I do not known what caused the errors to happen.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failures</title><link>https://devzone.nordicsemi.com/thread/436951?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 09:43:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3be0c94a-cc6a-4c17-9fdf-972aa6daf3c8</guid><dc:creator>Rory</dc:creator><description>&lt;p&gt;nRF91 and nRF53 devices can have their CTRL-AP port that the JLink uses become locked for readback protection (and programming) using the APPROTECT feature. When this happens, you need to recover the device with the command below before you can program it again.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;nrfjprog --family NRF91 --recover&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>