<?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 issue light switch</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55219/mesh-dfu-issue-light-switch</link><description>Hi All, 
 I&amp;#39;m working with Nordic BLE Mesh and trying DFU (OTA) provided in sdk for Mesh. 
 
 I used \doc\getting_started\dfu_quick_start.md as the guide to setup and test DFU. Below are the steps I used for setup and testing. 
 
 One Time Setup: 
 1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Dec 2019 08:50:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55219/mesh-dfu-issue-light-switch" /><item><title>RE: mesh DFU issue light switch</title><link>https://devzone.nordicsemi.com/thread/224339?ContentTypeID=1</link><pubDate>Mon, 09 Dec 2019 08:50:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be7abcbf-88c7-4bfc-a9a7-f8f911526005</guid><dc:creator>Gaurav Kapoor</dc:creator><description>&lt;p&gt;Hung customer Says&lt;/p&gt;
&lt;p&gt;Hi Gaurav,&amp;nbsp;Thanks for the response.&amp;nbsp;I&amp;#39;ll check and let you know if I have any more doubts.&amp;nbsp;Regards,&lt;/p&gt;
&lt;p&gt;Prateek Jindal ,&lt;/p&gt;
&lt;p&gt;so you can close this ticket as of now cheers&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh DFU issue light switch</title><link>https://devzone.nordicsemi.com/thread/224243?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2019 15:43:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c9fd84e-b65f-4d14-9e41-ea7e155e945f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;So as far as I know, the only mesh bootloader that support DFU via a phone is the bootloader for the Low Power Node.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would need to double check if the bootloader can work as a stand alone application. By design it should work. It&amp;#39;s the backup when the application crashes and switch back to bootloader to get updated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh DFU issue light switch</title><link>https://devzone.nordicsemi.com/thread/224114?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2019 10:08:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:337d4f46-01ab-41bf-800d-520d22f51f3b</guid><dc:creator>Gaurav Kapoor</dc:creator><description>&lt;p&gt;Hi Hung , answers enclosed&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;What exactly you meant by &amp;quot;DFU for BLE&amp;quot; ?&lt;ul&gt;
&lt;li&gt;By DFU for BLE I meant using Boot-loader and DFU application for normal BLE provided with BLE SDK and update via DFU App in nRF Toolbox.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Note that the mesh bootloader doesn&amp;#39;t support DFU with BLE (from the phone for example) it only supports Mesh DFU.&lt;ul&gt;
&lt;li&gt;Yes I tested this.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;How did you test the bootloader ?&amp;nbsp;Have you tried to flash only the softdevice and the bootloader ?&lt;ul&gt;
&lt;li&gt;I flashed only bootloader, and softdevice, and device page to give info for company-id and application-id as they are compared to do DFU.&lt;/li&gt;
&lt;li&gt;But only the device with DFU application, boot-loader and SD was upgraded via Mesh&amp;nbsp;DFU, and the device with boot-loader and SD did not change.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Note that there are 2 different images for the bootloader, one with and one without serial support.&amp;nbsp;&lt;ul&gt;
&lt;li&gt;I have tried with both.&lt;/li&gt;
&lt;li&gt;Serial boot-loader was programmed with the unit used as DFU source.&lt;/li&gt;
&lt;li&gt;1 with serial and 1 without serial support for other 2 nodes, but unless I also add DFU example or similar application, it do not upgrade Mesh DFU.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;Pls advise thanks Gaurav&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh DFU issue light switch</title><link>https://devzone.nordicsemi.com/thread/224091?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2019 09:11:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94db4188-d30b-416c-8211-8e8d493378f4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Gaurav,&amp;nbsp;&lt;br /&gt;If they are using SDK v3.1, most likely it&amp;#39;s the bug I was thinking of. It&amp;#39;s fixed in SDK v3.2. We lately released SDK v4.0 I think they should get started with this version.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding your question:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- What exactly you meant by &amp;quot;DFU for BLE&amp;quot; ? I&amp;#39;m not sure I understand your question.&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;Node that the mesh bootloader doesn&amp;#39;t support DFU with BLE (from the phone for example) it only supports Mesh DFU. How did you test the bootloader ? Have you tried to flash only the softdevice and the bootloader ? Note that there are 2 different images for the bootloader, one with and one without serial support.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh DFU issue light switch</title><link>https://devzone.nordicsemi.com/thread/224060?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2019 06:59:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:236fb92a-70c2-40ae-a23b-9221d8f38060</guid><dc:creator>Gaurav Kapoor</dc:creator><description>&lt;p&gt;hi Hung here is customer response&lt;/p&gt;
&lt;p&gt;- Could you tell&amp;nbsp;if you used SDK v3.2 ? We have fixed some issues with the larger DFU image update in SDK v3.2&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;We are using Mesh SDK v3.1; I&amp;#39;ll try to look into v3.2 or v4.0.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Will BLE SDK version and SD version also have impact? I&amp;#39;m using SD140 v6.1.0.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;- Could you send the RTT log in the serial (or non serial) node ?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong style="font-style:inherit;"&gt;Please find the attached file for RTT logs.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong style="font-style:inherit;"&gt;Logs are taken with Log Level @LOG_LEVEL_DBG3.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;-&amp;nbsp; From what you showed, it&amp;#39;s most likely complaining about the size of the image that it couldn&amp;#39;t fit into the swap bank. However with the nRF52840 it should be enough space for the ~120kB image.&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Following is the data from one of the files which failed:&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&amp;nbsp; &amp;nbsp;text&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;data&amp;nbsp; &amp;nbsp; bss&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dec&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; hex&amp;nbsp; &amp;nbsp; &amp;nbsp;filename&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&amp;nbsp;113252 &amp;nbsp; &amp;nbsp; 796 &amp;nbsp;183060 &amp;nbsp;297108 &amp;nbsp; 48894&amp;nbsp; &amp;nbsp;LCC.elf&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I have one more question:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The DFU for BLE can work with just boot-loader or&amp;nbsp;application with DFU trigger&amp;nbsp;or even if the application is not updated properly.&lt;/li&gt;
&lt;li&gt;&amp;nbsp;While with BLE MESH DFU, we found that DFU is not possible via BLE or BLE Mesh with just boot-loader, and we need to have an application which will actually do DFU instead of boot-loader.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;tks&lt;/p&gt;
&lt;p&gt;gaurav&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/RTT_5F00_Error_5F00_Log.txt"&gt;devzone.nordicsemi.com/.../RTT_5F00_Error_5F00_Log.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mesh DFU issue light switch</title><link>https://devzone.nordicsemi.com/thread/223973?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2019 14:47:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4239dad0-846e-4654-bd25-a4304fe71716</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Pavan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you tell&amp;nbsp;if you used SDK v3.2 ? We fixed some issues with the larger DFU image update in SDK v3.2&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you send the RTT log in the serial (or non serial) node ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From what you showed, it&amp;#39;s most likely complaining about the size of the image that it couldn&amp;#39;t fit into the swap bank. However with the nRF52840 it should be enough space for the ~120kB image.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that the hex file doesn&amp;#39;t represent the size of the actual binary image. You can use&amp;nbsp;arm-none-eabi-size.exe tool to find the actual image size from an .out or .elf file. (you can also look in to the .zip file to find the size of the .bin file)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>