<?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>Firmware not started when bootloader exists</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21956/firmware-not-started-when-bootloader-exists</link><description>I&amp;#39;ve compiled the secured DFU bootloader (from SDK 12.2) and loaded it on my board. But whenever I run my firmware, it won&amp;#39;t start (none of the expected interaction happens), moreover, if I put a breakpoint at the beginning of my main(), it won&amp;#39;t break</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 May 2017 14:08:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21956/firmware-not-started-when-bootloader-exists" /><item><title>RE: Firmware not started when bootloader exists</title><link>https://devzone.nordicsemi.com/thread/86165?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 14:08:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4edcc2f6-11e1-4eec-90a5-b1d8f75185b3</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Jonathan,&lt;/p&gt;
&lt;p&gt;this is the expected behavior if you flash Bootloader, Application and SoftDevice to your device using a programmer. The bootloader will check the bootloader settings flash page to see if the valid application flag is set, which is set to false by default. You need to generate a bootloader settings hex using nrfutil and merge this with the bootloader hex in order to set the valid app flag. This is described in Appendix 1 of &lt;a href="https://devzone.nordicsemi.com/blogs/1085/getting-started-with-nordics-secure-dfu-bootloader/"&gt;this&lt;/a&gt; blog post.&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></channel></rss>