<?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>Bootloader doesn&amp;#39;t load application with watchdog</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30677/bootloader-doesn-t-load-application-with-watchdog</link><description>Hi, 
 I&amp;#39;ve recently enabled the watchdog in our project which included buttonless DFU. Project is based on FreeRTOS, SDK14.0, S132 v5.0.0 on custom board nRF52. 
 Since the bootloader is currently in a locked state and can&amp;#39;t be modified, I set the watchdog</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Oct 2018 06:21:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30677/bootloader-doesn-t-load-application-with-watchdog" /><item><title>RE: Bootloader doesn't load application with watchdog</title><link>https://devzone.nordicsemi.com/thread/153959?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 06:21:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1cabe9c-aef9-4b97-a904-ca5beccf1d5a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, in SDK 15:)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader doesn't load application with watchdog</title><link>https://devzone.nordicsemi.com/thread/153922?ContentTypeID=1</link><pubDate>Mon, 22 Oct 2018 19:12:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2890be29-a75c-46ce-ab7d-0faedce8b5d8</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is this supported now ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader doesn't load application with watchdog</title><link>https://devzone.nordicsemi.com/thread/121481?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2018 08:47:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a80470df-a2d0-4d97-bce2-230d5e49c2dd</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Unfortunately, I don&amp;#39;t see any other alternatives. The current bootloader implementation requires modifications to support the WDT. This&amp;nbsp;has been reported as a feature request internally, and may be added in a future release.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader doesn't load application with watchdog</title><link>https://devzone.nordicsemi.com/thread/121426?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2018 15:59:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13f791cb-8658-45f4-9321-829984cd1ae3</guid><dc:creator>gkovelman_tap</dc:creator><description>&lt;p&gt;I thought of this, but the watchdog reset also clears&amp;nbsp;gpregret &amp;amp; &lt;span&gt;gpregret2&amp;nbsp;&lt;/span&gt;so I can&amp;#39;t use buttonless DFU&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader doesn't load application with watchdog</title><link>https://devzone.nordicsemi.com/thread/121425?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2018 15:55:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0df7e652-b208-4088-8f60-8a045dd98adc</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;The watchdog reset clears the watchdog, too. So you can try starting the bootloader with a watchdog reset. Consider using a shorter timeout than 5 minutes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader doesn't load application with watchdog</title><link>https://devzone.nordicsemi.com/thread/121398?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2018 14:23:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af07dc12-d2a8-438a-897c-6d587c0dc1ce</guid><dc:creator>gkovelman_tap</dc:creator><description>&lt;p&gt;Using a WDT is common and it&amp;#39;s expected from the bootloader to handle such case.&lt;br /&gt;it&amp;#39;s very unfortunate that I have to discover this at such late stage.&lt;/p&gt;
&lt;p&gt;Is there another workaround? Another way to overcome this without updating the bootloader?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader doesn't load application with watchdog</title><link>https://devzone.nordicsemi.com/thread/121386?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2018 13:12:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:944427fb-a9d6-4b3a-aaf3-9d45ebb06926</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The bootloader implementation attempts to clean up everything before booting the app. The reason for doing this is to ensure that the app boots into the same state as it would if you didn&amp;#39;t have a bootloader present.&amp;nbsp; This could be useful if you had an app that didn&amp;#39;t use the LF clock source. Although, most applications uses it.&lt;/p&gt;
&lt;p&gt;The WDT will automatically request the LF clock as you said, and&amp;nbsp;I&amp;#39;m afraid the only solution apart from not using WDT is to remove clock uninit from the bootloader code.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>