<?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 cant find bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92936/ota-dfu-cant-find-bootloader</link><description>nRF5 SDK SD140 Using the nRF Connect Android app with the DFU utility, looking at the log I send the Enter Bootloader request and get a thumbs up back (op code = 1, status = 1), then the following occur: [DFU] gatt.refresh() [DFU] gatt.dsconnect() [DFU</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Oct 2022 11:36:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92936/ota-dfu-cant-find-bootloader" /><item><title>RE: OTA DFU cant find bootloader</title><link>https://devzone.nordicsemi.com/thread/392128?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 11:36:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c8b2204-e329-498f-a53d-97eca0576c4e</guid><dc:creator>Sigurd</dc:creator><description>[quote user="JGusler"]I might be confused on an earlier step in this process. Am I still flashing the hex that&amp;nbsp; contains the sd, bootloader, and buttonless dfu hex files? Or should i be flashing ONLY the secure_bootloader_debug hex?[/quote]
&lt;p&gt;Try sd +&amp;nbsp;&lt;span&gt;secure_bootloader_debug&amp;nbsp;+&amp;nbsp;buttonless app&lt;/span&gt;&lt;/p&gt;
[quote user="JGusler"]I get but it just loops[/quote]
&lt;p&gt;Looks like it&amp;#39;s not entering / staying in bootloader mode then.&lt;/p&gt;
[quote user="JGusler"]and I get the exact same result with one small exception, this time the DFU bootloader IS found[/quote]
&lt;p&gt;But it still disconnects? Did you update the clock settings in the bootloader project?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you try to start a debug session&amp;nbsp;in the debug-bootloader project?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU cant find bootloader</title><link>https://devzone.nordicsemi.com/thread/391684?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2022 13:09:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e85bcf4c-b682-479c-80de-889cacfd5081</guid><dc:creator>JGusler</dc:creator><description>&lt;p&gt;I might be confused on an earlier step in this process. Am I still flashing the hex that&amp;nbsp; contains the sd, bootloader, and buttonless dfu hex files? Or should i be flashing ONLY the secure_bootloader_debug hex?&lt;br /&gt;&lt;br /&gt;Yes that log in particular is from the app via rtt output, the other logs I was providing were from the nrf connect app&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU cant find bootloader</title><link>https://devzone.nordicsemi.com/thread/391594?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2022 09:20:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:815a2cf1-a5d8-48ac-871b-a9e0fd3841ef</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1) After you in nRF Connect mobile app, request it to go into bootloader mode, do you see the bootloader advertise? or do you still see the regular application still advertising?&lt;/p&gt;
&lt;p&gt;2) The log you provided is from the app, right? Do you have log from the bootloader project as well?&lt;/p&gt;
&lt;p&gt;3) Could you post the nRF Connect mobile app log?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU cant find bootloader</title><link>https://devzone.nordicsemi.com/thread/391518?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2022 17:25:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:860a9c04-253e-4e22-b2a2-30ebc9fbd785</guid><dc:creator>JGusler</dc:creator><description>&lt;p&gt;I swapped to that bootloader project This is the RTT output I get but it just loops this and I still get the disconnect after the gatt.discoverServices()&lt;/p&gt;
&lt;p&gt;00&amp;gt; &amp;lt;info&amp;gt; app: Device is preparing to enter bootloader mode.&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: Disconnected 1 links.&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: In ble_dfu_buttonless_bootloader_start_finalize&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: Device will enter bootloader mode.&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: Power management wants to reset to DFU mode.&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: Power management allowed to reset to DFU mode.&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: Setting vector table to bootloader: 0x000F8000&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: Setting vector table to main app: 0x00027000&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: Buttonless DFU Application started.&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &amp;lt;info&amp;gt; app: But this time improved!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU cant find bootloader</title><link>https://devzone.nordicsemi.com/thread/391396?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2022 11:05:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:946fc254-de38-44ff-a9bd-54fb559942e7</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you try the debug variant of the bootloader project, and see if you can get any log output from the bootloader?&lt;/p&gt;
&lt;p&gt;The project is in this folder:&lt;/p&gt;
&lt;p&gt;sdk_folder\examples\dfu\secure_bootloader\pca10056_s140_ble_debug&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU cant find bootloader</title><link>https://devzone.nordicsemi.com/thread/391286?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 18:10:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43524def-e5c7-49ea-b9bf-4e50d626aa0b</guid><dc:creator>JGusler</dc:creator><description>&lt;p&gt;I dont have a sniffer, I&amp;#39;m trying to update from my phone using the android nrf connect app since I dont have a dongle.&lt;br /&gt;&lt;br /&gt;I have just tried the buttonless example with only tiny modifications (rtt logging and a couple clock changes) and I get the exact same result with one small exception, this time the DFU bootloader IS found&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU cant find bootloader</title><link>https://devzone.nordicsemi.com/thread/391260?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 15:07:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:300d30e5-4993-43e3-995d-c346e03cf90c</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;1) Does it work with the&amp;nbsp;&lt;span&gt;ble_app_buttonless_dfu&amp;nbsp;example (make changes to use LF RC in sdk_config.h)?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2) Do you have a sniffer trace?&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le"&gt;https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU cant find bootloader</title><link>https://devzone.nordicsemi.com/thread/391256?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 14:57:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6341ceb9-560c-4299-9641-0a0a865777e0</guid><dc:creator>JGusler</dc:creator><description>&lt;p&gt;I have implemented that change and tried again but I am still getting the same issue where it eventually disconnects with a GATT CONN TIMEOUT error. That being said, the behavior leading up to that was slightly different in repeated cases.&lt;/p&gt;
&lt;p&gt;It begins the timeout for scanning for the DFU bootloader&lt;/p&gt;
&lt;p&gt;Connection parameters updated&lt;/p&gt;
&lt;p&gt;No DFU bootloader found&lt;/p&gt;
&lt;p&gt;DFU service started&lt;/p&gt;
&lt;p&gt;Firmware file opened succesfully&lt;/p&gt;
&lt;p&gt;Two 1 second waits&lt;/p&gt;
&lt;p&gt;Connecting to DFU target...&lt;/p&gt;
&lt;p&gt;Connection (with autoconnect = false)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;gatt.discoverServices()&lt;/p&gt;
&lt;p&gt;DISCONNECT 5 seconds after the parameters update but 8 seconds after the scanning begins&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU cant find bootloader</title><link>https://devzone.nordicsemi.com/thread/391238?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 14:28:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef151b8c-3149-4dcc-b441-eb8eab215302</guid><dc:creator>Sigurd</dc:creator><description>[quote user="JGusler"]5) (This might be an issue) On the application I have the LF source set to RC, but on the bootloader I had it set to XTAL.[/quote]
&lt;p&gt;Yes, if you don&amp;#39;t have LF crystal on your custom board, make sure to set LF source to RC in the bootloader project as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU cant find bootloader</title><link>https://devzone.nordicsemi.com/thread/391224?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 14:07:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:217444ff-71cb-4755-80e5-889a6b47ecc8</guid><dc:creator>JGusler</dc:creator><description>&lt;p&gt;1) SDK 17.1.0&lt;br /&gt;2) I am using my own customized ble_app_uart and adding on buttonless DFU capability from the provided examples.&lt;br /&gt;3) I get RTT output until &amp;quot;&amp;lt;info&amp;gt; app: Device is preparing to enter bootloader mode&amp;quot; then it cuts off after and is stuck&lt;br /&gt;4) Custom board using nRF52840&lt;br /&gt;5) (This might be an issue) On the application I have the LF source set to RC, but on the bootloader I had it set to XTAL.&lt;br /&gt;6) nRF52840&lt;br /&gt;7) I tried changing the WDT timout_ticks in nrf_bootloader_wdt_feed_timer_start to 60000 given other threads on DevZone to no avail. I also changed the contents of the public key.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU cant find bootloader</title><link>https://devzone.nordicsemi.com/thread/391209?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 13:29:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:505d4895-8929-43bb-90af-6d928ef783c1</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1) What SDK version?&lt;/p&gt;
&lt;p&gt;2) Are you using the&amp;nbsp;ble_app_buttonless_dfu example?&lt;/p&gt;
&lt;p&gt;3) Any log output? Either RTT or UART backend&lt;/p&gt;
&lt;p&gt;4) DK or custom board?&lt;/p&gt;
&lt;p&gt;5) If it&amp;#39;s a custom board, do you have a LF crystal on your board?&lt;/p&gt;
&lt;p&gt;6) What nRF52 device?&lt;/p&gt;
&lt;p&gt;7) Have you done any changes to the bootloader?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>