<?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>Buttonless DFU Timeout</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19770/buttonless-dfu-timeout</link><description>Hi, 
 What happens if a user initiates DFU but never continues the process of uploading an image, does the device sit in this mode indefinitely long? 
 How might we implement a timeout back to application if say, no image has attempted upload for 60</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Feb 2017 09:36:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19770/buttonless-dfu-timeout" /><item><title>RE: Buttonless DFU Timeout</title><link>https://devzone.nordicsemi.com/thread/76871?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2017 09:36:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2760b3b-8405-416b-988b-328585982766</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Parco,&lt;/p&gt;
&lt;p&gt;You can implement this using the Watchdog timer, as suggested by @(wtbn) wojtek. I have implemented this in &lt;a href="https://devzone.nordicsemi.com/question/103394/s130-dfu-ble-bootloader-no-timeout/"&gt;this&lt;/a&gt; answer.&lt;/p&gt;
&lt;p&gt;You can also use the RTC (similar to using the Application Timer) as shown in &lt;a href="https://devzone.nordicsemi.com/question/107007/sdk122-secure-dfu-timeout/"&gt;this&lt;/a&gt; answer.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU Timeout</title><link>https://devzone.nordicsemi.com/thread/76870?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2017 00:35:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcb46924-3933-4356-9a6c-dad9391985dc</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Sounds like a good solution to me&lt;/p&gt;
&lt;p&gt;I would have thought that for most scenarios having a timeout on DFU would be a good idea&lt;/p&gt;
&lt;p&gt;The bootloader could check if the application memory area is blank, if non - blank it could jump to the application when the timer expired.&lt;/p&gt;
&lt;p&gt;Otherwise this sounds like a potential DOS attack, as devices could be sent to DFU and are then out of action.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU Timeout</title><link>https://devzone.nordicsemi.com/thread/76869?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2017 15:11:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95d919b4-1166-42e0-98e6-1130848ebefb</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;What I do in my modified bootloader is automatic jump (using app_timer) to application if no data packets are received in some defined time. Also, I am using hardware watchdog kicked periodically during connection.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>