<?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>DFU from iPhone SE fails</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70694/dfu-from-iphone-se-fails</link><description>Our application is based on nRF5 SDK 17.0.2, 52832, and buttonless secure DFU without bonds. It works fine with the windows nrfconnect app but when testing various phones we get problems: iPhone SE: always fails OnePlus Nord: fails sometimes iPad Pro</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Jan 2021 11:23:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70694/dfu-from-iphone-se-fails" /><item><title>RE: DFU from iPhone SE fails</title><link>https://devzone.nordicsemi.com/thread/290468?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 11:23:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63421f56-bc2c-45eb-9a1b-9aac963589a0</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Good to hear. I cannot see any reason why you should see this issue again with PRN set to 1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU from iPhone SE fails</title><link>https://devzone.nordicsemi.com/thread/290342?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 16:52:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bfdd7f4-db3d-4cd3-815c-0047b582eb33</guid><dc:creator>sjerlhagen</dc:creator><description>&lt;p&gt;Yes, it is a 2020 iPhone SE with iOS 14.2, nrfconnect is version 2.4.6 build 10.&lt;/p&gt;
&lt;p&gt;Reducing PRN to 1 in nrfconnect helps, is this a reliable solution ? PRN=2 did not work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU from iPhone SE fails</title><link>https://devzone.nordicsemi.com/thread/290318?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 15:16:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1690cb3-a7c6-4f81-b416-801e2e70998f</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="sjerlhagen"]So far we are using the ios nrfconnect app. [/quote]
&lt;p&gt;I see. Then there is no way you can tweek this.&lt;/p&gt;
[quote user="sjerlhagen"]Do you mean NRF_SDH_BLE_GATT_MAX_MTU_SIZE 23 in the bootloader ?[/quote]
&lt;p&gt;You can do it in the bootloader, yes. And it would be a good test to see if it works. But my original thought was to do it in your app, assuming it was a custom app (which I now understand is not the case).&lt;/p&gt;
[quote user="sjerlhagen"]What is PRN ?[/quote]
&lt;p&gt;&amp;nbsp;This is Packet Receipt Notification, which is a concept in the DFU protocol. It can be used as a form of flow control mechanism.&lt;/p&gt;
&lt;p&gt;I assume this is the 2020 version of the iPhone SE, right? Which version of iOS and nRF Connect are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU from iPhone SE fails</title><link>https://devzone.nordicsemi.com/thread/290304?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 14:37:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29d23f6d-3e5f-425c-b8b1-9ee8d7e0026a</guid><dc:creator>sjerlhagen</dc:creator><description>&lt;p&gt;So far we are using the ios nrfconnect app. The flash write requests are queued and use separate write buffers, so it shouldnt be a problem if some writes take a long time, but you are right, this is the problem.&lt;/p&gt;
&lt;p&gt;Do you mean NRF_SDH_BLE_GATT_MAX_MTU_SIZE 23 in the bootloader ?&lt;/p&gt;
&lt;p&gt;What is PRN ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU from iPhone SE fails</title><link>https://devzone.nordicsemi.com/thread/290238?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 12:32:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e35aef78-cd51-4baa-8fed-7424b848a3e0</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you using a custom app to do the DFU? And are you using the&amp;nbsp;IOS-Pods-DFU-Library library?&lt;/p&gt;
&lt;p&gt;We have seen such issues from time to time, and often it is if data arrives too fast compared to the time it takes to write to flash. Typically this can be solved by reducing the BLE packet size (say down to 23) and/or using PRN with a lower number.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>