<?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>Would DFU have timeout counting to prevent unexpected entering?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1468/would-dfu-have-timeout-counting-to-prevent-unexpected-entering</link><description>Hi sir
If nRF51822 unexpectedly enter DFU OTA mode, did boot loader have timeout counting to exit DFU?
Besides, if nRF51822 entered DFU mode and didn&amp;#39;t update new firmware, nRF51822 still can work with old firmware after exiting DFU? Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Mar 2015 05:19:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1468/would-dfu-have-timeout-counting-to-prevent-unexpected-entering" /><item><title>RE: Would DFU have timeout counting to prevent unexpected entering?</title><link>https://devzone.nordicsemi.com/thread/6561?ContentTypeID=1</link><pubDate>Thu, 12 Mar 2015 05:19:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bce73277-6265-4567-b8da-f1a307ec0bd5</guid><dc:creator>Tim Clark</dc:creator><description>&lt;p&gt;Running into the same issue -- did you ever manage to find a solution?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Would DFU have timeout counting to prevent unexpected entering?</title><link>https://devzone.nordicsemi.com/thread/6560?ContentTypeID=1</link><pubDate>Fri, 12 Sep 2014 01:25:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0a0c2fd-9b7f-465c-ada0-30214f44d5bb</guid><dc:creator>Gil dePaula</dc:creator><description>&lt;p&gt;Hi Ole,
This 60-second limit is not enough for us.  Our application is 48 kB &amp;amp; takes 35 seconds to upload.  It should be enough, but the problem is that our iOs app does DFU like this: 1. Sends a command to the main application to jump to Bootloader. 2. The application does so (sets bit in the gpregret), and the Bootloader statrts. 3. Problem: Now we cannot start the upload yet because we have to &amp;quot;forget this device (the application device)&amp;quot; in iOS, connect to the &amp;quot;DfuTarg&amp;quot; device (which takes a few seconds to be visible) and finally start the upload, but this process takes a little more than ~30 seconds.   .... So the total time is about 70 seconds !
I tried to increase the time here (#define DFU_TIMEOUT_INTERVAL APP_TIMER_TICKS(120000, APP_TIMER_PRESCALER) to 2 minutes (12 s) but the maximum it goes is about 65 seconds. (65535 ?)  Bug? How do I increase it to 2 minutes?
Thanks!
Gil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Would DFU have timeout counting to prevent unexpected entering?</title><link>https://devzone.nordicsemi.com/thread/6559?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2014 14:42:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28fb2bc4-c0a3-46c1-a22a-7fc62bcf5d80</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;That&amp;#39;s yes to both your questions. The bootloader uses a timeout of 60 s by default. Also, by default the bootloader is dual bank, meaning that the old application will not be deleted before the complete new application have succesfully been received.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>