<?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>Flashing new bootloader settings along with an application.hex on top of an already existing bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35236/flashing-new-bootloader-settings-along-with-an-application-hex-on-top-of-an-already-existing-bootloader</link><description>Hey guys, 
 The project I&amp;#39;m working on utilizes the secure DFU bootloader and buttonless DFU. 
 To get the application working I had to generate a bootloader-settings file. I merge this with the secure bootloader hex file and flashed it. 
 I am under</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Jun 2018 13:02:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35236/flashing-new-bootloader-settings-along-with-an-application-hex-on-top-of-an-already-existing-bootloader" /><item><title>RE: Flashing new bootloader settings along with an application.hex on top of an already existing bootloader</title><link>https://devzone.nordicsemi.com/thread/135593?ContentTypeID=1</link><pubDate>Mon, 11 Jun 2018 13:02:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92108200-cfc0-44e9-a08f-b11d7d59deaa</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;From the blog post you linked to.&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote]The bootloader uses its bootloader setting to detect if a valid application is flashed on the chip or not. CRC check will be performed when booting. If we simply flash the application with the bootloader using the programmer, the bootloader won&amp;#39;t be able to detect there is a valid app already flashed and it will enter DFU mode, your application won&amp;#39;t start.[/quote]
&lt;p&gt;&lt;/p&gt;
[quote userid="71948" url="~/f/nordic-q-a/35236/flashing-new-bootloader-settings-along-with-an-application-hex-on-top-of-an-already-existing-bootloader"]Does this mean every time I update the application I have to reflash a new merged bootloader and then a new application package?[/quote]
&lt;p&gt;&lt;span&gt;No, if you skip the&amp;nbsp;integrity check, you don&amp;#39;t need to do this.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/32493/how-to-debug-application-code-after-add-other-service-to-bottonless-dfu/125413#125413"&gt;See this post&lt;/a&gt;. Also note that SDK 15&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/lib_bootloader.html?cp=4_0_0_3_5_0_3#lib_bootloader_app_start"&gt;added optional skipping of application CRC check&lt;/a&gt;. CRC check can be skipped on wakeup from System Off or on special value written to GPREGRET2 register (when bit 1 (0-indexed) is set in the GPREGRET2 register).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>