<?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 error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103132/nrfjprog-error</link><description>Hello, 
 i&amp;#39;m developing a firmware for nrf5340dk from 4-5 months using VS Code and Nrf Connect SDK v.2.3.0. Everything went smoothly until now but about a week ago i started to have an annoying nrfjprog error. More in details this is what happens: 
 1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 13 Oct 2024 15:13:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103132/nrfjprog-error" /><item><title>RE: Nrfjprog error</title><link>https://devzone.nordicsemi.com/thread/505991?ContentTypeID=1</link><pubDate>Sun, 13 Oct 2024 15:13:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ad08db3-38c0-4960-9a00-6a75706f7faf</guid><dc:creator>cirocristhian</dc:creator><description>&lt;p&gt;&lt;span&gt;I had a similar problem, and tracked it down to nrfjprog options.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:1%;"&gt;&lt;a href="https://tubidycom.org.za"&gt;tubidy&lt;/a&gt; &lt;a href="https://tubidymobi.org.za"&gt;tubidy&lt;/a&gt; &lt;a href="https://download-lagu321.net"&gt;download lagu&lt;/a&gt; &lt;a href="https://downloadlagu-321.net"&gt;download lagu&lt;/a&gt; &lt;a href="https://gudang-lagu.io"&gt;download lagu&lt;/a&gt; &lt;a href="https://gudang-lagu.blog"&gt;download lagu&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrfjprog error</title><link>https://devzone.nordicsemi.com/thread/496907?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2024 07:20:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbf508e6-3fc7-400e-a009-13266d4d55f1</guid><dc:creator>widowroofer</dc:creator><description>&lt;p&gt;Based on the details you&amp;#39;ve provided, it seems that the issue might be related to how memory is being managed and accessed in your firmware, especially if the problem arises after the first flash when using the nrfjprog tool. The fact that erasing and flashing works, as well as unplugging and re-plugging the USB cable, suggests that something in the state of the flash memory or the nRF5340&amp;#39;s firmware state is causing the problem.&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;color:#ffffff;font-size:75%;"&gt;&lt;a style="background-color:#ffffff;color:#ffffff;" href="https://geometrydash-game.io"&gt;geometry dash&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrfjprog error</title><link>https://devzone.nordicsemi.com/thread/482215?ContentTypeID=1</link><pubDate>Tue, 07 May 2024 09:05:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1885d795-a485-42db-9b75-860c8c3733ab</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;When APPROTECT is enabled then device would need to be recovered before you are able to write to it again.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrfjprog error</title><link>https://devzone.nordicsemi.com/thread/481951?ContentTypeID=1</link><pubDate>Mon, 06 May 2024 09:10:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d621620-2308-4bc5-a26a-298498828ec4</guid><dc:creator>staidsignal</dc:creator><description>&lt;p&gt;It seems like the situation is a little different based on what I gathered from its support case. It&amp;#39;s not that I can&amp;#39;t work; it&amp;#39;s just that I keep making the same mistakes. The write fails and the -nrfjprog error message appears if I do not erase it.&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ffffff;font-size:75%;"&gt;&lt;a style="color:#ffffff;" href="https://basketballstars-game.io"&gt;basketball stars&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrfjprog error</title><link>https://devzone.nordicsemi.com/thread/461293?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2023 13:44:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5691620-e62d-4c5e-b6fa-1797e543d84e</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Thanks update Frax! will keep you posted if I have anything to share.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrfjprog error</title><link>https://devzone.nordicsemi.com/thread/461076?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2023 13:48:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b4f2093-8f16-45a6-9896-94770bb3863b</guid><dc:creator>frax84</dc:creator><description>&lt;p&gt;Sorry Jonathan, i totally missed your message!&lt;/p&gt;
&lt;p&gt;No, i have no APPROTECT enabled. As a confirm of it, if i try to add:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_NRF_APPROTECT_LOCK=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;in my proj.conf file i get the comment &amp;quot;in build: n&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Frax&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrfjprog error</title><link>https://devzone.nordicsemi.com/thread/459327?ContentTypeID=1</link><pubDate>Thu, 07 Dec 2023 10:22:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29bbd4e7-0bab-42c8-bc49-de57b3c5ff85</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/frax84"&gt;frax84&lt;/a&gt;&amp;nbsp;, does the firmware you flash have APPROTECT enabled or disabled?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrfjprog error</title><link>https://devzone.nordicsemi.com/thread/459158?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2023 12:02:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8644a28c-6250-44de-b66d-29c475bea8c9</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Not sure if we have any public issue reports that you can follow, but I have asked if this is something we can provide.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrfjprog error</title><link>https://devzone.nordicsemi.com/thread/459054?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2023 16:30:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9330331-2c22-40d5-9414-36c3344a86b4</guid><dc:creator>frax84</dc:creator><description>&lt;p&gt;Hi Jonathan,&lt;/p&gt;
&lt;p&gt;any news on this issue? Is there an issue report on github we can follow?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrfjprog error</title><link>https://devzone.nordicsemi.com/thread/446811?ContentTypeID=1</link><pubDate>Wed, 20 Sep 2023 09:40:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:190e30f7-0998-4b7f-a296-37f18c30a0cc</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Have asked the developers to have a look at this and will provide an update when ready.&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrfjprog error</title><link>https://devzone.nordicsemi.com/thread/444371?ContentTypeID=1</link><pubDate>Mon, 04 Sep 2023 15:39:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57a31ced-60b6-4653-a0d1-afdb9105d51d</guid><dc:creator>paul.lander</dc:creator><description>[quote userid="34316" url="~/f/nordic-q-a/100202/installation-of-ncs-2-3-0-under-macos/443253"]&lt;p&gt;So, in summary:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If &lt;em&gt;nrfjprog --program&lt;/em&gt; includes &lt;em&gt;--sectorerase&lt;/em&gt; it&amp;nbsp;may work if you&amp;nbsp;time&amp;nbsp;the operation to start after a reset just right. It seems like there could be something fixable in the &lt;em&gt;nrfjprog&lt;/em&gt; DLL, or it might be in the underlying JLink software. The problem is reproducible with the JLink OB and JLink Base debuggers and on mac/PC and with NCS 1.7 thru 2.3.0.&lt;/li&gt;
&lt;li&gt;One could just always do a &amp;quot;flash then erase&amp;quot; operation, but this clears UICR.OTP, which we use for immutable device lifetime information that has to survive a firmware upgrade, so it&amp;#39;s a nuisance to have to re-program that data with a user-flash-erase either in the Terminal, outside of VS Code, or binding a shell script to one of the two flash buttons.&lt;/li&gt;&lt;/ol&gt;[/quote]
&lt;p&gt;I think we&amp;#39;&amp;#39;re&amp;nbsp;experiencing the same problem. It may be&amp;nbsp;related to how CTRL-AP is implemented in the nRF53 &amp;amp; nRF91 series. &lt;em&gt;--sectorerase&lt;/em&gt; can usually be made to work after a reset and occasionally only after recycling power. JLink produces various errors and that&amp;#39;s a clue that the cause of this longstanding issue may be&amp;nbsp;at the intersection of secure flash protection&amp;nbsp;/ nrfjprog / JlinkExe.&lt;/p&gt;
&lt;p&gt;Jonathan, could the folks who did&amp;nbsp;the nrfjprog DLL reproduce this problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrfjprog error</title><link>https://devzone.nordicsemi.com/thread/444369?ContentTypeID=1</link><pubDate>Mon, 04 Sep 2023 15:23:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8c5c1b3-c341-48bf-b703-66d0e8f55ba5</guid><dc:creator>frax84</dc:creator><description>&lt;p&gt;No, actually from what i understood following its support case the situation is a bit different. It&amp;#39;s not that i am not able to work, it&amp;#39;s just that i have to write and erase everytime. If i don&amp;#39;t erase, write failes and i get -nrfjprog error&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrfjprog error</title><link>https://devzone.nordicsemi.com/thread/444352?ContentTypeID=1</link><pubDate>Mon, 04 Sep 2023 13:53:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e882e89-6a06-4203-a0fb-1524c2be1437</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Where you able to solve wit the details provided in paul.landers reply?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrfjprog error</title><link>https://devzone.nordicsemi.com/thread/443254?ContentTypeID=1</link><pubDate>Sun, 27 Aug 2023 19:03:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54bba1cf-6752-414c-b623-db0f163177e4</guid><dc:creator>paul.lander</dc:creator><description>&lt;p&gt;I had a similar problem, and tracked it down to nrfjprog options, as detailed in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/100202/installation-of-ncs-2-3-0-under-macos"&gt;this support case&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>