<?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>main app not starting from within bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77565/main-app-not-starting-from-within-bootloader</link><description>My goal was to make a bootloader, that, when not requested, still goes do DFU mode for 5 seconds, 
 so that there is always an option to get to the bootloader after boot, even when the application is too broken to request it. 
 My issue is that in my</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Jul 2021 15:00:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77565/main-app-not-starting-from-within-bootloader" /><item><title>RE: main app not starting from within bootloader</title><link>https://devzone.nordicsemi.com/thread/320758?ContentTypeID=1</link><pubDate>Mon, 19 Jul 2021 15:00:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1848734-8953-4f15-a0fd-89ae25a99d4e</guid><dc:creator>Daniel Dakhno</dc:creator><description>&lt;p&gt;While I havn&amp;#39;t figured out how to start into the application from the bootloader directly I am now using a workaround&lt;/p&gt;
&lt;p&gt;by checking&amp;nbsp;&lt;span&gt;NRF_POWER&lt;/span&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;&lt;span&gt;GPREGRET in the bootloader, activating dfu for two seconds in case of&amp;nbsp;GPREGRET being 0 and incrementing&amp;nbsp;GPREGRET.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;After two seconds, if there has been no connection to dfu, I do NVIC_SystemReset, thus rebooting the bootloader and checking&amp;nbsp;GPREGRET again, which is 1 by the time of the seconds boot.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In case of&amp;nbsp;GPREGRET being 1 the bootloader skips all the dfu stuff and directly starts the application.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: main app not starting from within bootloader</title><link>https://devzone.nordicsemi.com/thread/320755?ContentTypeID=1</link><pubDate>Mon, 19 Jul 2021 14:55:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:819e6962-3c32-4e58-a9c7-92c833c9e8c4</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Nordic is short on staff, so you will need to wait a little bit until the right expertise comes along. It will hopefully not take too long. Thanks for your patience.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>