<?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>in button less dfu ,how can i switch from dfu trag mode to  my previous  ble application(firmware)  if i dont want to  upload  new firmware</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86097/in-button-less-dfu-how-can-i-switch-from-dfu-trag-mode-to-my-previous-ble-application-firmware-if-i-dont-want-to-upload-new-firmware</link><description>I am working on my nrf52810 . I just found an issue that, when my device enter DFU mode its show dfu trag , I can not return to the application(If I do not want to upload new firmware. so how can i switch from dfu trag mode to my previous ble application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Mar 2022 21:34:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86097/in-button-less-dfu-how-can-i-switch-from-dfu-trag-mode-to-my-previous-ble-application-firmware-if-i-dont-want-to-upload-new-firmware" /><item><title>RE: in button less dfu ,how can i switch from dfu trag mode to  my previous  ble application(firmware)  if i dont want to  upload  new firmware</title><link>https://devzone.nordicsemi.com/thread/359460?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2022 21:34:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4d3b3eb-9a26-45c2-8b77-314ebc0da7b1</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;There is a timeout in the DFU mode, so eventually, the application will return to the default application.&lt;/p&gt;
&lt;p&gt;That is almost always the case. The exception would be if you started transferring a DFU image, or the init packet of the DFU image. In that case, the application may have been deleted, depending on the size of the new image.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But if you only put the device in DFU mode, there should be a timeout that will take the nRF back into the application.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know what SDK version you are using, but referencing the latest SDK version, SDK 17.1.0:&lt;/p&gt;
&lt;p&gt;Please open the bootloader project that you are using, and in your bootloader&amp;#39;s sdk_config.h file, you should see a section:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;o&amp;gt; NRF_BL_DFU_INACTIVITY_TIMEOUT_MS - Timeout in ms before automatically starting a valid application due to inactivity.  &amp;lt;0-60000000&amp;gt; 


// &amp;lt;i&amp;gt; If 0, no inactivity timer will be used. Values 1-99 are invalid.

#ifndef NRF_BL_DFU_INACTIVITY_TIMEOUT_MS
#define NRF_BL_DFU_INACTIVITY_TIMEOUT_MS 120000
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;this is&amp;nbsp;pretty much what it sounds like.&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;NRF_BL_DFU_INACTIVITY_TIMEOUT_MS is the timeout (given in ms, so in this case, 120 seconds)&amp;nbsp;that it takes from the last received (if any) DFU packet before it will restart the old application.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I hope this answered your question.&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></channel></rss>