<?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>Merging bootloader and application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43150/merging-bootloader-and-application</link><description>Hello, 
 Information: 
 SEGGER Embedded studio Studio v412 
 Windows 10 
 nRF52832 on a development board. 
 
 We are attempting to merge an application with a bootloader. 
 
 First we extract the bootloader setting with: 
 nrfutil.exe settings generate</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Feb 2019 11:16:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43150/merging-bootloader-and-application" /><item><title>RE: Merging bootloader and application</title><link>https://devzone.nordicsemi.com/thread/169032?ContentTypeID=1</link><pubDate>Fri, 01 Feb 2019 11:16:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fc4fa0a-7ebc-4797-9781-01f5c1ced6da</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Your bootloader appears to have data in the &lt;a href="https://www.nordicsemi.com/DocLib/Content/SoftDevice_Spec/s140/latest/SDS/s1xx/mbr_bootloader/mbr"&gt;mbr param page&lt;/a&gt; (&lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/lib_bootloader?316#lib_bootloader_memory"&gt;memory layout&lt;/a&gt;), or have you allocated a different flash page for this (is allocated/reserved in flash_placement.xml)?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I just programmed the two hex files with the --sectorease to&amp;nbsp;find out were the&amp;nbsp;overlap was:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-cefaab85e1724a08b7f8cbcf2b788ff9/Capture.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;Note: bootloader settings occupy two flash pages if you use sdk 15.2.0. Otherwise you should use the --no-backup option when you generate the settings page with nrfutil.&lt;/p&gt;
&lt;p&gt;Have a nice weekend:)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Merging bootloader and application</title><link>https://devzone.nordicsemi.com/thread/169002?ContentTypeID=1</link><pubDate>Fri, 01 Feb 2019 09:13:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85fb6b7b-0d4c-4b23-8ad8-36af7712809e</guid><dc:creator>Jesper de</dc:creator><description>&lt;p&gt;we have checked the bootloader_settings_page, and it look like the post you have made.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here are the files - could you please explain what you are looking for in them?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1067.bootloader_5F00_setting.hex"&gt;devzone.nordicsemi.com/.../1067.bootloader_5F00_setting.hex&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/dfu_5F00_fw.hex"&gt;devzone.nordicsemi.com/.../dfu_5F00_fw.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;have a nice weekend&lt;/p&gt;
&lt;p&gt;Jesper de Fries&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Merging bootloader and application</title><link>https://devzone.nordicsemi.com/thread/168698?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 12:57:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76b4707e-bcb7-40e1-bd34-fa62c5ff5eb1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The settings page should not overlap with bootloader image. Have you made any changes to the default bootloader layout (i.e., Changing the address of the bootloader settings page)? Please verify that the &amp;quot;bootloader_settings_page&amp;quot; segment in flash_placement.xml looks like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="xml"&gt;  &amp;lt;MemorySegment name=&amp;quot;bootloader_settings_page&amp;quot; start=&amp;quot;0x0007F000&amp;quot; size=&amp;quot;0x1000&amp;quot;&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; keep=&amp;quot;Yes&amp;quot; load=&amp;quot;No&amp;quot; name=&amp;quot;.bootloader_settings_page&amp;quot; address_symbol=&amp;quot;__start_bootloader_settings_page&amp;quot; end_symbol=&amp;quot;__stop_bootloader_settings_page&amp;quot; start = &amp;quot;0x0007F000&amp;quot; size=&amp;quot;0x1000&amp;quot; /&amp;gt;
  &amp;lt;/MemorySegment&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I can also try to find the &amp;quot;conflict&amp;quot; if you can upload bootloader_setting.hex and&amp;nbsp;dfu_fw.hex&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>