<?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>Addressing DFU Fragility</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107119/addressing-dfu-fragility</link><description>I started from this example and was able to get DFU to work on my device: https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu (which is helpful, but unfortunately already outdated with the latest SDK as some of those</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Jan 2024 18:59:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107119/addressing-dfu-fragility" /><item><title>RE: Addressing DFU Fragility</title><link>https://devzone.nordicsemi.com/thread/463861?ContentTypeID=1</link><pubDate>Thu, 11 Jan 2024 18:59:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0536737c-117d-4d9d-807d-d18b5793db0a</guid><dc:creator>underpickled</dc:creator><description>&lt;p&gt;I believe it is working. I think the &amp;quot;fragility&amp;quot; I experienced was related to the different apps and settings sometimes working and sometimes not working. It seems to work reliably with a defined set of parameters. I appreciate the support!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Addressing DFU Fragility</title><link>https://devzone.nordicsemi.com/thread/463670?ContentTypeID=1</link><pubDate>Thu, 11 Jan 2024 08:23:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45942ca8-5f5e-454f-8d5e-bdeea989ecba</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Good to know about the inconsistency with the test, it is noted.&lt;/p&gt;
&lt;p&gt;Does this mean that your DFU procedure works now, or are there still issues?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Addressing DFU Fragility</title><link>https://devzone.nordicsemi.com/thread/463636?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2024 19:45:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55c65d23-101c-4243-ae88-0a9e683258a4</guid><dc:creator>underpickled</dc:creator><description>&lt;p&gt;You&amp;#39;re onto something here, but there&amp;#39;s some inconsistency with my testing.&lt;br /&gt;In NRF Connect, DFU works if I set buffers to 2, but I can still DFU from NRF Device Manager with buffers set to 8.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Addressing DFU Fragility</title><link>https://devzone.nordicsemi.com/thread/463480?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2024 09:22:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8cafec1-9298-48ae-8e95-58a52c1429f9</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;From our developers:&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;so, a couple of things:&lt;/p&gt;
&lt;p&gt;nRF Connect Device Manager is currently &amp;quot;ahead&amp;quot; in terms of the underlying DFU library, has a more updated version. But I think that might not be the issue here.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d ask the customer to go to the top of the Logs screen, and enable all log levels. They should see a lot of blue lines, which are the Data bytes being sent back and forth. I think the DFU fails because the nRF Connect app is probably sending too much data too fast to the firmware device, and the firmware device doesn&amp;#39;t have multiple buffers / reassembly enabled. This can be adjusted in the nRF Connect app just bellow the Start button, there are some settings, and setting number of buffers to 2 might help. Also enabling reassembly / multiple buffers on the firmware, flashing it and then attempting to do DFU should work.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;There&amp;#39;s some documentation regarding the McuMgr DFU Parameters here &lt;a title="https://github.com/nordicsemiconductor/ios-nrf-connect-device-manager" href="https://github.com/NordicSemiconductor/IOS-nRF-Connect-Device-Manager" rel="noopener noreferrer" target="_blank"&gt;https://github.com/NordicSemiconductor/IOS-nRF-Connect-Device-Manager&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Addressing DFU Fragility</title><link>https://devzone.nordicsemi.com/thread/463434?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 21:05:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14ed3f16-33d1-40c6-8bb3-c63ebee245cf</guid><dc:creator>underpickled</dc:creator><description>&lt;p&gt;NRF Connect for Mobile: 2.7.2 (51)&lt;/p&gt;
&lt;p&gt;Device manager: 1.5.3 (9)&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Addressing DFU Fragility</title><link>https://devzone.nordicsemi.com/thread/463274?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 07:43:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8fa4a6a-e25f-46a7-a2b8-75106cd70eec</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Good find. &lt;br /&gt;Can you list which versions of the apps you have?&lt;br /&gt;Then I will report it to our app developers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Addressing DFU Fragility</title><link>https://devzone.nordicsemi.com/thread/463231?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2024 19:38:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cec709af-f4ec-4aec-8d89-fdda546423f7</guid><dc:creator>underpickled</dc:creator><description>&lt;p&gt;Hi Sigurd, I think this is an issue with the NRF Connect app for Mobile. I was able to DFU with the NRF Device Manager app. Notably, when I tried to DFU&amp;nbsp; on the device manager app without any configuration it also failed, but once I read the boot manager info and selected the appropriate slot, I had no issues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Addressing DFU Fragility</title><link>https://devzone.nordicsemi.com/thread/463127?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2024 12:13:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76bdef64-f5f4-4d9e-b176-a13d69483a5d</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;DFU will be ignored if the firmware hash is the same, so I suspect that it just looks like it works, but nothing is happening.&lt;/p&gt;
&lt;p&gt;First, it would be nice to see if it is a firmware error, or an error of the mobile app. Can you test a know sample with the mobile app and see if you are able to do FOTA then? Try the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/subsys/mgmt/mcumgr/smp_svr/README.html"&gt;SMP Server sample&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Addressing DFU Fragility</title><link>https://devzone.nordicsemi.com/thread/462985?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 20:16:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1775d318-20c7-4d3d-a19c-bfe677dbbd4b</guid><dc:creator>underpickled</dc:creator><description>&lt;p&gt;After some more testing I&amp;#39;ve realized it only appears to work when it&amp;#39;s the exact same firmware already on it. If I build a new image with a very slight change, I encounter the error above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Addressing DFU Fragility</title><link>https://devzone.nordicsemi.com/thread/462875?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 12:29:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c7c8167-bf2a-4be0-9581-f55eead25d6a</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I will look into this and return with more information at the start of next week.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>