<?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>mesh DFU failure scenario</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42309/mesh-dfu-failure-scenario</link><description>Hi, 
 
 I manged to successfully run the mesh DFU example, however i noticed one unusual thing. I was expecting device to revert to old version of firmware, if in case the update breaks for some reason(i.e wrong application version, key or sudden abort</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Jan 2019 17:26:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42309/mesh-dfu-failure-scenario" /><item><title>RE: mesh DFU failure scenario</title><link>https://devzone.nordicsemi.com/thread/166083?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 17:26:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a39bf7a2-64c5-47c2-b6e1-62c57004e29c</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. I have tested the mesh DFU example now. If you are testing the example out of the box, the old firmware running in both DKs will be the mesh dfu application, that&amp;#39;s the image running before and during the dfu process. The dfu mesh application turned on LED1 and LED3 when the mesh dfu event started. If you see inside the code the leds will not turn off before the NRF_MESH_EVT_DFU_END event happens. So I think it makes sense that you still see the two leds on when a failure happens...&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;        case NRF_MESH_EVT_DFU_START:
            hal_led_mask_set(BSP_LED_0_MASK | BSP_LED_2_MASK, true);
            break;

        case NRF_MESH_EVT_DFU_END:
            hal_led_mask_set(LEDS_MASK, false); /* Turn off all LEDs */
            hal_led_mask_set(BSP_LED_0_MASK | BSP_LED_1_MASK, true); /* Yellow */
            break;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I think this could have been better documented, so thank you for pointing this out for us!&lt;br /&gt;&lt;br /&gt;If I misunderstood and you are running you own firmware before doing the dfu, please let me know.&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh DFU failure scenario</title><link>https://devzone.nordicsemi.com/thread/165581?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 17:12:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:375bb315-6181-49e9-b416-dde15cb990df</guid><dc:creator>shohidur</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;I did follow all the steps, otherwise i could not successfully transfer firmware image. It seemed to me the device in DFU mode because in failure scenario( Lets say i suddenly stopped dfu transfer) it was not reverting back to previously running application, instead two lights were on and in next attempt it successfully updated firmware.&lt;/p&gt;
&lt;p&gt;I will try again, and meanwhile is it possible to test for u?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh DFU failure scenario</title><link>https://devzone.nordicsemi.com/thread/165504?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 14:23:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d92846b0-d6e5-484b-a577-ea930f0ade79</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. The mesh DFU example should run what is called as side-by-side DFU, it transfers the new firmware in the background while the application is running and it will not flash the new application before it is ready, so there isn&amp;#39;t really a DFU mode. Have you check the DFU quick starting guide and made sure you have followed all the steps here? &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/Mesh_SDK/v3-1-0/md_doc_getting_started_dfu_quick_start"&gt;https://www.nordicsemi.com/DocLib/Content/SDK_Doc/Mesh_SDK/v3-1-0/md_doc_getting_started_dfu_quick_start&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>