<?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 stuck at &amp;#39;Sending Enter Bootloader (Op Code = 1)&amp;#39; on random occasions</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38321/dfu-stuck-at-sending-enter-bootloader-op-code-1-on-random-occasions</link><description>Hi 
 I am integrating your Android DFU library with our mobile app to do FOTA to our Nordic device nRF52832 . We are using SDK 14.2 and doing the firmware update using zip file. 
 In 1 out of 7 times, firmware update gets stuck just after sending ` Sending</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Sep 2018 15:12:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38321/dfu-stuck-at-sending-enter-bootloader-op-code-1-on-random-occasions" /><item><title>RE: DFU stuck at 'Sending Enter Bootloader (Op Code = 1)' on random occasions</title><link>https://devzone.nordicsemi.com/thread/148250?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 15:12:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c9b4f4a-2a55-4252-93fe-4e12ed6bb058</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Ok thanks.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll wait for the logs then.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU stuck at 'Sending Enter Bootloader (Op Code = 1)' on random occasions</title><link>https://devzone.nordicsemi.com/thread/148114?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 02:28:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:225a9dea-cefd-43df-a980-8557a802b8af</guid><dc:creator>Jagan</dc:creator><description>&lt;p&gt;Hi Martin&lt;/p&gt;
&lt;p&gt;Thanks for getting back. It is roughly (~) 1 out of 7 times. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f603.svg" title="Smiley"&gt;&amp;#x1f603;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Bootloader code is mostly Nordic provided code. Application is custom.&lt;/p&gt;
&lt;p&gt;I will try to collect the logs and get back to you in a few days.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Jagan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU stuck at 'Sending Enter Bootloader (Op Code = 1)' on random occasions</title><link>https://devzone.nordicsemi.com/thread/148005?ContentTypeID=1</link><pubDate>Mon, 10 Sep 2018 11:56:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33ee2423-2f6f-4ce1-b4f5-4f043bf28f71</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you get any logging information out of the nRF52 device?&lt;/p&gt;
&lt;p&gt;Are you using a custom bootloader and application? Is this reproducible with the examples in the SDK?&lt;/p&gt;
&lt;p&gt;Can you provide a sniffer log? If you have an extra Nordic dev kit to spare you can use our &lt;a title="nRF Tools" href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.tools/dita/tools/sniffer/sniffer_intro.html?resultof=%22%6e%72%66%22%20%22%73%6e%69%66%66%65%72%22%20"&gt;nRF Bluetooth Sniffer&lt;/a&gt;&amp;nbsp;solution. You can also use the HCI snoop log from Android:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Disable Bluetooth on the phone,&lt;/li&gt;
&lt;li&gt;Go to Settings -&amp;gt; (System-&amp;gt;) Developer Options -&amp;gt; Enable HCI log&lt;/li&gt;
&lt;li&gt;Turn on Bluetooth&lt;/li&gt;
&lt;li&gt;Perform experiment&lt;/li&gt;
&lt;li&gt;On Android 7+ (?):&lt;ol&gt;
&lt;li&gt;When the bug happened, go to Settings -&amp;gt; (System-&amp;gt;) Developer Options -&amp;gt; Take bug report&lt;/li&gt;
&lt;li&gt;Check the notification and when the bug report is done, click and send the bugreport to email.&lt;/li&gt;
&lt;li&gt;Open bugreport….zip and got to FS\data\misc\bluetooth\logs where the btsnoop_hci.log file is located.&lt;/li&gt;
&lt;li&gt;Open it in Wireshark&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;On older:&lt;ol&gt;
&lt;li&gt;Check btsnoop_hci.log file on sdcard, copy it to PC and open in Wireshark.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I was wondering about the 1/7 failure rate. That seems oddly specific. Is it every 7th time or just happening ~1 in 7 times?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>