<?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>Firmware upgrade failed issue over BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127057/firmware-upgrade-failed-issue-over-ble</link><description>Hi , 
 I’m working on an nRF5340 using nRF Connect SDK v2.7.99-cs2 . BLE security is configured as Just Works (Security Mode 1, Level 2) on the peripheral . 
 I’m attempting firmware upgrade over BLE , but the upgrade is failing due to what looks like</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Feb 2026 06:41:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127057/firmware-upgrade-failed-issue-over-ble" /><item><title>RE: Firmware upgrade failed issue over BLE</title><link>https://devzone.nordicsemi.com/thread/562112?ContentTypeID=1</link><pubDate>Thu, 26 Feb 2026 06:41:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2c3ecc4-8607-439c-975d-c6e617001662</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for confirming that this is a proprietary DFU protocol. Since I do not know anything about your implementation it is difficult to speculate about what the issue might be. But I can say that Bluetooth packets do not arrive out of order, the way bluetooth works prevents that. The stack thread priorities are not meant to be changed.&lt;span&gt;&amp;nbsp;&lt;/span&gt;If you want to validate what is being received and sent by the link layer, you can capture a HCI packet trace from the nRF5340 using&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nrfutil/page/nrfutil-ble-sniffer/guides/hci_logger.html"&gt;https://docs.nordicsemi.com/bundle/nrfutil/page/nrfutil-ble-sniffer/guides/hci_logger.html&lt;/a&gt;&amp;nbsp;or sniff the packets on air.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware upgrade failed issue over BLE</title><link>https://devzone.nordicsemi.com/thread/562107?ContentTypeID=1</link><pubDate>Thu, 26 Feb 2026 05:52:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:029561fc-d14f-4503-b960-85ad80b3a45f</guid><dc:creator>Mansi Singh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;As I have mentioned already FUS stands for Firmware Upgrade Services and about DFU that is in-house one. What exactly informations you want please let me know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware upgrade failed issue over BLE</title><link>https://devzone.nordicsemi.com/thread/562076?ContentTypeID=1</link><pubDate>Wed, 25 Feb 2026 15:56:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46c097ca-dcd1-4afe-9a27-82142996edd4</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;&lt;span&gt;I don&amp;#39;t know what &amp;quot;FUS&amp;quot; refers to or which DFU protocol you are using. I was hoping the logs might provide additional context.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware upgrade failed issue over BLE</title><link>https://devzone.nordicsemi.com/thread/562072?ContentTypeID=1</link><pubDate>Wed, 25 Feb 2026 15:01:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2445d2d-8c7c-4dba-9810-e46e24d68639</guid><dc:creator>Mansi Singh</dc:creator><description>&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;FUS is being used for firmware upgrade services.&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Debug logs have been enabled on both the device and the central (peer) device.&lt;/strong&gt;&lt;br /&gt; However, the sequence of logs captured on both sides does not match.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Device-side debug log sequence:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Response = 1 (indicating start of frame)&lt;/li&gt;
&lt;li&gt;Data&lt;/li&gt;
&lt;li&gt;Response = 0 (indicating end of frame)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Central (peer device) debug log sequence:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Response = 1&lt;/li&gt;
&lt;li&gt;Response = 0&lt;/li&gt;
&lt;li&gt;Data&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;BLE configuration settings have been kept unchanged.&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware upgrade failed issue over BLE</title><link>https://devzone.nordicsemi.com/thread/561445?ContentTypeID=1</link><pubDate>Wed, 18 Feb 2026 08:56:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66586144-dccd-4560-9630-52327c393bc6</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]I’m attempting &lt;strong&gt;firmware upgrade over BLE&lt;/strong&gt;, but the upgrade is failing due to what looks like &lt;strong&gt;message ordering&amp;nbsp;&lt;/strong&gt;between the peripheral and the central:[/quote]
&lt;p&gt;What messages are you referring to in this context? Are you using a proprietary DFU protocol, or &lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.2.1/page/zephyr/services/device_mgmt/smp_protocol.html"&gt;SMP&lt;/a&gt;&amp;nbsp;(supported by our nRF connect and nRF devices manager apps)?&lt;/p&gt;
[quote user=""]&lt;strong&gt;On the central (peer device logs):&lt;/strong&gt;&lt;br /&gt; The observed order is &lt;strong&gt;Response = 1&lt;/strong&gt; → &lt;strong&gt;Response = 0&lt;/strong&gt; → &lt;strong&gt;Data&lt;/strong&gt;, which arrives &lt;strong&gt;out of order&lt;/strong&gt;, causing the FUS to fail.[/quote]
&lt;p&gt;Are you able to provide&amp;nbsp;actual logs? What&amp;nbsp;does FUS stand for?&lt;/p&gt;
[quote user=""]I also suspected thread scheduling. Although BLE thread priorities aren’t directly configurable, I reduced other thread priorities higher than BLE and keep the following as it is:[/quote]
&lt;p&gt;I recommend you keep these configs&amp;nbsp;as is. It is not likely to be related to the DFU issue.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>