<?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>Application can not start from merge file of [SD + APP + BL + BL Setting]</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96063/application-can-not-start-from-merge-file-of-sd-app-bl-bl-setting</link><description>Hi, 
 
 I am using 
 SDK = 17-1-0 and 
 Chip = nRF52811 
 SD = &amp;quot;s112_nrf52_7.2.0_softdevice.hex&amp;quot; 
 BL = &amp;quot;BLE_Secure_Bootloader&amp;quot; 
 
 Device can not start in application while I am flashing merge file with SD + APP + BL + BL Setting. 
 It will stay in bootloader</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 27 Jan 2023 09:19:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96063/application-can-not-start-from-merge-file-of-sd-app-bl-bl-setting" /><item><title>RE: Application can not start from merge file of [SD + APP + BL + BL Setting]</title><link>https://devzone.nordicsemi.com/thread/406802?ContentTypeID=1</link><pubDate>Fri, 27 Jan 2023 09:19:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d0849a8-6765-431a-a835-0442688b7005</guid><dc:creator>ByteSpectrum</dc:creator><description>&lt;p&gt;Thanks, Now its working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application can not start from merge file of [SD + APP + BL + BL Setting]</title><link>https://devzone.nordicsemi.com/thread/406776?ContentTypeID=1</link><pubDate>Fri, 27 Jan 2023 07:46:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf731615-7eea-4f16-a94a-b921b92a4c9f</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see the problem now. You are using&amp;nbsp;&lt;code&gt;--family NRF52&lt;/code&gt; when you generate the settings, and this will generate&amp;nbsp;a settings page&amp;nbsp;at the incorrect location. The bootloader settings page is always in the last flash page, and you need to specify a device with the same amount of flash as your device (nRF52811). So you need to use &lt;code&gt;--family&amp;nbsp;NRF52810&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application can not start from merge file of [SD + APP + BL + BL Setting]</title><link>https://devzone.nordicsemi.com/thread/406771?ContentTypeID=1</link><pubDate>Fri, 27 Jan 2023 06:21:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed8170a5-f1a1-47ea-abe2-c70bc40d2b48</guid><dc:creator>ByteSpectrum</dc:creator><description>&lt;p&gt;Thanks for reply&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;have generate merge in single shot.&lt;/p&gt;
&lt;p&gt;mergehex --merge &lt;strong&gt;bl&lt;/strong&gt;.hex &lt;strong&gt;sd&lt;/strong&gt;.hex &lt;strong&gt;blsetting&lt;/strong&gt;.hex &lt;strong&gt;app&lt;/strong&gt;.hex --output &lt;strong&gt;merge.hex&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Also&amp;nbsp;updated nrfutil to &amp;quot;v6.1.7&amp;quot; but still&amp;nbsp;getting same issue and tried in other system which has nrfutil &amp;quot;v6.1.6&amp;quot; but not working.&lt;/p&gt;
&lt;p&gt;Can you please try to generate merge file at your end and check it?&lt;/p&gt;
&lt;p&gt;Application, Bootloader and softdevice&amp;nbsp;HEX files added in zip.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/merge.zip"&gt;devzone.nordicsemi.com/.../merge.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application can not start from merge file of [SD + APP + BL + BL Setting]</title><link>https://devzone.nordicsemi.com/thread/406671?ContentTypeID=1</link><pubDate>Thu, 26 Jan 2023 13:38:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b72a034b-c322-4027-8880-ce26af6146cc</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This approach looks correct. I wonder which nRF Command Line Tools version you have though? There was an issue some time ago where mergehex has a bug that produced corrupt hex files. So it could be worth updating to the latest version. (with a recent version of mergehex you can also merge all files in one go, as you can have an arbitrary number of input files.&lt;/p&gt;
&lt;p&gt;nrfutil 5.2.0 should be OK, but if you still struggle I would update that to the &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-util"&gt;latest&lt;/a&gt;&amp;nbsp;as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>