<?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>DFU thread Server nrfutil ncp connectivity issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69632/dfu-thread-server-nrfutil-ncp-connectivity-issue</link><description>Hi, 
 I&amp;#39;ve been trying any way I can think of to work around an issue &amp;quot;51&amp;quot; returned by nrfjprog executed from nrfutil when trying to run serwer from the steps in tutorial: https://devzone.nordicsemi.com/nordic/short-range-guides/b/mesh-networks/posts</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Dec 2020 17:42:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69632/dfu-thread-server-nrfutil-ncp-connectivity-issue" /><item><title>RE: DFU thread Server nrfutil ncp connectivity issue</title><link>https://devzone.nordicsemi.com/thread/286133?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 17:42:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:602bf03f-4a0f-4c53-91c9-774cf8fa3fd1</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;We have an internal report for this issue already. I will bump it and link to this thread as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU thread Server nrfutil ncp connectivity issue</title><link>https://devzone.nordicsemi.com/thread/285967?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 07:29:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42545457-86f6-4817-a409-17d429fb97ca</guid><dc:creator>pawel3cte</dc:creator><description>&lt;p&gt;Hi, it installing it through pip does help though it would be good to take care of issue with native linux/windows version of nrfutil so people could avoid wasting a lot of time like I just did. Thank you for your help &lt;a href="https://devzone.nordicsemi.com/members/joh2"&gt;Jørgen Holmefjord&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU thread Server nrfutil ncp connectivity issue</title><link>https://devzone.nordicsemi.com/thread/285900?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2020 16:55:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35efa678-d671-46b2-a25b-f521d093895e</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Error 51 means that the file was not found:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ nrfjprog --program code.hex
Parsing image file.
ERROR: The file specified could not be found.
$ $?
51: command not found
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Could you try to &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrfutil/UG/nrfutil/nrfutil_installing_from_pypi.html"&gt;install nrfutil through pip&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU thread Server nrfutil ncp connectivify issue</title><link>https://devzone.nordicsemi.com/thread/285749?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2020 07:02:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9be485ec-0924-49fd-8871-62cf718689bc</guid><dc:creator>pawel3cte</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thank you for your reply.&lt;/p&gt;
&lt;p&gt;Yes, I did all operation with prebuild ncp.hex. I didn&amp;#39;t build anything else other than dfu app.&lt;/p&gt;
&lt;p&gt;Can you help me to find error codes for nrfjprog? Finding meaning of &amp;#39;51&amp;#39; error code could help in this case.&lt;/p&gt;
&lt;p&gt;I checked multiple runs on newer 6.1.0 version windows/linux but it didn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;Only working solution is still v5.2.0 on Windows and it is no ideal either: I have to run it twice and when I want to close it, it usually crashes my cmd.exe window.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU thread Server nrfutil ncp connectivify issue</title><link>https://devzone.nordicsemi.com/thread/285671?ContentTypeID=1</link><pubDate>Thu, 17 Dec 2020 14:47:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18832a32-f4ec-429c-bf4b-c1ecb55060d8</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you verified that the file (ncp.hex) is present in the path?&lt;/p&gt;
&lt;p&gt;Did you download one of the prebuilt releases? I have only tested with nrfutil installed through pip, and I&amp;#39;m not able to reproduce this issue. I do however see a similar error when the chip is erased (verify failed with exit status 55). If I manually flash the ncp.hex file first, the nrfutil command works as expected, even with --flash_connectivity argument set.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU thread Server nrfutil ncp connectivify issue</title><link>https://devzone.nordicsemi.com/thread/285570?ContentTypeID=1</link><pubDate>Thu, 17 Dec 2020 10:15:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3926f693-8080-4168-b3f1-794052441dc4</guid><dc:creator>pawel3cte</dc:creator><description>&lt;p&gt;I got some progress: second try using manually programmeg ncp succeeded. I lost a lot of my time because I didn&amp;#39;t try twice I tried different methods instead.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;pawp@DESKTOP031 MINGW32 ~/Downloads
$ ./nrfutil_v5_2.exe --verbose dfu thread -snr 683741244 --panid 1234 --masterkey [my key] -pkg update_candidates/app_dfu_package.zip
Address not specified. Using ff03::1 (all Thread nodes)
Using connectivity board at serial port: COM6
2020-12-17 11:10:50,441 Failed to reset NCP. Please flash connectivity firmware.
Traceback (most recent call last):
  File &amp;quot;nordicsemi\__main__.py&amp;quot;, line 1382, in thread
  File &amp;quot;nordicsemi\thread\tncp.py&amp;quot;, line 224, in open
Exception: Failed to reset NCP. Please flash connectivity firmware.

pawp@DESKTOP031 MINGW32 ~/Downloads
$ ./nrfutil_v5_2.exe --verbose dfu thread -snr 683741244 --panid 1234 --masterkey [my key] -pkg update_candidates/app_dfu_package.zip
Address not specified. Using ff03::1 (all Thread nodes)
Using connectivity board at serial port: COM6
Waiting for NCP to promote to a router...
Thread DFU server is running... Press &amp;lt;Ctrl + D&amp;gt; to stop.
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Can someone confirm/explain this bug?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>