<?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>Buttonless DFU Error 8</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44881/buttonless-dfu-error-8</link><description>Hi, 
 I have been testing unbounded buttonless DFU with BL652 using SDK 15.0 and SDK15.2 and I kept getting Error 8(0x8): GATT CONN TIMEOUT after bootloader is entered.I traced back the problem: The device restarts itself after NVIC_SystemReset() in shutdown_process</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Jun 2020 14:05:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44881/buttonless-dfu-error-8" /><item><title>RE: Buttonless DFU Error 8</title><link>https://devzone.nordicsemi.com/thread/256731?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2020 14:05:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2ece467-1f6a-44c0-bf5c-5fc22b54b190</guid><dc:creator>Somesh Burkule</dc:creator><description>&lt;p&gt;It&amp;#39;s my pleasure!&lt;/p&gt;
&lt;p&gt;rather I also tried with less WDT reload value. It also works with 15000 but not below than that.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;BR,&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Somesh Burkule&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU Error 8</title><link>https://devzone.nordicsemi.com/thread/256724?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2020 13:54:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:328000f4-1975-4c02-8b88-d0b80cc901e7</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am glad to hear it is resolved. Thank you for letting us know that a too short reload value was indeed the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU Error 8</title><link>https://devzone.nordicsemi.com/thread/256609?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2020 08:45:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e307bba7-21a4-4df6-b8be-1a598502c1e7</guid><dc:creator>Somesh Burkule</dc:creator><description>[quote userid="7377" url="~/f/nordic-q-a/44881/buttonless-dfu-error-8/256494"]do you have a very short WDT&amp;nbsp; reload value[/quote]
&lt;p&gt;Problem is resolved. actually nrf set to boot mode and it was resetting due to wdt.&lt;/p&gt;
&lt;p&gt;I have changed reload value to 60000 and all works fine.&lt;/p&gt;
&lt;p&gt;Thank you for help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU Error 8</title><link>https://devzone.nordicsemi.com/thread/256502?ContentTypeID=1</link><pubDate>Tue, 23 Jun 2020 14:20:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2dcaea51-505f-497e-9c6b-f5f57325783e</guid><dc:creator>Somesh Burkule</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for quick response.&lt;/p&gt;
&lt;p&gt;I am not pretty sure about the problem but I am not getting ping response from nrf bootloader.&lt;/p&gt;
&lt;p&gt;may be it does not enters in boot mode or it enters but resets due to WDT reset.&lt;/p&gt;
&lt;p&gt;I have set WDT reload value to 3000.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU Error 8</title><link>https://devzone.nordicsemi.com/thread/256494?ContentTypeID=1</link><pubDate>Tue, 23 Jun 2020 14:08:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a41c15b0-854c-4f05-b82d-eba931cafaa6</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The WDT handling is automatic. You can see how it is implemented in &amp;lt;SDK&amp;gt;/components/libraries/bootloader/nrf_bootloader_wdt.c. What problem do you get? does it reset your device? If so, do you have a very short WDT&amp;nbsp; reload value?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU Error 8</title><link>https://devzone.nordicsemi.com/thread/256463?ContentTypeID=1</link><pubDate>Tue, 23 Jun 2020 13:09:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff242941-a95b-4018-b7c5-a1d15b48814c</guid><dc:creator>Somesh Burkule</dc:creator><description>[quote userid="7377" url="~/f/nordic-q-a/44881/buttonless-dfu-error-8/176476"]If the Watchdog was started by the application, this is not reset when doing a soft reset. And in that case, the watchdog will timeout in the bootloader unless it is fed there. If this is the case, then you can use the &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-3-0/lib_bootloader?309#lib_bootloader_watchdog"&gt;watchdog support that was added to the bootloader in SDK 15&lt;/a&gt;.[/quote]
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am getting the problem with WDT. As I added wdt in my app code dfu fails.&lt;/p&gt;
&lt;p&gt;I am using sdk 15.2. how to add WDT in bootloader?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU Error 8</title><link>https://devzone.nordicsemi.com/thread/176638?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2019 09:38:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ecd75ca-3f75-47b8-8dc0-4ee68485adba</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Bird,&lt;/p&gt;
&lt;p&gt;I do not understand why this should happen. Modifying the LED&amp;#39;s and buttons in the board file and clock source as you wrote, should not have any effect on this, so it should work as in the example. Can you try with the debug bootloader with RTT logging, and upload the log here? It would also be useful with log from the application, logging&amp;nbsp;when it gets the&amp;nbsp;NRF_PWR_MGMT_EVT_PREPARE_DFU event.&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU Error 8</title><link>https://devzone.nordicsemi.com/thread/176510?ContentTypeID=1</link><pubDate>Fri, 15 Mar 2019 17:15:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e90eb999-5aa1-4807-82cb-dfa2897aa1d4</guid><dc:creator>MaleFemaleTrex</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;There is no watchdog in the application and NRF_BL_WDT_MAX_SCHEDULER_LATENCY_MS is set to 10000 in secure_bootloader. The issue is when NVIC_SystemReset() is issued in&amp;nbsp;&lt;pre class="ui-code" data-mode="c_cpp"&gt;if ((m_pwr_mgmt_evt == NRF_PWR_MGMT_EVT_PREPARE_RESET)
     || (m_pwr_mgmt_evt == NRF_PWR_MGMT_EVT_PREPARE_DFU))
    {
        NVIC_SystemReset();
    }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The ble_app_buttonless_dfu example wont go into DFU mode but just restarts the application.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;-Bird&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU Error 8</title><link>https://devzone.nordicsemi.com/thread/176476?ContentTypeID=1</link><pubDate>Fri, 15 Mar 2019 15:11:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb2c376b-e66a-4ee0-8fef-38f632e2d1bd</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you start a watchdog in your application? I ask because this is a typical reason for seeing&amp;nbsp;GATT CONN TIMEOUT on the phone side after entering DFU mode. If the Watchdog was started by the application, this is not reset when doing a soft reset. And in that case, the watchdog will timeout in the bootloader unless it is fed there. If this is the case, then you can use the &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-3-0/lib_bootloader?309#lib_bootloader_watchdog"&gt;watchdog support that was added to the bootloader in SDK 15&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>