<?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 disconnection in dfu mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39028/ble-disconnection-in-dfu-mode</link><description>Hi All, 
 i am working on SDK-14.2, i am facing issue with ble disconnection in dfu mode. 
 by using nrf-Connect in mobile i am upgrading the firmware, but it lost connection when dfu reaches 15-20%. after that it re-connect with device and still in dfu</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Oct 2018 05:31:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39028/ble-disconnection-in-dfu-mode" /><item><title>RE: ble disconnection in dfu mode</title><link>https://devzone.nordicsemi.com/thread/152574?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 05:31:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f88afc9-a50c-498b-903b-ce60f3a1d824</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi Prateek.&lt;br /&gt; &lt;br /&gt; As I previously said, based on the information you have provided I cannot draw any conclusion to what may cause your problem. To understand the events leading up to this issue the project must be debugged, either by you or me. The error codes you provide gives little insight to where or what has gone wrong in the code.&lt;br /&gt; &lt;br /&gt; Please debug the project or upload it in a .zip file so that I can debug it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;- Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble disconnection in dfu mode</title><link>https://devzone.nordicsemi.com/thread/152491?ContentTypeID=1</link><pubDate>Thu, 11 Oct 2018 12:24:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:948bcb1b-68b8-4ab4-abc3-b6f6dc78eb0b</guid><dc:creator>prateek</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;My hole application is based on ARMGCC and i am in last stage of the project, in that i am not able to use any other tools for the development. as i debug this in nrf Connect, i am getting&amp;nbsp; error code ( 0x85, 0x08, 0x16).&lt;/p&gt;
&lt;p&gt;please help me to resolved the error, if you have nos of solution, provide me i am trying everything asap.&lt;/p&gt;
&lt;p&gt;thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble disconnection in dfu mode</title><link>https://devzone.nordicsemi.com/thread/152488?ContentTypeID=1</link><pubDate>Thu, 11 Oct 2018 12:10:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a77430a-0f89-48d1-8725-0a092beec976</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not able to reproduce the error with the&lt;strong&gt; main.c&lt;/strong&gt; file and &lt;strong&gt;sdk_config.h&lt;/strong&gt; file you supplied. Could you please upload the project in a &lt;strong&gt;.zip&lt;/strong&gt; file or do a debug in Segger Embedded Studio as I suggested previous?&lt;/p&gt;
&lt;p&gt;- Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble disconnection in dfu mode</title><link>https://devzone.nordicsemi.com/thread/152430?ContentTypeID=1</link><pubDate>Thu, 11 Oct 2018 06:47:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73e0163a-85f2-42e9-8555-a86042849b5f</guid><dc:creator>prateek</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;I am uploading main.c and sdk_config.h, i am not using watchdog in this.&lt;/p&gt;
&lt;p&gt;i am using&lt;/p&gt;
&lt;p&gt;Moto G5S plus - Android 8.1.0 - finding multiple time disconnection issue - 0x85,0x08 error code&lt;/p&gt;
&lt;p&gt;Nexus 6P - Android 8.1.0 - Single time disconnection issue - 0x85,0x08 error code&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2425.main.c"&gt;devzone.nordicsemi.com/.../2425.main.c&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6811.sdk_5F00_config.h"&gt;devzone.nordicsemi.com/.../6811.sdk_5F00_config.h&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble disconnection in dfu mode</title><link>https://devzone.nordicsemi.com/thread/152429?ContentTypeID=1</link><pubDate>Thu, 11 Oct 2018 06:38:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ce3d02d-8fc3-4961-a21a-94afd55a3a4d</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi Prateek.&lt;/p&gt;
&lt;p&gt;I really need more information in order to be able to help you. Can you post any debug output? Output during the dfu? Are you using Watchdog? Can you please add your&lt;strong&gt; main.c&lt;/strong&gt; and &lt;strong&gt;sdk_config.h&lt;/strong&gt;?&lt;/p&gt;
&lt;p&gt;- Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble disconnection in dfu mode</title><link>https://devzone.nordicsemi.com/thread/152350?ContentTypeID=1</link><pubDate>Wed, 10 Oct 2018 11:44:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d99c5ba-c88b-4a0d-a424-e3cdfbd2caa9</guid><dc:creator>prateek</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;i can&amp;#39;t upload complete project to thread. you can ask me the section you want to look.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Prateek&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble disconnection in dfu mode</title><link>https://devzone.nordicsemi.com/thread/152216?ContentTypeID=1</link><pubDate>Tue, 09 Oct 2018 12:38:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bc4baf3-4959-48e8-8b74-f53a955837fa</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi Prateek.&lt;/p&gt;
&lt;p&gt;Could you please upload your project so I can have a look at it?&lt;/p&gt;
&lt;p&gt;- Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble disconnection in dfu mode</title><link>https://devzone.nordicsemi.com/thread/152157?ContentTypeID=1</link><pubDate>Tue, 09 Oct 2018 08:05:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c34bb25-f5cb-4976-a4f2-4237c577bf49</guid><dc:creator>prateek</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am getting&amp;nbsp; error code&lt;/p&gt;
&lt;p&gt;1-&amp;nbsp; 0x08 - Connection timeout error&lt;/p&gt;
&lt;p&gt;2- 0x85 - Gatt error&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3- 0x16 - Gatt connection terminate local host.&lt;/p&gt;
&lt;p&gt;what can i do next?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble disconnection in dfu mode</title><link>https://devzone.nordicsemi.com/thread/151942?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 05:23:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f8ef5ee-b34f-4a8d-a766-9372c638bfdd</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi Prateek.&lt;/p&gt;
&lt;p&gt;I really recommend that you install Segger Embedded Studio and use that for your development, you can get a free licence with no limitations when you are working with Nordic products, there is an introduction and install guide on our &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.gs.ses/dita/gs/developing/intro.html?cp=1_1_0"&gt;infocenter&lt;/a&gt;. There is not much more I can say without debugging your code, which I dont have. So I recommend you install Segger and debug, or attach your project in this question.&lt;/p&gt;
&lt;p&gt;- Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble disconnection in dfu mode</title><link>https://devzone.nordicsemi.com/thread/151863?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 14:37:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bd47192-3a76-4d6d-a2c6-2bf15a90dea3</guid><dc:creator>prateek</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;i am not able to debug this due to using armgcc, can you help me any other way to resolved this error.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble disconnection in dfu mode</title><link>https://devzone.nordicsemi.com/thread/151345?ContentTypeID=1</link><pubDate>Wed, 03 Oct 2018 07:35:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af83a784-08ef-4f7f-a5c6-18cf972017df</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi Prateek.&lt;/p&gt;
&lt;p&gt;Have you defined &lt;strong&gt;DEBUG&lt;/strong&gt; in the preprocessor? If not please define &lt;strong&gt;DEBUG.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;And add a break point to &lt;strong&gt;NRF_LOG_ERROR(&amp;quot;Received an error:0x%08x!&amp;quot;, error_code);&lt;/strong&gt; in the function &lt;strong&gt;void app_error_handler_bare(uint32_t error_code)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is the function found in &lt;strong&gt;main.c &lt;/strong&gt;in the &lt;strong&gt;bootloader_secure_ble&lt;/strong&gt; project:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void app_error_handler_bare(uint32_t error_code)
{
    (void)error_code;
    NRF_LOG_ERROR(&amp;quot;Received an error: 0x%08x!&amp;quot;, error_code);
    NVIC_SystemReset();
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;What error code do you get?&lt;/p&gt;
&lt;p&gt;Please post it.&lt;/p&gt;
&lt;p&gt;- Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble disconnection in dfu mode</title><link>https://devzone.nordicsemi.com/thread/151328?ContentTypeID=1</link><pubDate>Wed, 03 Oct 2018 05:56:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18857efb-43d9-4fa6-a15a-cbd9f0b059a7</guid><dc:creator>prateek</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;i am trying to debug the code, it seems that error: GATT_Connection Timeout.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble disconnection in dfu mode</title><link>https://devzone.nordicsemi.com/thread/151321?ContentTypeID=1</link><pubDate>Wed, 03 Oct 2018 05:13:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbed0551-f2eb-4518-b309-4e5b21660ced</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi Prateek.&lt;/p&gt;
&lt;p&gt;Have you debugged your code while you try to perform the DFU to see where the problem occurs?&lt;/p&gt;
&lt;p&gt;- Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble disconnection in dfu mode</title><link>https://devzone.nordicsemi.com/thread/151318?ContentTypeID=1</link><pubDate>Wed, 03 Oct 2018 04:27:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b2a41e4-f8a9-447c-ac3d-6dc5ce205da6</guid><dc:creator>prateek</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;I am using my custom code with the help of DFU Bootloader Example.&lt;/p&gt;
&lt;p&gt;In Previous, i am using sdk-11 which works fine in dfu and i am not getting any issue with DFU, while currently i am upgrading my sdk to 14.2 in which i am getting this issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Prateek&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble disconnection in dfu mode</title><link>https://devzone.nordicsemi.com/thread/150925?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 10:19:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e209fed-c8df-4af7-953c-56a613b2dc3d</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi Prateek.&lt;/p&gt;
&lt;p&gt;Which examples are you using? Are you using any of the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/examples_bootloader.html?cp=4_0_2_4_4"&gt;DFU bootloader examples&lt;/a&gt;, and which one?&lt;/p&gt;
&lt;p&gt;- Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>