<?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 hex files</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16088/merge-hex-files</link><description>Dear Nordic Team, 
 Thanks for support. 
 I want to merge softdevice hex and application hex. I am using windows 7 OS.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 31 Aug 2016 10:03:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16088/merge-hex-files" /><item><title>RE: Merge hex files</title><link>https://devzone.nordicsemi.com/thread/61353?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 10:03:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:005ce469-083e-455e-8822-6098dd94f076</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;The hex files you merge cannot contain data in the same address range. I suggest you try to merge a SoftDevice with a example application that you have compiled from the SDK (without any modification). In that case you should be confident that there are no conflicts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Merge hex files</title><link>https://devzone.nordicsemi.com/thread/61352?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 09:39:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a6a1606-a7ec-431c-a954-da0ed6d44f72</guid><dc:creator>Murugan</dc:creator><description>&lt;p&gt;I am tying another way in mergehex.exe replace mergehex only i am getting another error
D:&amp;gt;Merge\mergehex -m SD.hex AP.hex -o out.hex
Parsing input hex files.
Merging files.
ERROR: The hex files cannot be merged since there are conflicts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Merge hex files</title><link>https://devzone.nordicsemi.com/thread/61351?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 08:40:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:079c8f5d-ac0a-41d0-9419-0f69bfb387c8</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Then you probably have a typo in the command. The error message &amp;quot;One of the files to merge cannot be found&amp;quot; literally means that one of the source files are not where you specified that they are.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Merge hex files</title><link>https://devzone.nordicsemi.com/thread/61350?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 08:19:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe3730b2-3dc7-4ae8-a77d-83384f5bf01f</guid><dc:creator>Murugan</dc:creator><description>&lt;p&gt;I am copy the all hex and exe file in one folder (D:Merge). So its not a duplicate path.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Merge hex files</title><link>https://devzone.nordicsemi.com/thread/61349?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 07:59:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7964fa0-3449-4b7b-a68a-53ae0393d1ea</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;The file names &amp;lt;sd.hex&amp;gt; &amp;lt;app.hex&amp;gt; in my answer was just examples, you must replace it with the path to the hex files you want to merge.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Merge hex files</title><link>https://devzone.nordicsemi.com/thread/61348?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 07:41:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5995adf4-c18c-47f2-a22e-11b1ebcd98a4</guid><dc:creator>Murugan</dc:creator><description>&lt;p&gt;Thanks for reply .&lt;/p&gt;
&lt;p&gt;I am faced below error.&lt;/p&gt;
&lt;p&gt;D:&amp;gt;Merge\mergehex.exe -m SD.hex AP.hex -o comp.hex
Parsing input hex files.
ERROR: One of the files to merge cannot be found.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Merge hex files</title><link>https://devzone.nordicsemi.com/thread/61347?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 06:17:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d5891fe-cbe4-41b8-81fe-e263f46736f2</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;You can use mergehex for this purpose, which is part of &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51822/nRF5x-Command-Line-Tools-Win32/33444"&gt;nRF5x-Command-Line-Tools&lt;/a&gt;. In order to merge the SoftDevice and your application you would use something like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;mergehex.exe -m &amp;lt;sd.hex&amp;gt; &amp;lt;app.hex&amp;gt; -o comb.hex
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>