<?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>write to nRF52840 dk with hex file by command line</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41785/write-to-nrf52840-dk-with-hex-file-by-command-line</link><description>I want to write to nRF52840 the example &amp;quot;ble_app_hrs_pca10056&amp;quot; from nRF5_SDK_15.2.0 by command line. 
 first I merge 3 hex file (bootloader, softdevice and app) with the command : 
 mergehex -m qspi_bootloader_pca10056.hex s140_nrf52_6.1.1_softdevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Dec 2018 12:51:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41785/write-to-nrf52840-dk-with-hex-file-by-command-line" /><item><title>RE: write to nRF52840 dk with hex file by command line</title><link>https://devzone.nordicsemi.com/thread/162951?ContentTypeID=1</link><pubDate>Mon, 24 Dec 2018 12:51:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16e48750-ea88-48c4-8151-32f4041be735</guid><dc:creator>netanel4630</dc:creator><description>&lt;p&gt;Thanks for your help. Im try to do what you wrote. I succeeded to output settings page with the command &amp;quot;&lt;/p&gt;
&lt;pre class="pre codeblock"&gt;&lt;code&gt;nrfutil settings generate --family NRF52840 --application app.hex --application-version 3 --bootloader-version 2 --bl-settings-version 1 settings.hex&amp;quot;&lt;br /&gt;&lt;br /&gt;when i change the name file of the application. After that I try to merge all the file together and get &amp;quot;conflict&amp;quot;&lt;br /&gt;Im use SDK 15.2.0 and I dont know which  version I need to write for every argument + I dont know if the files I merge are good to be merge together.&lt;br /&gt;&lt;br /&gt;Can you guide me to a specific files from this sdk and what version they are? &lt;br /&gt;Now I only need to some example be written to the nordic by the command line&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: write to nRF52840 dk with hex file by command line</title><link>https://devzone.nordicsemi.com/thread/162714?ContentTypeID=1</link><pubDate>Thu, 20 Dec 2018 15:49:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ea11b08-1957-47af-a560-4aefd371dc0e</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You need to also &lt;a href="https://www.nordicsemi.com/DocLib/Content/User_Guides/nrfutil/latest/UG/nrfutil/nrfutil_settings_generate_display"&gt;generate a bootloader settings page &lt;/a&gt;and flash it to the device together with BL+SD+App. Not doing so results in the bootloader &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/19541/bootloader-settings-page"&gt;not starting the application on startup&lt;/a&gt;. In addition to that, note that you should erase flash before programming, or at least erase the page containing the MBR parameter storage. (MBR parameter storage is used for backup for the bootloader settings page, for SDK 15.2 bootloader and later.)&lt;/p&gt;
&lt;p&gt;I suggest that you have a look at &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;Getting started with Nordic&amp;#39;s Secure DFU bootloader, a step by step guide&lt;/a&gt;, (although it may still be missing the detail about making sure the MBR parameter storage page is empty.)&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>