<?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>Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54435/device-not-connecting-in-boot-loader-mode</link><description>Hello , 
 I am using nRF52832 controller in peripheral role. I have integrated Secure boot loader code. I am facing issue of mobile device is not getting connected to the DFU service in boot-loader. 
 When device is in Application it is connected and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Nov 2019 08:58:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54435/device-not-connecting-in-boot-loader-mode" /><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/222250?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2019 08:58:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20f2a22e-b520-4f50-88e9-fafe10f6adbb</guid><dc:creator>Edvin</dc:creator><description>[quote user="Edvin Holmseth"]And what is the specs of the LFXTAL?[/quote]
&lt;p&gt;&amp;nbsp;12pF for the caps is correct&amp;nbsp;&lt;strong&gt;if&lt;/strong&gt; the internal capacity of the XTAL is 8pF.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can read about it here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fclock.html&amp;amp;cp=4_2_0_18_1_3&amp;amp;anchor=concept_pln_z5y_2q"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fclock.html&amp;amp;cp=4_2_0_18_1_3&amp;amp;anchor=concept_pln_z5y_2q&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The capacitance on the capacitors should be:&lt;/p&gt;
&lt;p&gt;C = 2xC_L - C_pin&lt;/p&gt;
&lt;p&gt;C_L = capacitance on the XTAL&lt;/p&gt;
&lt;p&gt;C_pin = 4 (nRF specification).&lt;/p&gt;
&lt;p&gt;So on the DK, C_L = 8pF, so the capacitors should be:&lt;/p&gt;
&lt;p&gt;C = 2x8-4 = 12pF&lt;/p&gt;
&lt;p&gt;But it may not be the same for your capacitor.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, please make sure you set the XTAL accuracy in sdk_config.h according to the accuracy on your XTAL from it&amp;#39;s specification.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/222219?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2019 06:53:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1020b3e9-587a-45aa-85c6-ee7afc5277c6</guid><dc:creator>ssc</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/54435/device-not-connecting-in-boot-loader-mode/222122"]Do you have an external XTAL? I was actually wondering what the values were.&amp;nbsp;[/quote]
&lt;p&gt;Yes i do have an external crystal ABS07-32.768kHz is used .&amp;nbsp;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/54435/device-not-connecting-in-boot-loader-mode/222122"]what is the value of the capacitors on your custom board (the ones connected between the XTAL and the nRF)[/quote]
&lt;p&gt;12pF&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/222122?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2019 13:56:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f6d07b3-b886-4cc5-8588-8df361ae7ae2</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Do you have an external XTAL? I was actually wondering what the values were.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But if you used NRF_CLOCK_LF_SRC_XTAL, what is the value of the capacitors on your custom board (the ones connected between the XTAL and the nRF)? And what is the specs of the LFXTAL?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/222025?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2019 09:34:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:538b563c-46f2-41d0-903f-2c4b3ff237ae</guid><dc:creator>ssc</dc:creator><description>&lt;p&gt;Following were the clock configurations before the change in boot loader:&lt;/p&gt;
&lt;p&gt;For Application:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;NRF_SDH_CLOCK_LF_SRC =&amp;nbsp;NRF_CLOCK_LF_SRC_SYNTH&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;NRF_SDH_CLOCK_LF_RC_CTIV = NRF_CLOCK_LF_SRC_RC&lt;/span&gt;&lt;br /&gt;&lt;span&gt;NRF_SDH_CLOCK_LF_RC_TEMP=_CTIVNRF_CLOCK_LF_SRC_RC&lt;/span&gt;&lt;br /&gt;&lt;span&gt;NRF_SDH_CLOCK_LF_ACCURACY= NRF_CLOCK_LF_ACCURACY_20_PPM&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For boot loader:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;NRF_SDH_CLOCK_LF_SRC = NRF_CLOCK_LF_SRC_XTAL&lt;br /&gt;NRF_SDH_CLOCK_LF_RC_CTIV =&amp;nbsp;NRF_CLOCK_LF_SRC_RC&lt;br /&gt;NRF_SDH_CLOCK_LF_RC_TEMP=_CTIVNRF_CLOCK_LF_SRC_RC&lt;br /&gt;NRF_SDH_CLOCK_LF_ACCURACY=&amp;nbsp;NRF_CLOCK_LF_ACCURACY_20_PPM&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: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/222019?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2019 09:16:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad300495-74be-4465-aea4-31bbbad2590c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Are all the clock configurations in your bootloader and the application the same? Before you changed to NRF_CLOCK_LF_SRC_SYNTH in the bootloader, of course.&lt;/p&gt;
&lt;p&gt;The settings I am asking about are:&lt;/p&gt;
&lt;p&gt;NRF_SDH_CLOCK_LF_SRC&lt;br /&gt;NRF_SDH_CLOCK_LF_RC_CTIV&lt;br /&gt;NRF_SDH_CLOCK_LF_RC_TEMP_CTIV&lt;br /&gt;NRF_SDH_CLOCK_LF_ACCURACY&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note that these are not the same as:&lt;/p&gt;
&lt;p&gt;NRFX_CLOCK_CONFIG_LF_SRC. I am looking for the defines with &amp;quot;..._SDH_...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can you list these defines from the bootloader project and for the application project?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/221684?ContentTypeID=1</link><pubDate>Sat, 23 Nov 2019 07:00:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc8539f7-c130-4ab0-8a6d-34ec526973ab</guid><dc:creator>ssc</dc:creator><description>&lt;p&gt;Hello Edvin ,&lt;/p&gt;
&lt;p&gt;I think it is clock related issue. I change the&amp;nbsp;NRF_SDH_CLOCK_LF_SRC to&amp;nbsp; NRF_CLOCK_LF_SRC_SYNTH instead of&amp;nbsp;NRF_CLOCK_LF_SRC_XTAL . Then Boot-loader worked for all over voltage range of 5 volt to 30 volts.&amp;nbsp; I have question that if Application BLE worked fine then why Boot loader had issue ?&lt;/p&gt;
&lt;p&gt;Thanks and regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/221598?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2019 14:19:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca58db4e-66b6-453f-9969-e7f34ac6683d</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;If it doesn&amp;#39;t show up in nRF Connect for desktop either, then there must be something wrong. Have you tried to sniff the connection? Does the central send a service discovery message?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/221584?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2019 13:55:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee6984f8-9ca2-4aad-a40f-e0ce71dc936e</guid><dc:creator>ssc</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/54435/device-not-connecting-in-boot-loader-mode/221533"]Can you try to connect to it with nRF Connect for desktop? It should always do service discovery, while on mobile phones, it is the OS that decides whether it should do a service discovery or not. [/quote]
&lt;p&gt;Yes i have tried with desktop it behaves the same way it behaves for mobile. If it was the issue for discovery it should get at lower voltages too.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I get error 8: BLE_HCI_CONNECTION_TIMEOUT when i use 24 volt.&lt;/p&gt;
&lt;p&gt;So i referred to &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/39453/configuration-max--min-interval-supervision-timeout-for-android/153203#153203"&gt;THIS&lt;/a&gt; link. and changed the PPM to 500 but no luck.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/221533?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2019 11:41:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7850ad1a-5284-4e9d-abb4-d146417853e3</guid><dc:creator>Edvin</dc:creator><description>[quote user="Sarika"]Why BLE do not allow service discovery in bootloader mode.. where it works in application ?&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;It does allow service discovery. Can you try to connect to it with nRF Connect for desktop? It should always do service discovery, while on mobile phones, it is the OS that decides whether it should do a service discovery or not. What are you trying to connect with? A phone? Is it the same behavior if you use nRF Connect&amp;nbsp;&lt;strong&gt;for Desktop&lt;/strong&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/221411?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2019 17:51:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6990837-13a7-432a-9e43-a543a0ae0101</guid><dc:creator>ssc</dc:creator><description>&lt;p&gt;Hello Edvin,&lt;/p&gt;
&lt;p&gt;Yes this works on dk but not on custom pcb when given supply of 24volts. For voltages below 22 it works fine. I don&amp;#39;t understand why it is so? All logs given in above text file are from custom boards... Is there anything missing or else... Perfectly working log is for 5v supply given.&lt;/p&gt;
&lt;p&gt;Why BLE do not allow service discovery in bootloader mode.. where it works in application ?&amp;nbsp; What are electrical requirements for ble connection and service discovery?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/221395?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2019 16:09:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f65aa6f-12a9-41fa-b4b2-502f8e582094</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Does this mean that it works on the DK, but not on the custom PCB? Did you have a log from the custom PCB with Voltage = 5v, when it was working? Or is it not working when you have 5v on the custom PCB either?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, I didn&amp;#39;t understand the DK log. Does the log start in the middle of the DFU process?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/221224?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2019 07:55:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbe5b45a-f937-487a-9120-c4735723005c</guid><dc:creator>ssc</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/54435/device-not-connecting-in-boot-loader-mode/221218"]Can you send me the logs from when it is working and when it isn&amp;#39;t?[/quote]
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Debug_5F00_log_5F00_of_5F00_bootloader_5F00_for_5F00_not_5F00_connecting_5F00_19_5F00_11_5F00_19.txt"&gt;devzone.nordicsemi.com/.../Debug_5F00_log_5F00_of_5F00_bootloader_5F00_for_5F00_not_5F00_connecting_5F00_19_5F00_11_5F00_19.txt&lt;/a&gt;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/54435/device-not-connecting-in-boot-loader-mode/221218"]This LDO is external, right?[/quote]
&lt;p&gt;Yes&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/54435/device-not-connecting-in-boot-loader-mode/221218"]That is including external components? Not the nRF?[/quote]
&lt;p&gt;Yes that is including external components. Overall PCB load corrent taken from supply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/221218?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2019 07:41:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4ee61da-6d74-4c7e-b423-bbecadf3e7de</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Can you send me the logs from when it is working and when it isn&amp;#39;t?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Sarika"]So i tested with replacing DCDC to LDO (12 to 5 V)[/quote]
&lt;p&gt;&amp;nbsp;This LDO is external, right?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Sarika"]My total PCB Load current takes 50 mA.[/quote]
&lt;p&gt;&amp;nbsp;That is including external components? Not the nRF?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/221075?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2019 13:02:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ae31368-c66c-4849-aee1-4ef0771eee43</guid><dc:creator>ssc</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/54435/device-not-connecting-in-boot-loader-mode/221066"]Have you enabled bonding in the bootloader project?[/quote]
&lt;p&gt;No. for disabling bond i have done:&lt;/p&gt;
&lt;p&gt;// &amp;lt;h&amp;gt; BLE DFU security&lt;/p&gt;
&lt;p&gt;//==========================================================&lt;br /&gt;// &amp;lt;q&amp;gt; NRF_DFU_BLE_REQUIRES_BONDS - Require bond with peer.&lt;/p&gt;
&lt;p&gt;#ifndef NRF_DFU_BLE_REQUIRES_BONDS&lt;br /&gt;#define NRF_DFU_BLE_REQUIRES_BONDS 0&lt;br /&gt;#endif&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/54435/device-not-connecting-in-boot-loader-mode/221066"]&amp;nbsp;These lines indicates that there is no valid application in the memory. Is the application programmed to the nRF? If so, how was it programmed? Via DFU or via programmer? If programmer, did you also program the correct signed bootloader settings?[/quote]
&lt;p&gt;Yes these logs are right there is no application firmware as i have erased whole flash and only flashed boot loader code.&amp;nbsp; I am not able to connect to the device in boot loader mode only.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This issue occurred when Regulator used was DCDC converter for 5 volt input to LDO (3.3V) and then to controller. So i tested with replacing DCDC to LDO (12 to 5 V) converter &lt;span&gt;for 5 volt input to LDO (3.3V) and then to controller&lt;/span&gt;. Then also issue remained same.&lt;/p&gt;
&lt;p&gt;Then i tested for LM7805&amp;nbsp; regulator IC and then tested for the Output and then probability of getting failure was reduced. But issue is still there. My total PCB Load current takes 50 mA. and ripples checked at capacitor of LDO is 15mV. Is there any noise or any current related requirements which are failed here for Controller? Or any functionality which i am missing&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/221066?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2019 12:33:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8c71981-fc9b-4a29-9866-96e7074eca0e</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Have you enabled bonding in the bootloader project? Maybe the device doesn&amp;#39;t do service discovery because it thinks it already knows the services? If you require bonding in the bootloader then it will not increment the BLE address. The address is usually incremented to trigger a service discovery.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Sarika"]&amp;lt;info&amp;gt; app: No firmware to activate.&lt;br /&gt;&amp;lt;debug&amp;gt; app: Enter nrf_dfu_app_is_valid&lt;br /&gt;&amp;lt;debug&amp;gt; app: No valid app to boot.[/quote]
&lt;p&gt;&amp;nbsp;These lines indicates that there is no valid application in the memory. Is the application programmed to the nRF? If so, how was it programmed? Via DFU or via programmer? If programmer, did you also program the correct signed bootloader settings?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/220812?ContentTypeID=1</link><pubDate>Tue, 19 Nov 2019 11:56:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f77eb8f5-3444-485c-b261-4943041008e0</guid><dc:creator>ssc</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/54435/device-not-connecting-in-boot-loader-mode/220603"]Have you tried to debug the bootloader to figure out why the application is not starting? To do so, you should use the pca10040_ble_debug and enable logging and see if you get any sensible output.[/quote]
&lt;p&gt;I tried for ble-debug example code and got following log:&lt;/p&gt;
&lt;p&gt;&amp;lt;info&amp;gt; app: Inside main&lt;br /&gt;&amp;lt;debug&amp;gt; app: In nrf_bootloader_init&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_settings: Calling nrf_dfu_settings_init()...&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_flash: Initializing nrf_fstorage_nvmc backend.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_settings: Settings OK&lt;br /&gt;&amp;lt;debug&amp;gt; app: Enter nrf_bootloader_fw_activate&lt;br /&gt;&amp;lt;info&amp;gt; app: No firmware to activate.&lt;br /&gt;&amp;lt;debug&amp;gt; app: Enter nrf_dfu_app_is_valid&lt;br /&gt;&amp;lt;debug&amp;gt; app: No valid app to boot.&lt;br /&gt;&amp;lt;debug&amp;gt; app: DFU mode because app is not valid.&lt;br /&gt;&amp;lt;info&amp;gt; nrf_bootloader_wdt: WDT is not enabled&lt;br /&gt;&amp;lt;debug&amp;gt; app: in weak nrf_dfu_init_user&lt;br /&gt;&amp;lt;debug&amp;gt; app: timer_stop (0x200057D4)&lt;br /&gt;&amp;lt;debug&amp;gt; app: timer_activate (0x200057D4)&lt;br /&gt;&amp;lt;info&amp;gt; app: Entering DFU mode.&lt;br /&gt;&amp;lt;debug&amp;gt; app: Initializing transports (found: 1)&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_ble: Initializing BLE DFU transport&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_ble: Setting up vector table: 0x00072000&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_ble: Enabling SoftDevice.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_ble: Configuring BLE stack.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_ble: Enabling the BLE stack.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_ble: No advertising name found&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_ble: Using default advertising name&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_ble: Advertising...&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_ble: BLE DFU transport initialized.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_flash: Initializing nrf_fstorage_sd backend.&lt;br /&gt;&amp;lt;debug&amp;gt; app: Enter main loop&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_ble: Connected&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_ble: Advertising...&lt;br /&gt;&amp;lt;debug&amp;gt; app: timer_stop (0x200057D4)&lt;br /&gt;&amp;lt;debug&amp;gt; app: timer_fire (0x200057D4)&lt;br /&gt;&amp;lt;info&amp;gt; app: Inactivity timeout.&lt;br /&gt;&amp;lt;debug&amp;gt; app: Resetting bootloader.&lt;br /&gt;&amp;lt;info&amp;gt; nrf_dfu_settings: Backing up settings page to address 0x7E000.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When i try to connect from mobile device then it gives Connected on debug but mobile is not able to discover the services on device and gets timeout and device gets disconnected . So after timeout device gets reset and again goes in boot loader.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/220636?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2019 14:44:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d561e2a2-6db7-455a-9e9f-0a207da4edb7</guid><dc:creator>ssc</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/54435/device-not-connecting-in-boot-loader-mode/220603"]Try to revert the bootloader settings settings to 0x78000 and 0x6000, and see if that changes anything. But then again, this should not be dependent on the voltage into your external voltage regulator.[/quote]
&lt;p&gt;Yes i do tried it also by changing flash settings . But no luck. I have erased whole flash and then only boot loader is flashed in memory. Same issue persists that device starts advertising but no connection is possible. Debug strings in nRF connect shows Error 22 (0x16) GATT CONN TERMINATE LOCAL HOST.&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/54435/device-not-connecting-in-boot-loader-mode/220603"]What is it that you are trying to update? The app + bl? [/quote]
&lt;p&gt;I am trying to update only application.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/220603?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2019 13:49:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04934f8d-48f4-4a25-8ae1-e9e7d269a453</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Are you sure this is your settings?&lt;/p&gt;
&lt;p&gt;In the Bootloader examples for the nRF52832 examples from the SDK uses the following settings for the Flash:&lt;/p&gt;
&lt;p&gt;FLAS_START = 0x78000&lt;/p&gt;
&lt;p&gt;FLASH_SIZE = 0x6000&lt;/p&gt;
&lt;p&gt;Using these settings the bootloader will use the flash area 0x78000 to 0x7E000. The remaining flash is for the bootloader settings.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In theory, it is possible with the settings you have used as well, but it has to be set several places in the project, so it is easy to do mistakes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try to revert the bootloader settings settings to 0x78000 and 0x6000, and see if that changes anything. But then again, this should not be dependent on the voltage into your external voltage regulator.&lt;/p&gt;
&lt;p&gt;What is it that you are trying to update? The app + bl? Have you tried to debug the bootloader to figure out why the application is not starting? To do so, you should use the pca10040_ble_debug and enable logging and see if you get any sensible output.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Are there any other changes you have done to the bootloader project that I should know of?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/220548?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2019 11:57:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:321c5211-4269-4a67-9813-b9ed9bd6f2ed</guid><dc:creator>ssc</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/54435/device-not-connecting-in-boot-loader-mode/220540"]Are you sure that the DFU part is working properly when you use the 5V in?[/quote]
&lt;p&gt;Yes i have tested it for multiple times and Dfu process done successfully with valid FW updates.&amp;nbsp;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/54435/device-not-connecting-in-boot-loader-mode/220540"]Don&amp;#39;t you agree if the input voltage to the nRF doesn&amp;#39;t change, and nothing else, as seen from the nRF changes, then the behavior shouldn&amp;#39;t change?[/quote]
&lt;p&gt;Yes i do agree to this statement but i am facing issue.. and no clues for why this is so happening.&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/54435/device-not-connecting-in-boot-loader-mode/220540"]Can you successfully update the application?[/quote]
&lt;p&gt;YES I can.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can it be related to RAM and FLASH memory managements. My application code is modified code of Multiperipheral example . Which has following &lt;span&gt;Section_placement MACRO&lt;/span&gt; settings:&lt;/p&gt;
&lt;p&gt;FLASH_PH_START=0x0&lt;/p&gt;
&lt;p&gt;FLASH_PH_SIZE=0x80000&lt;/p&gt;
&lt;p&gt;RAM_PH_START=0x20000000&lt;/p&gt;
&lt;p&gt;RAM_PH_SIZE=0x10000&lt;/p&gt;
&lt;p&gt;FLASH_START=0x26000&lt;/p&gt;
&lt;p&gt;FLASH_SIZE=0x5a000&lt;/p&gt;
&lt;p&gt;RAM_START=0x200053F0&lt;/p&gt;
&lt;p&gt;RAM_SIZE=0xAC20&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Where for secure_bootloader ble example code has following Section_placement MACRO settings:&lt;/p&gt;
&lt;p&gt;FLASH_PH_START=0x0&lt;/p&gt;
&lt;p&gt;FLASH_PH_SIZE=0x80000&lt;/p&gt;
&lt;p&gt;RAM_PH_START=0x20000000&lt;/p&gt;
&lt;p&gt;RAM_PH_SIZE=0x10000&lt;/p&gt;
&lt;p&gt;FLASH_START=0x72000&lt;/p&gt;
&lt;p&gt;FLASH_SIZE=0x8000&lt;/p&gt;
&lt;p&gt;RAM_START=0x200057b8&lt;/p&gt;
&lt;p&gt;RAM_SIZE=0xa848&lt;/p&gt;
&lt;p&gt;Is there anything wrong in this ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/220540?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2019 11:31:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d2e7fb9-8b91-4469-a4db-587021c82313</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Are you sure this is related to the input voltage at all? Does everything work when you use 5V? Can you successfully update the application?&lt;/p&gt;
&lt;p&gt;Don&amp;#39;t you agree if the input voltage to the nRF doesn&amp;#39;t change, and nothing else, as seen from the nRF changes, then the behavior shouldn&amp;#39;t change?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Are you sure that the DFU part is working properly when you use the 5V in?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/220514?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2019 09:54:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65cdec70-cced-4bd2-8772-c55a10f6c867</guid><dc:creator>ssc</dc:creator><description>&lt;p&gt;I am also facing issue of device not getting reset after firmware update is completed . Mobile application show that firmware updated successfully, but device does not get reset and not even stays in boot loader mode as i don&amp;#39;t see any Dfutarg advertising name in mobile application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/220503?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2019 09:34:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b34bd9fa-e443-471c-ac4e-369c551c8cd0</guid><dc:creator>ssc</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/54435/device-not-connecting-in-boot-loader-mode/220494"]Are you sure the nRF still receive only 3.3V when you try to increase the input voltage to the regulator to 12V? Have you measured?[/quote]
&lt;p&gt;Yes i&amp;#39;ve measured voltage it is received 3.3 V.&amp;nbsp; I am facing issue after flashing secure boot loader code. Application without boot loader has no complaints in functionality.&amp;nbsp;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/54435/device-not-connecting-in-boot-loader-mode/220494"]Can you double check that the input voltage to the nRF doesn&amp;#39;t change when you increase the voltage into your input regulator?[/quote]
&lt;p&gt;Supply voltage do not change while increasing input voltage. I have crosschecked just now.&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/54435/device-not-connecting-in-boot-loader-mode/220494"]define&amp;nbsp;NRF_BL_DFU_ENTER_METHOD_BUTTON and&amp;nbsp;NRF_BL_DFU_ENTER_METHOD_BUTTON_PIN[/quote]
&lt;p&gt;Both of these methods are already&amp;nbsp; disabled. Still issue remains same.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I wonder what exactly had happend after flashing boot loader code?? and increasing supply get this issue.&lt;/p&gt;
&lt;p&gt;Is there any other electrical requirements that need to&amp;nbsp; be fulfilled other than 3.3&amp;nbsp; V supply. Or any&amp;nbsp; related requirements for &lt;span&gt;boot loader code.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks and regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/220494?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2019 08:53:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f443cce4-844c-43b3-85a8-252670e811ac</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;&amp;quot;DfuTarg&amp;quot; means that it is in bootloader mode, yes, as long as you haven&amp;#39;t set DfuTarg as the advertising name in your application as well.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see why increasing the input voltage should affect the behavior of the application&amp;nbsp;&lt;strong&gt;as long as the nRF always receive 3.3V&lt;/strong&gt;. Are you sure the nRF still receive only 3.3V when you try to increase the input voltage to the regulator to 12V? Have you measured?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The reasons why the device stays in bootloader mode is usually one of the following:&lt;/p&gt;
&lt;p&gt;1: The device doesn&amp;#39;t have an application, only a bootloader.&lt;/p&gt;
&lt;p&gt;2: The&amp;nbsp;bootloader is set up to enter DFU mode on a button press on restart. If this is the case, and the button is held (the pin is held low) it will stay in DFU mode. Look for the define&amp;nbsp;NRF_BL_DFU_ENTER_METHOD_BUTTON and&amp;nbsp;NRF_BL_DFU_ENTER_METHOD_BUTTON_PIN in sdk_config.h in your bootloader project.&lt;/p&gt;
&lt;p&gt;3: The present application isn&amp;#39;t signed correctly, or wasn&amp;#39;t uploaded correctly, leading to a CRC error when the bootloader checks the application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;None of these should be dependent on the input on your voltage regulator. In fact, nothing should, as long as the regulator works properly, always supplying 3.3V to the nRF.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can you double check that the input voltage to the nRF doesn&amp;#39;t change when you increase the voltage into your input regulator?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/220439?ContentTypeID=1</link><pubDate>Sun, 17 Nov 2019 17:38:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc00d7eb-ba10-4d9f-8299-b9f6d3d35718</guid><dc:creator>ssc</dc:creator><description>&lt;p&gt;Hello Edvin,&lt;/p&gt;
&lt;p&gt;Device starts broadcasting with &amp;quot;Dfutarg&amp;quot; name when in bootloader mode. Doesn&amp;#39;t that mean it it bootloader mode?&lt;/p&gt;
&lt;p style="text-align:center;"&gt;12volt into power supply regulator and nRF gets 3.3 V . Input regulator can be given variable voltage from 5 volts to 30 volt.&amp;nbsp; But as I said earlier it works properly for 5 volt only .. i want to know what are the possibilities that could hamper the function?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not connecting in boot loader mode</title><link>https://devzone.nordicsemi.com/thread/220345?ContentTypeID=1</link><pubDate>Fri, 15 Nov 2019 14:35:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1058386-7b79-4b74-bca0-2bc73ac576e9</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]When device is in Application&amp;nbsp; it is connected and operation is fine,but after entering DFU by triggering command from DFU service to enter boot-loader mobile does not get connected but device remains in boot-loader mode. SDK used is 15.2.0 . Secure bootloader example code from DFU section is used.[/quote]
&lt;p&gt;&amp;nbsp;What does that mean? How do you know it is &amp;quot;stuck in bootloader mode&amp;quot; if you are not able to connect? Can you see the advertisements from the bootloader?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]When i use supply input of 5 volt it works perfectly. But for 12 volts it gives me above error behavior. [/quote]
&lt;p&gt;&amp;nbsp;12 volts into the power supply regulator I suppose? What is the input voltage to the nRF at that point?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>