<?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>Merge firmware .hex with DFU Key</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33724/merge-firmware-hex-with-dfu-key</link><description>Hello! 
 
 During the development phase, we have been flashing our nRF52 devices directly (though the debugger) and with no signing keys. We have also tested flashing the devices over the air (now with signing keys), because it can be very convenient</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 May 2018 11:06:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33724/merge-firmware-hex-with-dfu-key" /><item><title>RE: Merge firmware .hex with DFU Key</title><link>https://devzone.nordicsemi.com/thread/131482?ContentTypeID=1</link><pubDate>Wed, 09 May 2018 11:06:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce028290-1d94-453f-89bd-363a75310355</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello, the order doesn&amp;#39;t matter when you merge hex files. Are you able to share your merged hex files so I can try it here. Alternatively, read out the cpu registers, it may give an indication on where and why it fails. You can use the --readregs option in nrfjprog for this: nrfjprog --readregs&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Merge firmware .hex with DFU Key</title><link>https://devzone.nordicsemi.com/thread/131479?ContentTypeID=1</link><pubDate>Wed, 09 May 2018 10:56:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f867411e-a0bc-4d61-b8d9-a69024295517</guid><dc:creator>AmiguelS</dc:creator><description>&lt;p&gt;Hello, I&amp;#39;m sorry for insisting on this, but I&amp;#39;d just like to confirm that the order App &amp;gt; Settings &amp;gt; Bootloader &amp;gt; Softdevice is the correct one. Although I&amp;#39;m able to merge all the files and flash them, there is no device boot. Not event the bootloader starts...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Merge firmware .hex with DFU Key</title><link>https://devzone.nordicsemi.com/thread/130731?ContentTypeID=1</link><pubDate>Thu, 03 May 2018 07:24:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e686c56-6c5b-482e-88c6-e61370804390</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi, documentation for the &amp;quot;mergehex&amp;quot; tool&amp;nbsp;can be found here: &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.tools/dita/tools/nrf5x_command_line_tools/nrf5x_mergehex.html?cp=5_1_2"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.tools/dita/tools/nrf5x_command_line_tools/nrf5x_mergehex.html?cp=5_1_2&lt;/a&gt;. The procedure is the same regardless of toolchain.&lt;/p&gt;
&lt;p&gt;e.g.,&lt;/p&gt;
&lt;p&gt;mergehex -m&amp;nbsp;APPLICATION.hex SETTINGS.hex BOOTLOADER.hex -o APPBL.hex // mergetool can merge 3 hex files at a time.&lt;/p&gt;
&lt;p&gt;mergehex -m&amp;nbsp;APPBL.hex SOFTDEVICE -o FINAL.hex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Merge firmware .hex with DFU Key</title><link>https://devzone.nordicsemi.com/thread/130567?ContentTypeID=1</link><pubDate>Wed, 02 May 2018 13:05:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f56e763-f187-45d9-8ec4-55cfb9efe809</guid><dc:creator>AmiguelS</dc:creator><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;Could you please clarify what procedure should be followed to merge the complete .hex (using the settings page generated from the link you mentioned)? Is the procedure the same when using gcc?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Merge firmware .hex with DFU Key</title><link>https://devzone.nordicsemi.com/thread/129593?ContentTypeID=1</link><pubDate>Tue, 24 Apr 2018 13:49:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:675947dc-b3ac-4830-a3f8-58dcc15a2679</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi, did you check out the link I referred to? Bootloader needs to know the checksum value of the application image in order to validate it on boot, and will fall back to DFU mode if it is unable to verify it.&amp;nbsp; The checksum value along with other flags are stored in the bootloader settings page.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Merge firmware .hex with DFU Key</title><link>https://devzone.nordicsemi.com/thread/129462?ContentTypeID=1</link><pubDate>Tue, 24 Apr 2018 07:09:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4084a15-4b16-43c2-8bd3-d7b665745f5e</guid><dc:creator>Toyman</dc:creator><description>&lt;p&gt;I have exactly the same issue: I need to find a way to flash SD+Bootloader + app alltogether or at least one after another, but &amp;quot;by wire&amp;quot;.&lt;/p&gt;
&lt;p&gt;Do I understand correctly, that it&amp;#39;s a lack of the settings page that prevents the bootloader from launching the app that was flashed and not OTA-ed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Merge firmware .hex with DFU Key</title><link>https://devzone.nordicsemi.com/thread/129443?ContentTypeID=1</link><pubDate>Tue, 24 Apr 2018 06:29:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11fced1b-aec5-4181-a827-ab57b7375c35</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The thread you linked to explained how to generate the settings page for the old bootloader, but this approach has changed for the new secure bootloader. Please refer to Appendix 1 in this blog post for instructions on how to generate and merge the setttings page:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>