<?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 fails on mac 12.5.1 (monterey)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91747/nrfjprog-fails-on-mac-12-5-1-monterey</link><description>I was using nrfjprog successfully about a year ago before this evaluation was suspended. When I now try it fails. 
 ``` 
 nrfjprog --log --program build/zephyr/merged.hex --sectorerase -f NRF91 
 ERROR: JLinkARM DLL reported an error. 
 ``` 
 I have re</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Sep 2022 08:11:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91747/nrfjprog-fails-on-mac-12-5-1-monterey" /><item><title>RE: nrfjprog fails on mac 12.5.1 (monterey)</title><link>https://devzone.nordicsemi.com/thread/385644?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2022 08:11:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbf2c008-90d8-42fc-ae39-b2dcdccd8f5f</guid><dc:creator>Sigurd</dc:creator><description>[quote user="paul_tanner"]For&amp;nbsp;my other boards of this type&amp;nbsp;the&amp;nbsp;10.17.3 version of nrfjprog&amp;nbsp;seems to be&amp;nbsp;working ok.[/quote]
&lt;p&gt;Ok, good!&lt;/p&gt;
&lt;p&gt;For the one board that is failing, you might want to check that VDD is at the expected level. And maybe try to reflow the board if possible.(Could be some bad soldering or something that is causing issues.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog fails on mac 12.5.1 (monterey)</title><link>https://devzone.nordicsemi.com/thread/385559?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 16:06:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd1068e9-74b1-4389-9fe5-f6131141dd55</guid><dc:creator>paul_tanner</dc:creator><description>&lt;p&gt;Yes. A custom board. For&amp;nbsp;my other boards of this type&amp;nbsp;the&amp;nbsp;10.17.3 version of nrfjprog&amp;nbsp;seems to be&amp;nbsp;working ok.&lt;/p&gt;
&lt;p&gt;Thx again for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog fails on mac 12.5.1 (monterey)</title><link>https://devzone.nordicsemi.com/thread/385558?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 15:51:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1701e565-5b88-4474-b67e-4b45f902c538</guid><dc:creator>Sigurd</dc:creator><description>[quote user="paul_tanner"]&lt;p&gt;Turns out that this was&amp;nbsp;a possible&amp;nbsp;problem with the SoC.&amp;nbsp; With another one it seemed to go OK.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Ok, so you are just seeing this on one board. Is it a custom board or a DK ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog fails on mac 12.5.1 (monterey)</title><link>https://devzone.nordicsemi.com/thread/385522?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 12:52:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c34afd20-9147-48c3-8ff2-6aeedb648fc3</guid><dc:creator>paul_tanner</dc:creator><description>&lt;p&gt;Thx. That was very helpful.&lt;/p&gt;
&lt;p&gt;We are now trying to flash with&amp;nbsp;&lt;span class="s1"&gt;nrfjprog version 10.17.3 external&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;First errors are:&lt;/p&gt;
&lt;p&gt;```&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;debug&lt;/span&gt;&lt;span class="s1"&gt;]&lt;/span&gt;&lt;span class="s2"&gt;: [SeggerBackend] - ---just_select_debug_port_register&lt;/span&gt;&lt;/p&gt;
&lt;p class="p2"&gt;&lt;span class="s2"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s2"&gt;[debug]: [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255&lt;/span&gt;&lt;/p&gt;
&lt;p class="p2"&gt;&lt;span class="s2"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s2"&gt;[trace]: [&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &lt;/span&gt;JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)&lt;/span&gt;&lt;/p&gt;
&lt;p class="p2"&gt;&lt;span class="s2"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s2"&gt;[trace]: [&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &lt;/span&gt;JLink] - - 0.473ms returns -1&lt;/span&gt;&lt;/p&gt;
&lt;p class="p2"&gt;&lt;span class="s2"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s2"&gt;[trace]: [&lt;span class="Apple-converted-space"&gt;&amp;nbsp; &lt;/span&gt;JLink] - JLINK_HasError()&lt;/span&gt;&lt;/p&gt;
&lt;p class="p2"&gt;&lt;span class="s2"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s2"&gt;[error]: [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p class="p2"&gt;```&lt;/p&gt;
&lt;p class="p2"&gt;Turns out that this was&amp;nbsp;a possible&amp;nbsp;problem with the SoC.&amp;nbsp; With another one it seemed to go OK.&lt;/p&gt;
&lt;p class="p2"&gt;As to the error message that&amp;#39;s not very helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog fails on mac 12.5.1 (monterey)</title><link>https://devzone.nordicsemi.com/thread/385492?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 11:05:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1df98489-0f03-420b-8fcc-5f1b7bc8cb33</guid><dc:creator>Sigurd</dc:creator><description>[quote user="paul_tanner"]Anyone know where the newly installed executable can be found?[/quote]
&lt;p&gt;According to the document&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf_cltools/UG/cltools/nrf_installation.html"&gt;here&lt;/a&gt;,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;After running the installer, the nRF Command Line Tools are ready for use. By default, they are installed in the following directories:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;On Windows (64-bit):&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;C:/Program Files/Nordic Semiconductor/nrf-command-line-tools/bin/&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;On Windows (32-bit):&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;C:/Program Files (x86)/Nordic Semiconductor/nrf-command-line-tools/bin/&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;On Linux:&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;/opt/&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;On macOS:&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;/Applications/Nordic Semiconductor/&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog fails on mac 12.5.1 (monterey)</title><link>https://devzone.nordicsemi.com/thread/385452?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 08:44:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a530f8c4-7bda-4f75-855f-4800cc5f7235</guid><dc:creator>paul_tanner</dc:creator><description>&lt;p&gt;Thanks for that &lt;a href="https://devzone.nordicsemi.com/members/sigurdon"&gt;Sigurd&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes.&amp;nbsp; Although I downloaded the latest installer package, I got an older version when I ran it .&amp;nbsp; I need to fix the simlink in /usr/local/bin.&lt;/p&gt;
&lt;p&gt;However, try as I may I cannot locate where the installer has placed the updated version.&lt;/p&gt;
&lt;p&gt;I went back to the Nordic page where the download link is given.&amp;nbsp; Nothing on the precise destination other than allowing a choice of destination drive.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m reluctant to delete all versions in case I break something else.&lt;/p&gt;
&lt;p&gt;Anyone know where the newly installed executable can be found?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog fails on mac 12.5.1 (monterey)</title><link>https://devzone.nordicsemi.com/thread/385180?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 08:05:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c38d9b4a-408e-40e6-acfb-22e0bffbc8ae</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]nrfjprog version now 10.12.0[/quote]
&lt;p&gt;This is quite an old version. Try downloading the latest version. As of today, v10.17.3 is the latest version.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Command-Line-Tools/Download?lang=en#infotabs"&gt;https://www.nordicsemi.com/Products/Development-tools/nRF-Command-Line-Tools/Download?lang=en#infotabs&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>