<?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>Fail to DFU OTA by using nrfutil with nRF52840 dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89369/fail-to-dfu-ota-by-using-nrfutil-with-nrf52840-dongle</link><description>Hi, 
 
 I am trying to DFU OTA by using nrfutil with nRF52840 dongle. 
 
 I have already write nRF connect desktop Bluetooth into dongle, but when I use nrfutil to do DFU OTA it shows below message. 
 
 C:\Users\22111253\Desktop\DFU OTA&amp;gt;nrfutil dfu ble</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Jun 2022 16:23:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89369/fail-to-dfu-ota-by-using-nrfutil-with-nrf52840-dongle" /><item><title>RE: Fail to DFU OTA by using nrfutil with nRF52840 dongle</title><link>https://devzone.nordicsemi.com/thread/374393?ContentTypeID=1</link><pubDate>Mon, 27 Jun 2022 16:23:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4fb36c4-f3b0-49d1-9011-8e8e60a50d25</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The latest nrfutil is tested wtih Pytnon 3.8, so I recommend you use that (you can normally&amp;nbsp; have parallell installs of python2 and python3, so you can still keep python2 if you need that for some old stuff).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fail to DFU OTA by using nrfutil with nRF52840 dongle</title><link>https://devzone.nordicsemi.com/thread/374294?ContentTypeID=1</link><pubDate>Mon, 27 Jun 2022 08:51:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:486a8a1f-cf51-4936-8976-147c0aab3814</guid><dc:creator>Lyle Chen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It seems work when I delete -f at the end, and dongle connect to my DUT, but still can&amp;#39;t do DFU.&lt;/p&gt;
&lt;p&gt;Here is the message&lt;/p&gt;
&lt;p&gt;C:\Users\22111253\Desktop\DFU OTA&amp;gt;nrfutil dfu ble -ic NRF52 -pkg ota_B_04_0.064.zip -p COM13 -a DE063B974CD8&lt;br /&gt; [------------------------------------] 0%&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt; File &amp;quot;pc_ble_driver_py\ble_adapter.py&amp;quot;, line 220, in att_mtu_exchange&lt;br /&gt; File &amp;quot;pc_ble_driver_py\ble_driver.py&amp;quot;, line 106, in wrapper&lt;br /&gt;pc_ble_driver_py.exceptions.NordicSemiException: Failed to ble_gattc_exchange_mtu_req. Error code: NRF_ERROR_INVALID_PARAM&lt;/p&gt;
&lt;p&gt;The above exception was the direct cause of the following exception:&lt;/p&gt;
&lt;p&gt;Traceback (most recent call last):&lt;br /&gt; File &amp;quot;nordicsemi\__main__.py&amp;quot;, line 1545, in &amp;lt;module&amp;gt;&lt;br /&gt; File &amp;quot;click\core.py&amp;quot;, line 1137, in __call__&lt;br /&gt; File &amp;quot;click\core.py&amp;quot;, line 1062, in main&lt;br /&gt; File &amp;quot;click\core.py&amp;quot;, line 1668, in invoke&lt;br /&gt; File &amp;quot;click\core.py&amp;quot;, line 1668, in invoke&lt;br /&gt; File &amp;quot;click\core.py&amp;quot;, line 1404, in invoke&lt;br /&gt; File &amp;quot;click\core.py&amp;quot;, line 763, in invoke&lt;br /&gt; File &amp;quot;nordicsemi\__main__.py&amp;quot;, line 1205, in ble&lt;br /&gt; File &amp;quot;nordicsemi\dfu\dfu.py&amp;quot;, line 127, in dfu_send_images&lt;br /&gt; File &amp;quot;nordicsemi\dfu\dfu.py&amp;quot;, line 88, in _dfu_send_image&lt;br /&gt; File &amp;quot;nordicsemi\dfu\dfu_transport_ble.py&amp;quot;, line 475, in open&lt;br /&gt; File &amp;quot;nordicsemi\dfu\dfu_transport_ble.py&amp;quot;, line 173, in connect&lt;br /&gt; File &amp;quot;pc_ble_driver_py\ble_adapter.py&amp;quot;, line 222, in att_mtu_exchange&lt;br /&gt;pc_ble_driver_py.exceptions.NordicSemiException: MTU exchange request failed. Common causes are: missing att_mtu setting in ble_cfg_set, different config tags used in ble_cfg_set and connect.&lt;br /&gt;[7268] Failed to execute script &amp;#39;__main__&amp;#39; due to unhandled exception!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Should I need to remove nrfutil and reinstall it ? I am still using python2.7,thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fail to DFU OTA by using nrfutil with nRF52840 dongle</title><link>https://devzone.nordicsemi.com/thread/374290?ContentTypeID=1</link><pubDate>Mon, 27 Jun 2022 08:26:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85b1c0f5-35c2-499e-9091-621a2df21add</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The error is because you are using &amp;quot;&lt;code&gt;-f&lt;/code&gt;&amp;quot; but for some reason the&amp;nbsp;connectivity firmware is not found. That should be located where you have your python packages (on my computer it is under &amp;quot;&lt;code&gt;C:\Users\eith\AppData\Local\Programs\Python\Python38\Lib\site-packages\pc_ble_driver_py\hex\sd_api_v5&lt;/code&gt;&amp;quot;). I also notice a strange version number, as the latest is 4.1.4. Perhaps you can try updating pc-ble-driver-py using &amp;quot;pip install -U pc-ble-driver-py&amp;quot; and see if that resolves the issue?&lt;/p&gt;
&lt;p&gt;If not, it should also work to simply download&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3034.connectivity_5F00_4.1.4_5F00_usb_5F00_with_5F00_s132_5F00_5.1.0.hex"&gt;devzone.nordicsemi.com/.../3034.connectivity_5F00_4.1.4_5F00_usb_5F00_with_5F00_s132_5F00_5.1.0.hex&lt;/a&gt; and program the dongle with it&amp;nbsp;using &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nc_programmer%2FUG%2Fnrf_connect_programmer%2Fncp_introduction.html"&gt;nRF Connect Programmer&lt;/a&gt;. Then you do not need the &lt;code&gt;-f&lt;/code&gt; for the nrfutil command as the dongle already has the correct firmware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>