<?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>nRF Connect DFU speed difference Windows vs Mac OS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71207/nrf-connect-dfu-speed-difference-windows-vs-mac-os</link><description>Hi, 
 
 We are using the nRF Connect for Desktop app to update production devices to the latest FW version of our application. I (on Windows) am normally the only person in my organization to do this, but yesterday my colleague (on Mac) helped out because</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Feb 2021 11:29:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71207/nrf-connect-dfu-speed-difference-windows-vs-mac-os" /><item><title>RE: nRF Connect DFU speed difference Windows vs Mac OS</title><link>https://devzone.nordicsemi.com/thread/293069?ContentTypeID=1</link><pubDate>Fri, 05 Feb 2021 11:29:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c8225b8-55dc-4df7-91af-895bb96c7a24</guid><dc:creator>WoutEcto</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;Unfortunately, your picture is not visible&amp;nbsp;to me, but I&amp;#39;m also on J-Link v6.88a.&lt;/p&gt;
&lt;p&gt;I have tried to&amp;nbsp;follow your steps but the throughput stays the same. Small note, after updating the J-Link firmware version (from &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Kits/nRF52-DK/Download#infotabs"&gt;here&lt;/a&gt;), the nRF52 DK again shows up as MSD. So I guess disabling the MSD should come after updating the firmware? Or did you not mean to follow those steps sequentially?&lt;/p&gt;
&lt;p&gt;In any case, it seems that I&amp;#39;m stuck with slow drivers/hardware then.&amp;nbsp;Since&amp;nbsp;this was&amp;nbsp;not really an issue but more a question to try and understand what&amp;#39;s going on, I&amp;#39;ll close my question and mark your response as the answer.&lt;/p&gt;
&lt;p&gt;Thank you for helping me!&lt;/p&gt;
&lt;p&gt;Best, Wout&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect DFU speed difference Windows vs Mac OS</title><link>https://devzone.nordicsemi.com/thread/293032?ContentTypeID=1</link><pubDate>Fri, 05 Feb 2021 08:20:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82a1a13f-b452-46ac-91d4-40f9cbc3e43f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Wout,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The throughput in the sniffer logs looks the same for me.&amp;nbsp;&lt;/p&gt;
[quote user="WoutEcto"]is there any known reason why the USB communication or even the&amp;nbsp;PC itself may be the bottleneck in performing the DFU?[/quote]
&lt;p&gt;The USB communication could be the reason because the protocol in connectivity is very verbose and the drivers at least on Windows are known to be slow. The protocol used between the application and connectivity firmware is H5. In H5 every packet sent is acknowledged.&lt;/p&gt;
[quote user="WoutEcto"]Could it be that there is some core library outside of the nRF Connect installed code that has changed or is outdated on my system that may be responsible for slowing things down?[/quote]
&lt;p&gt;You could&amp;nbsp;try the following, but I don&amp;#39;t think that will improve a lot.&amp;nbsp;I use J-link v6.88a and disable the mass storage device functionality to test SDK v14 BLE DFU update hr app to nRF52DK. I see the throughput is around 0.28kB/s in the ble app.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.4.0/zephyr/guides/tools/nordic_segger.html#disabling-the-mass-storage-device-functionality"&gt;disable the mass storage device functionality&lt;/a&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;update J-link firmware version&lt;/li&gt;
&lt;li&gt;update the&amp;nbsp;JLink CDC driver, check the driver as&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-components-multipleuploadfilemanager/bfa1e974_2D00_74c9_2D00_4994_2D00_86f5_2D00_2231abf6dfce-77782-complete/pastedimage1612444026789v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect DFU speed difference Windows vs Mac OS</title><link>https://devzone.nordicsemi.com/thread/292841?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2021 09:15:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f2993f5-4f87-45ec-b30a-15da2a9932fb</guid><dc:creator>WoutEcto</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;We are indeed using a pretty old SDK, SDKV14.0.0. I&amp;#39;m aware that there have been some major improvements with later SDK versions that would speed up the process, but it&amp;#39;s a piece of legacy code that we would like to keep as it is for the moment.&lt;/p&gt;
&lt;p&gt;My main trigger for asking this question was why there&amp;#39;s such a big difference between using different computers when performing the DFU. I have asked another colleague who has a Windows system and he was able to reach 1.6kB/s. Still not as high as the 2.2kB/s that the (single) Mac system could achieve, but at least already an order of magnitude higher than the throughput I can achieve.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Since we are using the exact same nRF Connect version, bootloader version, application version, nRF52DK version and softdevice version, is there any known reason why the USB communication or even the&amp;nbsp;PC itself may be the bottleneck in performing the DFU?&lt;/p&gt;
&lt;p&gt;I have a fair bit of software development tools installed on my system, especially compared to my other colleagues who have tried to perform the DFU as well. Could it be that there is some core library outside of the nRF Connect installed code that has changed or is outdated on my system that may be responsible for slowing things down?&lt;/p&gt;
&lt;p&gt;The throughput is similar after performing a restart, so it doesn&amp;#39;t seem to be a driver issue.&lt;/p&gt;
&lt;p&gt;Best, Wout&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect DFU speed difference Windows vs Mac OS</title><link>https://devzone.nordicsemi.com/thread/292834?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2021 08:55:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9529466b-92fc-4995-82c9-0933da06695b</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Wout,&amp;nbsp;&lt;/p&gt;
[quote user=""]I&amp;#39;m normally getting only around 0.25kB/s during the DFU (which I already found was very low), I noticed that my colleague got a throughput of around 2.2kB/s. Is there a (known) difference&amp;nbsp;in&amp;nbsp;the throughput between Windows and Mac?[/quote]
&lt;p&gt;Which SDK you are using?&lt;/p&gt;
&lt;p&gt;I use BLE bootloader in SDK 17.0.2 and&amp;nbsp;&lt;span&gt;nRF Connect for Desktop app on&lt;/span&gt; windows to update with hrs application. I see the average throughput is around 2.4 kB/s.&lt;/p&gt;
&lt;p&gt;&lt;img height="133" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1612428780734v1.png" width="367" alt=" " /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect DFU speed difference Windows vs Mac OS</title><link>https://devzone.nordicsemi.com/thread/292636?ContentTypeID=1</link><pubDate>Wed, 03 Feb 2021 10:04:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66158dc0-c6a7-4dd3-8046-28c1017ed938</guid><dc:creator>WoutEcto</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;Thank you for your quick response. I have only been able to get the sniffer log today, you can find both attached. I had a very quick look&amp;nbsp;through both of them side by side but I couldn&amp;#39;t find an immediate reason.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/windows_5F00_nrf_5F00_connect_5F00_dfu.pcapng"&gt;devzone.nordicsemi.com/.../windows_5F00_nrf_5F00_connect_5F00_dfu.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/mac_5F00_nrf_5F00_connect_5F00_dfu.pcapng"&gt;devzone.nordicsemi.com/.../mac_5F00_nrf_5F00_connect_5F00_dfu.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best, Wout&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect DFU speed difference Windows vs Mac OS</title><link>https://devzone.nordicsemi.com/thread/292466?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 12:35:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95cbb3d8-af8a-4469-bc31-f75772f4d14f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Wout,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I need the&amp;nbsp;&lt;span&gt;Sniffer log to check. Please kindly provide the sniffer log if it is possible.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>