<?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>Conflict error with mergehex  command</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46558/conflict-error-with-mergehex-command</link><description>Hello 
 I am using SDK12.3 on nRF51822 chip using Keil V5 on windows 10. 
 I am using experimental_ble_app_buttonless_dfu example and bootloader_secure example. 
 They both work as expected. 
 Now I want to generate a bootloader merged that contains the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Apr 2019 14:12:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46558/conflict-error-with-mergehex-command" /><item><title>RE: Conflict error with mergehex  command</title><link>https://devzone.nordicsemi.com/thread/183864?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2019 14:12:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b82f054c-05cc-4788-8f41-aa156106af32</guid><dc:creator>youssefchei</dc:creator><description>&lt;p&gt;Hi Bjorn&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;&lt;span&gt;&lt;strong&gt;nrfutil&lt;/strong&gt; version I&amp;#39;m using is &lt;strong&gt;V:5.0.0&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;According to &lt;strong&gt;nrfutil &lt;/strong&gt;web site&lt;strong&gt;:&amp;nbsp;&lt;a href="https://libraries.io/pypi/nrfutil"&gt;https://libraries.io/pypi/nrfutil&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;&amp;quot;In order to generate firmware images, compatible with&amp;nbsp;&lt;/span&gt;nRF SDK 12.0 to nRF SDK 15.0&lt;span&gt;, use&amp;nbsp;&lt;/span&gt;&lt;span style="text-decoration:underline;"&gt;&lt;code&gt;--no-backup&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;switch during the generation of DFU settings.&amp;quot;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;So , the new generating setting command is :&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrfutil&lt;/span&gt;&lt;span&gt;&amp;nbsp;settings generate --family NRF51 --application APP\nRF51_&lt;/span&gt;&lt;span&gt;x&lt;/span&gt;&lt;span&gt;_&lt;/span&gt;&lt;span&gt;x&lt;/span&gt;&lt;span&gt;_&lt;/span&gt;&lt;span&gt;x&lt;/span&gt;&lt;span&gt;.hex --application-version 111 --bootloader-version 10 --bl-settings-version 1 BL_Settings\BL_settings.hex&amp;nbsp;&lt;strong&gt;&lt;code&gt;--no-backup&amp;nbsp;&lt;/code&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When the new command is executing, the orange part in the BL_settings.hex is no longer there and the merge command is executed with success&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;code&gt;--&amp;gt;&amp;nbsp; &lt;/code&gt;&lt;code&gt;&lt;span style="text-decoration:underline;"&gt;--no-backup&lt;/span&gt;&lt;/code&gt;&lt;code&gt;&amp;nbsp; solve the problem&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Youssef&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;&lt;code&gt;&lt;/code&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conflict error with mergehex  command</title><link>https://devzone.nordicsemi.com/thread/183687?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2019 08:36:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15b6d852-1221-4ac9-9b20-4626214457af</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;HI Yossef,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;which version of nrfutil are you using? You need to make sure that you&amp;#39;re using version between 1.5.0 and 4.0.0&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The DFU package format transitioned from legacy to modern in SDK 12.0. Depending on the SDK version that you are using you will need to select a release of this tool compatible with it:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Version 0.5.2 generates legacy firmware packages compatible with&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;nRF SDK 11.0 and older&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Versions 1.5.0 and later generate modern firmware packages compatible with&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;nRF SDK 12.0 and newer&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Versions 4.0.0 and later generate modern firmware packages compatible with&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;nRF SDK 15.1 and newer&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Versions 5.0.0 and later generate modern firmware packages compatible with&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;nRF SDK 15.3 and newer&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Also there is a known issue with the MBR params page being included in the application, which is not needed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/17358/sdk-12-bootloader-erased-after-programming/66735#66735"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/17358/sdk-12-bootloader-erased-after-programming/66735#66735&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>