<?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>How do I combine the softdevice, my application, and the dfu into a single hex?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3261/how-do-i-combine-the-softdevice-my-application-and-the-dfu-into-a-single-hex</link><description>When I try to use the mergehex tool to combine all three my application never seems to get properly combined. 
 What I&amp;#39;m doing: 
 mergehex -m softdevice.hex myapp.hex -o sd_myapp.hex 
 mergehex -m myapp.hex dfu.hex -o sd_myapp_dfu.hex 
 nrfjprog.exe</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Sep 2014 10:19:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3261/how-do-i-combine-the-softdevice-my-application-and-the-dfu-into-a-single-hex" /><item><title>RE: How do I combine the softdevice, my application, and the dfu into a single hex?</title><link>https://devzone.nordicsemi.com/thread/11926?ContentTypeID=1</link><pubDate>Wed, 24 Sep 2014 10:19:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a35fc0ce-ea97-453d-a644-792f786dcf3a</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Thanks Nikita, I managed to piece it together from the threads. I used your screenshot PLUS the little snippet of code that needed changing in the settings (was quite a subtle change) and it&amp;#39;s all good now.&lt;/p&gt;
&lt;p&gt;Thanks for the informative post in the first place!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I combine the softdevice, my application, and the dfu into a single hex?</title><link>https://devzone.nordicsemi.com/thread/11925?ContentTypeID=1</link><pubDate>Wed, 24 Sep 2014 08:54:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5a4d981-b62d-4496-843b-58e3fe72e3de</guid><dc:creator>Nikita</dc:creator><description>&lt;p&gt;Chris, read &lt;a href="https://devzone.nordicsemi.com/question/12800/flashing-bootloader-and-application-via-j-link/?answer=12842#post-id-12842"&gt;this&lt;/a&gt; and &lt;a href="https://devzone.nordicsemi.com/question/14988/cannot-init-the-m_boot_settings-in-s110-70-bootloader/?answer=15146#post-id-15146"&gt;this&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I combine the softdevice, my application, and the dfu into a single hex?</title><link>https://devzone.nordicsemi.com/thread/11924?ContentTypeID=1</link><pubDate>Wed, 24 Sep 2014 08:21:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aee28279-6a02-445f-9725-34f714d7a5b3</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;How can it resolve the checksum issue? I just tried this and yes, it flashes my SD / Bootloader and App, but the boot loader fails to jump to the app since it wasn&amp;#39;t loaded via the DFU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I combine the softdevice, my application, and the dfu into a single hex?</title><link>https://devzone.nordicsemi.com/thread/11923?ContentTypeID=1</link><pubDate>Thu, 28 Aug 2014 14:12:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:853fa014-168f-4f46-b7b9-673add4762e0</guid><dc:creator>Akbar Dhanaliwala</dc:creator><description>&lt;p&gt;Thanks Nikita!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I combine the softdevice, my application, and the dfu into a single hex?</title><link>https://devzone.nordicsemi.com/thread/11922?ContentTypeID=1</link><pubDate>Thu, 28 Aug 2014 14:03:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:380fe9c5-e244-4d0d-b57e-f105f7e5d204</guid><dc:creator>Nikita</dc:creator><description>&lt;p&gt;You can solve checksum problem with &lt;a href="https://devzone.nordicsemi.com/question/12800/flashing-bootloader-and-application-via-j-link/"&gt;this&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;And it&amp;#39;s not require 3 separate flash procedures, nrfjprog will parse all 3 input hex files and flash it all together.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I combine the softdevice, my application, and the dfu into a single hex?</title><link>https://devzone.nordicsemi.com/thread/11921?ContentTypeID=1</link><pubDate>Thu, 28 Aug 2014 13:56:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd4fbca2-3904-4126-a694-d93cf8ccc7d1</guid><dc:creator>Akbar Dhanaliwala</dc:creator><description>&lt;p&gt;This requires 3 separate flash procedures (not to mention this doesn&amp;#39;t work either because the DFU writes the checksum to flash, so the application.hex needs to go through the DFU or on bootup the checksum will fail). I want a single master hex so I can do a single flash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I combine the softdevice, my application, and the dfu into a single hex?</title><link>https://devzone.nordicsemi.com/thread/11919?ContentTypeID=1</link><pubDate>Thu, 14 Aug 2014 14:56:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35fb10f2-af75-4133-a2c1-1c597a439b15</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;If you got your answer, please accept it. If not, please comment why you didn&amp;#39;t.&lt;/p&gt;
&lt;p&gt;How are you testing that the files are not merged correctly? Please elaborate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I combine the softdevice, my application, and the dfu into a single hex?</title><link>https://devzone.nordicsemi.com/thread/11920?ContentTypeID=1</link><pubDate>Fri, 25 Jul 2014 15:46:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2b5d238-10fd-4602-88ac-603a7df9f178</guid><dc:creator>Nikita</dc:creator><description>&lt;p&gt;Why not do like this?&lt;/p&gt;
&lt;p&gt;nrfjprog.exe --eraseall --programs softdevice.hex --program application.hex bootloader.hex --verify --reset&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>