<?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>BLE DFU NCS 1.3.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64498/ble-dfu-ncs-1-3-0</link><description>Hi, I have a problem with DFU upgrade over BLE on nRF52840dk. For some reason,the upload speed is quite slow ~0.4kB/s. For this test,I used SMP server app and did the compilation with the and: 
 west build -b nrf52840dk_nrf52840 -- -DOVERLAY_CONFIG=overlay</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Aug 2020 07:55:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64498/ble-dfu-ncs-1-3-0" /><item><title>RE: BLE DFU NCS 1.3.0</title><link>https://devzone.nordicsemi.com/thread/264173?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2020 07:55:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f633c795-819a-40d3-a914-8f43aaab84d1</guid><dc:creator>Vojislav</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;I found a new mobile device to test DFU with, and now I can tell you, that was the root of my problems. Now when doing DFU I get up to 2 kB/s which is great. It also works great in my application where I implemented the smp server.&lt;br /&gt;The phone I tried it with is Mi Note 7 with the latest nRF Connect application, and for some reason, it did not work well on Huawei P20 with the latest nRF Connect application.&lt;br /&gt;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1597218895111v2.jpeg" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Thank you for all the help!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Vojislav.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU NCS 1.3.0</title><link>https://devzone.nordicsemi.com/thread/264059?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 12:49:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b195b733-f586-4504-8958-bee3dff5de5d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I understand. I did the same test as you, using NCS 1.3.0 (which includes zephyr on&amp;nbsp;bbd71e23a2), using the&amp;nbsp;SMP server app. As mentioned I get significantly different speeds with different centrals, but I have not got as low as 0.4 kB/s.&lt;/p&gt;
&lt;p&gt;I first programmed MCUboot (&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3929453744a24020b5d26ab360b77183/mcuboot.hex"&gt;devzone.nordicsemi.com/.../mcuboot.hex&lt;/a&gt;) and the SMP server (&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3929453744a24020b5d26ab360b77183/smp_5F00_svr_5F00_signed.hex"&gt;devzone.nordicsemi.com/.../smp_5F00_svr_5F00_signed.hex&lt;/a&gt;), and then uploaded hello world (&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3929453744a24020b5d26ab360b77183/app_5F00_update.bin"&gt;devzone.nordicsemi.com/.../app_5F00_update.bin&lt;/a&gt;) using the same nRF Connect for Android as you, version 4.24.3.&lt;/p&gt;
&lt;p&gt;Have you had a chance to test with other phones?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU NCS 1.3.0</title><link>https://devzone.nordicsemi.com/thread/264009?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 10:55:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84783fe4-1747-4727-a1bf-ba48ffcd92cd</guid><dc:creator>Vojislav</dc:creator><description>&lt;p&gt;Still have a problem, and my test setup is:&lt;br /&gt;* I have NCS &lt;strong&gt;v1.3.0&lt;/strong&gt;&lt;br /&gt;* zephyr is on&amp;nbsp;&lt;strong&gt;bbd71e23a2&lt;/strong&gt; commit&lt;br /&gt;* I build&amp;nbsp;&lt;strong&gt;ncs/zephyr/samples/subsys/mgmt/mcumgr/smp_svr&lt;/strong&gt; application with command:&amp;nbsp;&lt;strong&gt;west build -b nrf52840dk_nrf52840 -- -DOVERLAY_CONFIG=overlay-bt.conf&lt;/strong&gt;&lt;br /&gt;* After flashing with west flash the device is visible on nRF Connect mobile app (version &lt;strong&gt;4.24.3&lt;/strong&gt;)&lt;br /&gt;* To test this I build the application&amp;nbsp;&lt;strong&gt;ncs/zephyr/samples/hello_world&lt;/strong&gt; with additional config &lt;strong&gt;CONFIG_BOOTLOADER_MCUBOOT=y&lt;/strong&gt; in prj.conf.&lt;br /&gt;* I send the app_update.bin file to my mobile device and do the DFU routine with &lt;strong&gt;Test and Confirm&lt;/strong&gt; setting.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;After this DFU starts with 0.9 kB/s and then drops to 0.4 kB/s fast. You can see the graph in the picture.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1597143411535v1.jpeg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The only thing that has changed from the previous testing is the mobile app version. Please check my routine and send me bin files for smp_svr application and your preferred DFU application so I can try it with my dev board and mobile device. If I still have a problem with speed then I suppose it is a mobile device problem.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU NCS 1.3.0</title><link>https://devzone.nordicsemi.com/thread/263975?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 09:03:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfe461fd-177b-4468-b5c4-683a54684976</guid><dc:creator>Vojislav</dc:creator><description>&lt;p&gt;Hi Einar,&lt;br /&gt;&lt;br /&gt;Thanks, I will test this again with two different phones, and get back to you with results.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Vojislav.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU NCS 1.3.0</title><link>https://devzone.nordicsemi.com/thread/263969?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 08:59:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f93e204-447f-467d-9813-5800412f1084</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Vojislav,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have problems reproducing this. I get 0.9 kB/s using the SMP server app from NCS1.3 and testing with an old Nexus 6, and almost twice that when testing with an iPhone 11. I was not able to test with a&amp;nbsp;Huawei P20, though. The mcumgr\smp_svr app has been refactored between NCS 1.2 and 1.3, but I do not see any explanation there for why you see a change in transfer speed.&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU NCS 1.3.0</title><link>https://devzone.nordicsemi.com/thread/263853?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 13:31:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e790e9a-1d76-4202-a3c5-3a5ce49ddb71</guid><dc:creator>Vojislav</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/64498/ble-dfu-ncs-1-3-0/263847"]I have not found an explanation for the difference in speed. Did you use the same Android phone and the same connection parameters in both tests?[/quote]
&lt;p&gt;I have used the same phone for both tests and I have not changed any parameters. The demo with NCS1.2.0 I tested a while ago, and demo with NCS1.3.0 I tested before writing this issue. Thing that changed is that now I am using nRF52840 instead of nrf52832 and I updated my nRF Connect application to the latest version. My testing phone is Huawei P20 (Android 10), it that matters.&amp;nbsp;&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/64498/ble-dfu-ncs-1-3-0/263847"]Regarding the nRF Connect for Dekstop screenshot that does not show the DFU icon as it does not support&amp;nbsp;NCS DFU&amp;nbsp;yet (unlike nRF Connect for Android and iOS).[/quote]
&lt;p&gt;&amp;nbsp;Oh, I did not know that then I can use mcumgr to upload the firmware upgrade over BLE from a computer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;What is the speed I should expect to get? Do you have any suggestions on what to change to make things better?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Vojislav&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU NCS 1.3.0</title><link>https://devzone.nordicsemi.com/thread/263848?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 13:21:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af0a1e4a-bb84-4dd9-9107-15569704fb92</guid><dc:creator>Vojislav</dc:creator><description>&lt;p&gt;Hi Einar,&lt;br /&gt;&lt;br /&gt;Ok, please let me know as soon as you find out.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Vojislav&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU NCS 1.3.0</title><link>https://devzone.nordicsemi.com/thread/263847?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 13:20:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a3abdd9-8c50-4efa-8b57-d0dfbfbb79d6</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have not found an explanation for the difference in speed. Did you use the same Android phone and the same connection parameters in both tests?&lt;/p&gt;
&lt;p&gt;Regarding the nRF Connect for Dekstop screenshot that does not show the DFU icon as it does not support&amp;nbsp;NCS DFU&amp;nbsp;yet (unlike nRF Connect for Android and iOS).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU NCS 1.3.0</title><link>https://devzone.nordicsemi.com/thread/263657?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2020 14:54:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f65aac1b-9bb2-442b-948d-ff8f2156702f</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Vojislav,&lt;/p&gt;
&lt;p&gt;I am sorry for the late reply. I am not sure why the transfer speed has decreased from NCS 1.2.0 to NCS 1.3.0. Let me look into it and get back to you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU NCS 1.3.0</title><link>https://devzone.nordicsemi.com/thread/263033?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2020 13:39:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cb1d5ea-0843-485f-8b19-dfac915ea577</guid><dc:creator>Vojislav</dc:creator><description>&lt;p&gt;And also when I use nRF Connect for Desktop (v3.4.1) on my Ubuntu machine with nRF52 dongle I do not have DFU icon:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1596548336377v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Vojislav&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>