<?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>Bug in nRF Mesh Bootloader?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52133/bug-in-nrf-mesh-bootloader</link><description>I&amp;#39;ve been developing a solution that utilizes Mesh DFU along with the Mesh Bootloader. However, I&amp;#39;ve been seeing a frequent issue where the DFU aborts prematurely due to missing packets (see logs below). 
 &amp;lt;t: 1642549&amp;gt;, nrf_mesh_dfu.c, 456, SEGMENT RX</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Sep 2019 08:12:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52133/bug-in-nrf-mesh-bootloader" /><item><title>RE: Bug in nRF Mesh Bootloader?</title><link>https://devzone.nordicsemi.com/thread/210856?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2019 08:12:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5ffbcac-6c5f-4406-842b-d14a512b3c7e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Thomas: This is indeed a bug in the bootloader. I have reported to the team. The fix is as you suggested we should use (1ULL&amp;lt;&amp;lt;offset)&lt;/p&gt;
&lt;p&gt;@Geom: Maybe your issue is not related&amp;nbsp;to this Could you please create a new case ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bug in nRF Mesh Bootloader?</title><link>https://devzone.nordicsemi.com/thread/210771?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2019 16:19:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1b2ded7-c14d-4e85-aeb6-430e5a80b9dd</guid><dc:creator>Geom</dc:creator><description>&lt;p&gt;I believe, my issue is little bit different.&lt;/p&gt;
&lt;p&gt;Target device receives segment 0 (DFU Start) and segments 2..64 (DFU Data) successfully.&lt;br /&gt;But it always can&amp;#39;t receive segment 1.&lt;br /&gt;Sometimes it can&amp;#39;t receive more than one segment at the very beginning.&lt;/p&gt;
&lt;p&gt;Transfer stops on segment 64 because of segment 1 wasn&amp;#39;t received.&lt;/p&gt;
&lt;p&gt;Now I can build bootloader, and I am still working on code around segment 1 issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bug in nRF Mesh Bootloader?</title><link>https://devzone.nordicsemi.com/thread/210602?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2019 07:18:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb15fcf6-3e22-4fcd-8496-fff8f84a7947</guid><dc:creator>Geom</dc:creator><description>&lt;p&gt;Thank you for this post and proposal of the fix.&lt;br /&gt;I will try to apply your recommendation today and then give you to know about results.&lt;/p&gt;
&lt;p&gt;I need to learn how to build bootloader now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bug in nRF Mesh Bootloader?</title><link>https://devzone.nordicsemi.com/thread/210535?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 19:15:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1abe1853-7d64-4d0b-aab4-3f57c5f2198f</guid><dc:creator>Thomas-Brilliant</dc:creator><description>&lt;p&gt;Did you make any changes to your bootloader? This line should make sure that all new packets aren&amp;#39;t marked as missing&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/nRF5-SDK-for-Mesh/blob/08c60f6d8766bdb83bb108ec3fbd24d758689235/mesh/bootloader/src/dfu_transfer_mesh.c#L193"&gt;github.com/.../dfu_transfer_mesh.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bug in nRF Mesh Bootloader?</title><link>https://devzone.nordicsemi.com/thread/210534?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 19:14:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36d90776-0dad-4154-b36d-2c6877af9b55</guid><dc:creator>Thomas-Brilliant</dc:creator><description>&lt;p&gt;As an update, I made the change in my bootloader and now it&amp;#39;s able to correctly acknowledge missing packets that are behind by 32 segments or more. I believe the fix works as expected and I haven&amp;#39;t noticed any side effects.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bug in nRF Mesh Bootloader?</title><link>https://devzone.nordicsemi.com/thread/210509?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 17:01:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cd8b3c8-bb3d-4f32-80b0-d800721ef8b6</guid><dc:creator>Geom</dc:creator><description>&lt;p&gt;I have similar issue with 64th DFU segment&lt;br /&gt;But PACKET_LOSS occurs each time in the same place&lt;br /&gt;Log snippet is added below&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00:02:31 nrf_mesh_dfu.c:325 Write complete (0x8C3D0, 16)
00:02:31 nrf_mesh_dfu.c:335 Flash idle
00:02:33 nrf_mesh_dfu.c:457 RADIO RX! Segment 63 of 8362
00:02:33 nrf_mesh_dfu.c:532 RADIO TX! SLOT 5, count 3, interval: exponential, handle: FFFC
00:02:33 nrf_mesh_dfu.c:325 Write complete (0x8C3E0, 16)
00:02:33 nrf_mesh_dfu.c:335 Flash idle
00:02:35 nrf_mesh_dfu.c:457 RADIO RX! Segment 64 of 8362
00:02:35 nrf_mesh_dfu.c:532 RADIO TX! SLOT 6, count 3, interval: exponential, handle: FFFC
00:02:35 nrf_mesh_dfu.c:325 Write complete (0x8C3F0, 16)
00:02:35 nrf_mesh_dfu.c:335 Flash idle
00:02:37 nrf_mesh_dfu.c:385 Abort event. Reason: 0x3
00:02:37 sf_dfu.c:132 DFU event, type: 10
00:02:37 sf_dfu.c:180 DFU: Firmware downloading is finished, Role: TARGET, Reason: ERR_PACKET_LOSS
00:03:00 sf_utils.c:91 Uptime: 00:03:00
00:04:00 sf_utils.c:91 Uptime: 00:04:00
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bug in nRF Mesh Bootloader?</title><link>https://devzone.nordicsemi.com/thread/209932?ContentTypeID=1</link><pubDate>Mon, 16 Sep 2019 19:01:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd5ac1ee-3fba-45a8-b93a-02607f2bc03a</guid><dc:creator>Mark Q</dc:creator><description>&lt;p&gt;This is the line Thomas is referring to:&lt;br /&gt;&lt;a href="https://github.com/NordicSemiconductor/nRF5-SDK-for-Mesh/blob/08c60f6d8766bdb83bb108ec3fbd24d758689235/mesh/bootloader/src/dfu_transfer_mesh.c#L199"&gt;https://github.com/NordicSemiconductor/nRF5-SDK-for-Mesh/blob/08c60f6d8766bdb83bb108ec3fbd24d758689235/mesh/bootloader/src/dfu_transfer_mesh.c#L199&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>