<?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>Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84034/soft-device-enable-and-disable---dfu-disconnected-by-the-remote-device</link><description>Hello all 
 I am facing a very strange issue, already searched the forum but didnt find anything like it. 
 Okay so I can get DFU to work. For our custom application we have to disable the soft device for some time for sensor acquisitions and re enable</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Feb 2022 09:50:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84034/soft-device-enable-and-disable---dfu-disconnected-by-the-remote-device" /><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/354751?ContentTypeID=1</link><pubDate>Thu, 24 Feb 2022 09:50:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fb3fd60-728c-4664-a0f1-2629b0e4f44b</guid><dc:creator>AliMahmood123</dc:creator><description>&lt;p&gt;Vidar, the latter of what you said (Inactivity timer) is true. Thanks a lot for your help. God Bless you&lt;/p&gt;
&lt;p&gt;I am sorry to ask multiple questions on the same thread. The way you put it, it seems right.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/354728?ContentTypeID=1</link><pubDate>Thu, 24 Feb 2022 08:06:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:332536c7-9b2d-4ef1-9f40-e420bf4feac7</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Ideally we want there to be one question and one correct answer per thread. Long threads are hard to follow for others who may be looking for the same answers.&lt;/p&gt;
&lt;p&gt;Anyway. I&amp;#39;m not sure I understand your last question. Do you want the bootloader to fall back to DFU mode or boot the main app after a failed DFU attempt? The bootloader has an inactivity timer that expires after 2 minutes by default So the bootloader will not get stuck in DFU mode if you still have the old app in bank 0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/354673?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 17:00:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45766c53-a839-43ad-a3a1-5f6b87176d7b</guid><dc:creator>AliMahmood123</dc:creator><description>&lt;p&gt;Hmm I will look into this and try this. Thanks a lot&lt;/p&gt;
&lt;p&gt;Also, once again, I have another question &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61b.svg" title="Stuck out tongue"&gt;&amp;#x1f61b;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Actually I keep assuming it&amp;#39;s better than posting in a new thread and this is easier for the nordic team, but I am not sure.&lt;/p&gt;
&lt;p&gt;So the question is that I was looking into Single vs Dual Bank&lt;/p&gt;
&lt;p&gt;I play with &lt;strong&gt;NRF_DFU_FORCE_DUAL_BANK_APP_UPDATES&lt;/strong&gt; and &lt;strong&gt;NRF_DFU_SINGLE_BANK_APP_UPDATES. &lt;/strong&gt;In single bank mode I stop DFU in between and on restart I always see DFU Mode&lt;/p&gt;
&lt;p&gt;For Double bank I always get the old application on re-start&lt;br /&gt;My question is that is it possible for the bootloader to simply re-start the system if interrupted on DFU? Because we cant restart the devices in the field in case of a failed DFU. Even if we can, we dont want to. Is it possible to add that in the bootloader project using NVIC Reset?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/354492?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 08:51:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa72d015-7c3a-47df-9d9a-cde7bad5e364</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the update. However, it should not be necessary to align the build configuration between the bootloader and app. The difference between release and debug in our projects is that debug disables code optimization and enables the DEBUG and DEBUG_NRF flag as you can see here:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="xml"&gt;  &amp;lt;configuration Name=&amp;quot;Release&amp;quot;
    c_preprocessor_definitions=&amp;quot;NDEBUG&amp;quot;
    link_time_optimization=&amp;quot;No&amp;quot;    gcc_optimization_level=&amp;quot;Optimize For Size&amp;quot; /&amp;gt;
  &amp;lt;configuration Name=&amp;quot;Debug&amp;quot;
    c_preprocessor_definitions=&amp;quot;DEBUG; DEBUG_NRF&amp;quot;
    gcc_optimization_level=&amp;quot;None&amp;quot;/&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Maybe your debug jlink settings file is corrupted. You can try to delete the *.jlink setting files in your project directory. SES will create a new setting file next time you start a debug session.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/354477?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 08:08:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af5fdf49-1bda-4183-8df2-3e2b05b79486</guid><dc:creator>AliMahmood123</dc:creator><description>&lt;p&gt;Hi Vidar. Our custom project was in debug mode, and the bootloader project is always in Release Mode. So both need to be in Release mode. &lt;/p&gt;
&lt;p&gt;Although I don&amp;#39;t know why that is necessary. Thanks a lot for all your help and patience :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/353883?ContentTypeID=1</link><pubDate>Fri, 18 Feb 2022 14:10:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e8dd267-e9c6-4523-876f-12a80fcfbd34</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Just to confirm, you were able to reproduce this with the original unmodified SDK example as well (i.e. unmodified except for the bond configuration setting)? What SDK version do you use?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/353861?ContentTypeID=1</link><pubDate>Fri, 18 Feb 2022 13:17:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c57ba566-825f-429b-9460-212d39c00f25</guid><dc:creator>AliMahmood123</dc:creator><description>&lt;p&gt;Yes I reproduced it with the original project as well. What do you think could be the issue then? I have also tried multiple Dev boards here.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;and the settings page (with bonds enabled),&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Is there a different BL settings page for bond enabled?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/353668?ContentTypeID=1</link><pubDate>Thu, 17 Feb 2022 15:05:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05b12a17-83d6-4de8-873d-d8aea92a24d6</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure if I have seen this error before. It&amp;#39;s as if the debugger loses connection to the target. I was not able to replicate this here either. I programmed the bootloader, softdevice, buttonless template app and the settings page (with bonds enabled), and then stepped through the ble_dfu_buttonless_async_svci_init() function in main.&lt;/p&gt;
&lt;p&gt;Are you able to reproduce this with the original projects?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/353538?ContentTypeID=1</link><pubDate>Thu, 17 Feb 2022 09:11:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:944cbb2b-8501-41ca-9188-75b44fe8a35e</guid><dc:creator>AliMahmood123</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1645089074156v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1645089176234v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1645089091979v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Alongside this: &lt;img style="cursor:zoom-in;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1645017358046v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/353524?ContentTypeID=1</link><pubDate>Thu, 17 Feb 2022 08:03:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af38cfb8-6a5f-42d2-895c-e39f7c071f08</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The CPU starts execution directly from the application&amp;#39;s Reset_Handler when you use &amp;quot;Build &amp;amp; run&amp;quot;, effectively bypassing the Softdevice and Bootloader. So please use &amp;quot;Build and Debug&amp;quot; instead. This will follow the project configuration and use address 0x0 as the entry point.&lt;/p&gt;
[quote user="AliMahmood123"]However, is this the same reason I am unable to debug a project with bonded bootloader, and it is unable to go past &lt;strong&gt;ble_dfu_buttonless_async_svci_init&lt;/strong&gt;()? Am I to do something while generating the settings?[/quote]
&lt;p&gt;Where does it hang? Can you post a screenshot showing the call stack and cpu registers?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/353501?ContentTypeID=1</link><pubDate>Thu, 17 Feb 2022 05:55:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce2c73d1-1314-4230-a3f7-117d97da329e</guid><dc:creator>AliMahmood123</dc:creator><description>&lt;p&gt;Hi Sipan. Yeah I managed to solve the original issue actually&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/353411?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 14:42:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e801f81-7050-4792-93a3-4e1d35a6c205</guid><dc:creator>AliMahmood123</dc:creator><description>&lt;p&gt;Okay so I have another finding related to this. When I simply Build &amp;amp; Run the example Bootloader project, it works. Shifting it to detect bonds does not work, it keeps restarting when trying to enabling BLE : &lt;strong&gt;app: Received an error: 0x00000003!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Okay so that&amp;#39;s kinda obvious I think.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However, is this the same reason I am unable to debug a project with bonded bootloader, and it is unable to go past &lt;strong&gt;ble_dfu_buttonless_async_svci_init&lt;/strong&gt;()? Am I to do something while generating the settings?&lt;br /&gt;&lt;br /&gt;Moreover, By changing my main app project to without bonding, as well as non bonded bootloader, I am able to debug the application successfully, even without doing &lt;strong&gt;&lt;span style="background-color:#ff0000;color:#000000;"&gt;NO_VALIDATION &lt;/span&gt;&lt;/strong&gt;on the settings page&lt;br /&gt;&lt;br /&gt;So I am thinking it&amp;#39;s got something to do with bonds&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/353358?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 13:16:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc6419f9-b606-4b0d-8e83-58e40afe5d61</guid><dc:creator>AliMahmood123</dc:creator><description>&lt;p&gt;Hi Vidar&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. I figured out the DFU problem on my own, I replaced the bootloader project with my old one at it worked.&lt;/p&gt;
&lt;p&gt;So this feature has gone successfully into our candidate release. However I still can&amp;#39;t debug the project with NO_VALIDATION. Here&amp;#39;s what the IDE shows me when I try to go past &lt;strong&gt;ble_dfu_buttonless_async_svci_init&lt;/strong&gt;()&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1645017358046v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Btw I will get out of your hair after this one :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/352083?ContentTypeID=1</link><pubDate>Wed, 09 Feb 2022 13:19:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c337244-3d37-4a88-98cd-0922e73bd526</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Please make sure you have &amp;quot;&lt;span&gt;&lt;a title="Boot validation" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_secure_boot.html?cp=8_1_3_5_0_8_1#secure_boot_validation"&gt;Boot validation&lt;/a&gt;&amp;quot;&lt;/span&gt; disabled in your bootloader settings page when you are debugging.&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;$ nrfutil settings generate --help&lt;br /&gt;Usage: nrfutil settings generate [OPTIONS] HEX_FILE&lt;br /&gt;&lt;br /&gt;Options:&lt;br /&gt;&amp;nbsp; --family [NRF51|NRF52|NRF52QFAB|NRF52810|NRF52840]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nRF IC family: NRF51 or NRF52 or NRF52QFAB&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or NRF52810 or NRF52840&amp;nbsp; [required]&lt;br /&gt;&amp;nbsp; --application TEXT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The application firmware file. This can be&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; omitted ifthe target IC does not contain an&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application in flash.Requires --application-&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; version or --application-version-string.&lt;br /&gt;&amp;nbsp; --application-version INTEGER&amp;nbsp;&amp;nbsp; The application version.&lt;br /&gt;&amp;nbsp; --application-version-string TEXT&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The application version string, e.g.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;2.7.31&amp;quot;. Will be converted to an integer,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.g. 207031.&lt;br /&gt;&amp;nbsp; --bootloader-version INTEGER&amp;nbsp;&amp;nbsp;&amp;nbsp; The bootloader version.&amp;nbsp; [required]&lt;br /&gt;&amp;nbsp; --bl-settings-version INTEGER&amp;nbsp;&amp;nbsp; The Bootloader settings version.Defined in&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nrf_dfu_types.h, the following apply to&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; released SDKs:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |SDK12.0.0 - SDK15.2.0|1|&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |SDK15.3.0 -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |2|&amp;nbsp; [required]&lt;br /&gt;&amp;nbsp; --start-address INTEGER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Custom start address for the settings page.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If not specified, then the last page of the&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flash is used.&lt;br /&gt;&amp;nbsp; --no-backup&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do not overwrite DFU settings backup page.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If not specified, than the resulting .hex&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file will contain a copy of DFU settings,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; that will overwrite contents of DFU settings&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; backup page.&lt;br /&gt;&amp;nbsp; --backup-address INTEGER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Address of the DFU settings backup page&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inside flash. By default, the backup page&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; address is placed one page below DFU&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; settings. The value is precalculated based&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; on configured settings address&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&amp;lt;DFU_settings_address&amp;gt; - 0x1000).&lt;br /&gt;&lt;span style="background-color:rgba(255, 0, 0, 1);"&gt;&amp;nbsp; --app-boot-validation [NO_VALIDATION|&lt;/span&gt;VALIDATE_GENERATED_CRC|VALIDATE_GENERATED_SHA256|VALIDATE_ECDSA_P256_SHA256]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The method of boot validation for&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application.&lt;br /&gt;&amp;nbsp; --sd-boot-validation [NO_VALIDATION|VALIDATE_GENERATED_CRC|VALIDATE_GENERATED_SHA256|VALIDATE_ECDSA_P256_SHA256]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The method of boot validation for&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SoftDevice.&lt;br /&gt;&amp;nbsp; --softdevice FILE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The SoftDevice firmware file. Must be given&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if SD Boot Validation is used.&lt;br /&gt;&amp;nbsp; --key-file FILE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The private (signing) key in PEM format.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Needed for ECDSA Boot Validation.&lt;br /&gt;&amp;nbsp; --help&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Show this message and exit.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/352046?ContentTypeID=1</link><pubDate>Wed, 09 Feb 2022 11:56:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e22182f-00c0-4920-80a0-dfe600c64f39</guid><dc:creator>AliMahmood123</dc:creator><description>&lt;p&gt;Im facing a super weird issue right now. The working example I had - Bonding + LESC DFU. To make it debug I just flash bootloader and then debug the main app. Doing that brings about the same result (system restart)&lt;/p&gt;
&lt;p&gt;But when I merge BL settings + BL + APP + SD, I cant debug but the DFU happens.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/352035?ContentTypeID=1</link><pubDate>Wed, 09 Feb 2022 11:44:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:823af1e9-7eac-4257-a2c8-431484ebb64f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Lets focus on the assert for now. Can you please read the error information from the app error handler when you have hit the flash breakpoint (i.e. error code, file name, and line number) ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/352030?ContentTypeID=1</link><pubDate>Wed, 09 Feb 2022 11:22:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8feca414-a873-47d9-9196-993574d00001</guid><dc:creator>AliMahmood123</dc:creator><description>&lt;p&gt;Sorry I meant that this happens after I attempt DFU. As soon as I press DFU, the program reaches NVIC_SystemReset(). After this restart it is expected for firmware to go into DFU mode right. Instead it just reboots the app&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/352029?ContentTypeID=1</link><pubDate>Wed, 09 Feb 2022 11:17:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:053b7377-03fe-420f-8658-d2309113d77d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The program can&amp;#39;t reach both NVIC_SystemReset() in the pwr module and the flash breakpoint NRF_BREAKPOINT_COND in one session. Can you read out the error information from the app error handler?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/352020?ContentTypeID=1</link><pubDate>Wed, 09 Feb 2022 10:57:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da333255-448c-489e-bd8d-2b321fbfe1b5</guid><dc:creator>AliMahmood123</dc:creator><description>&lt;p&gt;Okay so I managed to debug the project at least. I dont merge all files and then flash and debug. I flashed the bootloader and then started to debug the project.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The debugger reaches till &lt;strong&gt;NVIC_SystemReset&lt;/strong&gt;() meaning the system does try to go into DFU mode.&lt;/p&gt;
&lt;p&gt;if ((m_pwr_mgmt_evt == NRF_PWR_MGMT_EVT_PREPARE_RESET)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; || (m_pwr_mgmt_evt == NRF_PWR_MGMT_EVT_PREPARE_DFU))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NVIC_SystemReset();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Anyways, the debugger hits NRF_BREAKPOINT_COND in &lt;strong&gt;app_error_fault_handler in app_error_weak.c&lt;/strong&gt; and then restarts.&lt;/p&gt;
&lt;p&gt;So I think the system should have gone into DFU mode at least, but either it didnt go or something else happened. Any thoughts?&lt;br /&gt;&lt;br /&gt;I promise I am going to close the issue after this haha. We have a release pending with all these features actually&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/352011?ContentTypeID=1</link><pubDate>Wed, 09 Feb 2022 10:30:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4e9f5f8-95e6-4696-8d06-6451c71be4a8</guid><dc:creator>Vidar Berg</dc:creator><description>[quote user="AliMahmood123"]However, the same doesnt happen with Bonding + LESC. I spent a whole day today. Actually the code does start debugging but gets stuck on&amp;nbsp; &lt;strong&gt;SVCALL sd_softdevice_vector_table_base_set&amp;nbsp;&lt;/strong&gt;which is called inside&amp;nbsp; ble_dfu_buttonless_async_svci_init(). It&amp;#39;s beyond me what is happening[/quote]
&lt;p&gt;Can you post a screenshot showing the call stack, disassembly, and register view when it hangs? &lt;/p&gt;
[quote user="AliMahmood123"]In fact I get block verification error on j-link when debugging[/quote]
&lt;p&gt;During debugging or when you try to flash the FW? Please post a screenshot of this as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/351931?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 20:18:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:760999ec-e8ae-43da-b6e3-d575b426c755</guid><dc:creator>sipan112</dc:creator><description>&lt;p&gt;&lt;span&gt;Not enough information. Do you start the service twice? The lib should be able to restart the device into bootloader mode automatically if you use standard Nordic buttonless service and bootloader. You don&amp;#39;t have to do it manually. Just start it when you are connected to your device, after that you may disconnect your app as the lib will take over the connection.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Error 133 is common in older devices, what devices are you using?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/351924?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 19:27:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f59afd1-8eed-41bf-bd19-65e31756ec21</guid><dc:creator>AliMahmood123</dc:creator><description>&lt;p&gt;However, once again I hope you don&amp;#39;t mind. I am facing another problem with LESC + Bonding. I can&amp;#39;t debug the application&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So I have different copies of my project. DFU with and without bonding I can easily debug even when the application is changed by skipping the CRC check in the bootloader, it works!&lt;br /&gt;&lt;br /&gt;However, the same doesnt happen with Bonding + LESC. I spent a whole day today. Actually the code does start debugging but gets stuck on&amp;nbsp; &lt;strong&gt;SVCALL sd_softdevice_vector_table_base_set&amp;nbsp;&lt;/strong&gt;which is called inside&amp;nbsp; ble_dfu_buttonless_async_svci_init(). It&amp;#39;s beyond me what is happening&lt;/p&gt;
&lt;p&gt;My thought is that I had to add a _crypto_start and _crypto_end symbol in linker script for nRF crypto to be properly enabled. These symbols were coming from the cc310.lib files. The same code works perfectly with flashing the hex file, but it doesnt work the same on debug. In fact I get block verification error on j-link when debugging&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regarding why I need to debug urgently. I added NUS service and did some custom changes with the Bonding + LESC DFU. After that, upon DFU, before nrf_pwr_mgt_shutdown is hit, the system restarts automatically. I just wanted to know what&amp;#39;s causing that even before shutdown&lt;br /&gt;&lt;br /&gt;So there I have two issues again&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&amp;nbsp;But hopefully these will be the last ones&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/351921?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 19:01:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74f58417-1926-44aa-a107-8641f76f54a8</guid><dc:creator>AliMahmood123</dc:creator><description>&lt;p&gt;Hey Vidar. Changing the phone worked. Thanks a lot! You have been of great help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/351345?ContentTypeID=1</link><pubDate>Fri, 04 Feb 2022 13:35:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02dffd87-7ebd-494b-97df-6f15c31fef03</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Generally It shouldn&amp;#39;t matter what phone you use, but sometimes it does, no devices are perfect. Please let me know if you experience the same behavior with the dongle. &lt;/p&gt;
[quote user="AliMahmood123"]Also, what kind of timing issue it might be?[/quote]
&lt;p&gt;It&amp;#39;s hard to say. The disconnect during the transfer could be caused by drift on the LF clock (on either side of the link). A sniffer trace would likely provide some more clues. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft device enable and disable - [DFU] disconnected by the remote device</title><link>https://devzone.nordicsemi.com/thread/351150?ContentTypeID=1</link><pubDate>Thu, 03 Feb 2022 14:20:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8571fda-fae0-411f-ae20-dca86f0ad9d3</guid><dc:creator>AliMahmood123</dc:creator><description>&lt;p&gt;Yes I am using the same phone, does that matter? I have an old Nokia 6.1 Plus though. It&amp;#39;s not a very recent phone&lt;/p&gt;
&lt;p&gt;Okay I will try using nRF Connect and let you know, I&amp;#39;ll use the dongle.&lt;br /&gt;&lt;br /&gt;Also, what kind of timing issue it might be?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>