<?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>OTA DFU speed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11877/ota-dfu-speed</link><description>Hi, 
 We are using OTA update in production and currently it takes about 40 seconds to update 70KB image. Is there a way to improve the speed? 
 Thanks!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Feb 2016 14:13:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11877/ota-dfu-speed" /><item><title>RE: OTA DFU speed</title><link>https://devzone.nordicsemi.com/thread/44990?ContentTypeID=1</link><pubDate>Tue, 16 Feb 2016 14:13:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44418092-ce7a-49b7-ae4b-d919725246f3</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I&amp;#39;m unable to reproduce your setup here. Please try to do this via MCP. You can always re-install MCP if you break the script, or better, just do a backup of the scripts that you do modify.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU speed</title><link>https://devzone.nordicsemi.com/thread/44989?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2016 16:22:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9d7fe03-f526-4c10-92f8-1ddddc2d1d43</guid><dc:creator>Sergy</dc:creator><description>&lt;p&gt;its using the right script, because if i make a mistake on purpose and break the script it doesnt work:)&lt;/p&gt;
&lt;p&gt;here is my command line:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;quot;c:\Program Files (x86)\IronPython 2.7\ipy.exe&amp;quot; main.py --file c:\Keil_v5\OTA_NOBL.zip --address f1b472ce7137
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Im wondering if the screen printout slows down the progress may be?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU speed</title><link>https://devzone.nordicsemi.com/thread/44988?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2016 16:19:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1f437ef-7055-4f24-8470-71e1556489e0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Is it possible that it&amp;#39;s not invoking the correct dfu_transport_ble.py script? Sounds like the change you did is not being applied.&lt;/p&gt;
&lt;p&gt;Can you share the command line arguments so I can try the same here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU speed</title><link>https://devzone.nordicsemi.com/thread/44987?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2016 16:15:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:415c3032-cb27-4d3e-b124-daef3e72d9d4</guid><dc:creator>Sergy</dc:creator><description>&lt;p&gt;indeed im using mcp 3.10, but i dont use application itself, just doing it from command line with python script.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU speed</title><link>https://devzone.nordicsemi.com/thread/44986?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2016 16:12:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e3e6725-cfbb-490b-bd36-2744165c08eb</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Tested the above changes and realized that the suggested connection interval will be too short when packet receipt notification is disabled (scheduling of flash store fails). It needs to be at least 20 ms on 51. However, by disabling the packet receipt notification I was able to upload s110 v.8.0.0 (87KB) in ~15 seconds.&lt;/p&gt;
&lt;p&gt;Are you using MCP v.3.10? Also, did you try to restart MCP after you did the change?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU speed</title><link>https://devzone.nordicsemi.com/thread/44985?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2016 15:15:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:387326bd-2c3c-4031-a827-7d24107722e6</guid><dc:creator>Sergy</dc:creator><description>&lt;p&gt;doesnt seem to help im afraid...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU speed</title><link>https://devzone.nordicsemi.com/thread/44984?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2016 10:35:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be79f2b6-75a8-44d2-80cf-1685bfe97e43</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Assuming master control panel version 3.10.0 you can do the following changes to the DFU script to increase overall throughput:&lt;/p&gt;
&lt;p&gt;Step 1. Reduce connection interval:&lt;/p&gt;
&lt;p&gt;Open &amp;quot;\Master Control Panel\3.10.0.14\lib\dfu\master_emulator.py&amp;quot;, go to line ~237 and replace the following code snippet:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;        conn_params.ConnectionIntervalMs = 15
        if self.master.Connect(self.myPeerDevice.DeviceAddress):
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;with&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;        conn_params.ConnectionIntervalMs = 11.25
        if self.master.Connect(self.myPeerDevice.DeviceAddress,conn_params):
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Step 2. Disable packet receipt notification:&lt;/p&gt;
&lt;p&gt;Open &amp;quot;\Master Control Panel\3.10.0.14\lib\nordicsemi\dfu\dfu_transport_ble.py&amp;quot;, go to line ~109 and change the packet number from &amp;#39;10&amp;#39; to &amp;#39;0&amp;#39;.&lt;/p&gt;
&lt;p&gt;If I remember correctly this should take about 10-15 seconds to upload the image with the above changes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU speed</title><link>https://devzone.nordicsemi.com/thread/44983?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2016 10:10:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c233963a-8bcb-4e6e-9c87-dc63336537bc</guid><dc:creator>Sergy</dc:creator><description>&lt;p&gt;yup, using PC with BT dongle&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU speed</title><link>https://devzone.nordicsemi.com/thread/44982?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2016 08:28:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5346fd5a-b70e-4ba4-8649-042946ef57b8</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Are you using the PC version of master control panel to do the upload?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>