<?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>questions for DFU of mesh-sdk-2.1.1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36831/questions-for-dfu-of-mesh-sdk-2-1-1</link><description>Hi friends: 
 I&amp;#39;ve followed &amp;quot;DFU quick start guide&amp;quot; and run DFU(from mesh-sdk-2.1.1) example done, the updating time is about 3000 seconds. 
 (My environment is only 2 devices, one is connected to PC, the other is a mesh node) 
 I need to implement a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Aug 2018 02:06:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36831/questions-for-dfu-of-mesh-sdk-2-1-1" /><item><title>RE: questions for DFU of mesh-sdk-2.1.1</title><link>https://devzone.nordicsemi.com/thread/144397?ContentTypeID=1</link><pubDate>Thu, 16 Aug 2018 02:06:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:235831d6-378b-4748-be9c-58c1f85c79bd</guid><dc:creator>jowei</dc:creator><description>&lt;p&gt;Hi Bjorn:&lt;/p&gt;
&lt;p&gt;Sorry for late response.&lt;/p&gt;
&lt;p&gt;We miss flow control indeed, and it looks like mesh DFU has more pros than regular DFU, thanks for your reply.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Joseph&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: questions for DFU of mesh-sdk-2.1.1</title><link>https://devzone.nordicsemi.com/thread/143139?ContentTypeID=1</link><pubDate>Tue, 07 Aug 2018 07:29:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d130bca-a436-4ab0-b875-60e8f53ae2fb</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi Joseph,&lt;/p&gt;
&lt;p&gt;Sorry for the delayed response.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) It clearly says in the nrfutil dfu help command that the interval option -i should be kept greater than 200 ms and less than 2 seconds. Therefore, it makes sense that the dfu failed when you set -i to 100 ms &amp;amp; it worked when you set this option to 250 ms. Have you tried to enable flow control in the nrfutil command (i.e. -fc)? This could also possibly help.&lt;/p&gt;
&lt;p&gt;2) It is not a trivial thing to use the bootloader mode. As the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v2.1.1/md_examples_dfu_README.html?cp=4_1_0_4_5"&gt;DFU example documentation&lt;/a&gt; says, the bootloader mode is only used as a backup (i.e. fallback mechanism) in case the side by side DFU fails.&lt;/p&gt;
&lt;p&gt;4a) You should be able to do a mesh DFU via the mobile app too. We have the nRF Mesh app &amp;amp; if you attach one proxy node to your mesh network, you will be able to communicate from the phone to the proxy node via the Proxy bearer.&lt;/p&gt;
&lt;p&gt;4b) Do you get any failures when you run the command in the DFU quick start guide:&amp;nbsp;nrfutil dfu serial -pkg dfu_test.zip -p &amp;lt;COM port&amp;gt; -b 115200 -fc --mesh ? Or do you only get the failures when you use the -i option? I am pretty sure this is related to my answer to 1 above.&lt;/p&gt;
&lt;p&gt;4c)&amp;nbsp;May I ask what your use case is &amp;amp; why you want to do the update via a smartphone instead of via the computer? I understand that it would be easier to do a background DFU via the smartphone instead of having to run a script on your laptop connected to a nRF52 dev kit. We currently do not have a solution for this, but have requested this as a feature update in the future.&lt;/p&gt;
&lt;p&gt;The regular BLE DFU would most likely be quite a bit quicker, but you would need to&amp;nbsp;be in distance of all of the nodes to update the whole&amp;nbsp;mesh network.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: questions for DFU of mesh-sdk-2.1.1</title><link>https://devzone.nordicsemi.com/thread/142712?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 01:32:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38223c1e-22e6-457d-a763-74a1abab39a5</guid><dc:creator>jowei</dc:creator><description>&lt;p&gt;&lt;strong&gt;Hi Bjorn:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Thanks for reply, below are my answers:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;-- We transfer &amp;quot;DFU&amp;quot; example with some adding by us, it&amp;#39;s 126K.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1) In step10, by using &amp;quot;-i&amp;quot; option, such as &amp;quot;&lt;span&gt;nrfutil dfu serial -pkg dfu_test.zip -p&amp;nbsp;COM4 -b 115200 -i 100 --mesh&amp;quot;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;2)Thanks, if the bootloader mode is quicker, please guide me how to use bootloader mode.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;3)Yes, besides I refered your link1 and link2, I also refered openMesh DFU document as following:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;&lt;a href="https://github.com/NordicPlayground/nRF51-ble-bcast-mesh/tree/master/docs/dfu"&gt;https://github.com/NordicPlayground/nRF51-ble-bcast-mesh/tree/master/docs/dfu&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;4) &lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;a. Yes, we are thinking the possibility of regular DFU, because regular DFU can be done by mobile.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;b. We are not sure how meshDFU performance when there are more than 100 nodes(in the future we will verify), besides, sometimes meshDFU failed at nrfutil side, we haven&amp;#39;t locate the exactly fail clue. &lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;So we are thinking the possibility of regular DFU even regular DFU will be inconvenient when&amp;nbsp;there are many modes.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;c. Light-switch_proxy_client + meshDFU + regular DFU should be the best solution for us, &lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span&gt;but merging light-switch-proxy-client + regular DFU is not easy for us, could you give me any hint? thank you very much.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;Joseph&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: questions for DFU of mesh-sdk-2.1.1</title><link>https://devzone.nordicsemi.com/thread/142594?ContentTypeID=1</link><pubDate>Thu, 02 Aug 2018 11:53:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:767584b5-f72d-4290-9f36-dc35dace6529</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Sorry for the delayed response.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which example application did you transfer over mesh DFU? How big was the hex file generated?&lt;/p&gt;
&lt;div&gt;1) In which step of the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v2.1.1/md_doc_getting_started_dfu_quick_start.html?cp=4_1_0_3_2"&gt;DFU quick start guide&lt;/a&gt; did you change the interval option?&lt;/div&gt;
&lt;div&gt;2) The example given in mesh sdk v2.1.1 implements the side-by-side bootloader. The DFU documentation says that the bootloader mode is meant as a fallback mechanism in case the side-by-side bootloader DFU fails. The whole point of side-by-side mesh DFU is that the mesh network can still be running while you are upgrading the application, bootloader and/or softdevice.&lt;/div&gt;
&lt;div&gt;The bootloader DFU should be quicker, as the device does not need to listen for mesh packets &amp;amp; dfu packets at the same time &amp;amp; can only focus on the dfu packets. In the bootloader mode, the application is not running. I will ask internally about whether it is possible to use the bootloader mode DFU?&lt;/div&gt;
&lt;div&gt;3) Are you referring to&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/nRF51-ble-bcast-mesh"&gt;this documentation here&lt;/a&gt;&amp;nbsp;when you refer to &amp;quot;nordic openmesh github example&amp;quot;? I do not believe there is any other documentation other than the documentation posted on the infocenter (&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v2.1.1/md_examples_dfu_README.html?cp=4_1_0_4_5"&gt;link 1&lt;/a&gt;, &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v2.1.1/md_doc_getting_started_dfu_quick_start.html?cp=4_1_0_3_2"&gt;link 2&lt;/a&gt;).&lt;/div&gt;
&lt;div&gt;4) Why&amp;nbsp;would you want to use regular dfu instead? Is it to get a quicker firmware update? Or would you want to support both mesh dfu &amp;amp; regular dfu?&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>