<?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 - area overlap</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70519/merge-hex---area-overlap</link><description>I having issues when merging softdevice and application hex files together. If I use nrfConnect and I add the two hex files not merged ( ble_app.hex and s132_nrf52_7.2.0_softdevice.hex ) or if I use SES, everything works fine. The target device is nRF52832</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Jun 2021 07:10:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70519/merge-hex---area-overlap" /><item><title>RE: merge hex - area overlap</title><link>https://devzone.nordicsemi.com/thread/315757?ContentTypeID=1</link><pubDate>Thu, 17 Jun 2021 07:10:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:677b4e17-3748-4104-aa8a-17ea6e0932fe</guid><dc:creator>ANewman</dc:creator><description>&lt;p&gt;Thank you so much for the release of mergehex 10.12.2. I have been chasing this issue for days, finally coming to the conclusion that mergehex was producing a merged hex file with a defect in it. Once I was satisfied that mergehex had a defect I decided to search the DevZone and found this thread. Within minutes I had downloaded and installed nRF Command Line Tools 10.12.2 and produced a correct hex file. Thanks again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: merge hex - area overlap</title><link>https://devzone.nordicsemi.com/thread/310648?ContentTypeID=1</link><pubDate>Thu, 20 May 2021 09:07:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23b6f0c6-5cac-4b99-8ea5-e31b49ecbf79</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;No, unfortunately not. However, we decided to pull in the mergehex fix and it will be part of a 10.12.2 release of nRF Command Line Tools that is about to go out the door. It is not out yet, but should be out any day now (possibly even today). When it happens, you can find it &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Command-Line-Tools/Download"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: merge hex - area overlap</title><link>https://devzone.nordicsemi.com/thread/310583?ContentTypeID=1</link><pubDate>Thu, 20 May 2021 00:07:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cea7c8bb-c97f-48b3-8946-26b23cdd38b2</guid><dc:creator>yogee</dc:creator><description>&lt;p&gt;Hi Enar,&lt;/p&gt;
&lt;p&gt;Is the Command Line Tools (10.13.x) resealed?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: merge hex - area overlap</title><link>https://devzone.nordicsemi.com/thread/289976?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2021 11:05:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:726d6dab-b7be-42bd-957d-aeb7601aa060</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I was wrong. This is an issue with mergehex, though nrfjprog does not complain. It will be fixed in the next release of nRF Command Line tools (10.13.0).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: merge hex - area overlap</title><link>https://devzone.nordicsemi.com/thread/289921?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2021 07:36:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e46b0d4b-e4e4-4b0f-a6cd-3456f9360e73</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Yes, I agree. I have created a bug report for it. I cannot say when it will be fixed, though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: merge hex - area overlap</title><link>https://devzone.nordicsemi.com/thread/289855?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 17:00:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0a28da1-f8b5-4636-9a1a-e227e598da66</guid><dc:creator>Alessandro V.</dc:creator><description>&lt;p&gt;I tried to flash the merged hex file with nrfjprog and it works, so I think the main issue is related to nrfConnect!&lt;br /&gt;&lt;span style="font-family:monospace;"&gt;&lt;span style="background-color:#ffffff;color:#000000;"&gt;nrfjprog version: 10.12.1 &amp;nbsp;&lt;/span&gt;&lt;br /&gt;JLinkARM.dll version: 6.88c&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your support, I suppose this is a bug of nRF Connect!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: merge hex - area overlap</title><link>https://devzone.nordicsemi.com/thread/289665?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 10:11:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:997f0f99-066a-46ed-a1c1-35dfa5e15e51</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Now I see. I have the same issue with nRF Connect Programmer here. I do not have any problems with the merged hex file in any other tools, so I suspect there is an issue with nRF Connect programmer. Not sure what it is though, but I will ask the developers to have a look at it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: merge hex - area overlap</title><link>https://devzone.nordicsemi.com/thread/289545?ContentTypeID=1</link><pubDate>Sat, 16 Jan 2021 07:29:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3975e37-c46c-4e80-bc9e-de23f8638f0c</guid><dc:creator>Alessandro V.</dc:creator><description>&lt;p&gt;The point is that if I try to load the merged file (both the one I generated myself and you attached here) into nrfConnect I get the same result.&lt;br /&gt;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1610782050091v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;I am using nRF Connect v3.6.1 - Programmer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: merge hex - area overlap</title><link>https://devzone.nordicsemi.com/thread/289521?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2021 20:41:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0181b641-9cde-42bf-89e0-a91efbf4f16c</guid><dc:creator>Alessandro V.</dc:creator><description>&lt;p&gt;&lt;span style="font-family:monospace;"&gt;&lt;span style="background-color:#ffffff;color:#000000;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/70519/merge-hex---area-overlap/289516#289516"]What is the output of &amp;quot;mergehex --version&amp;quot;?[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:monospace;"&gt;&lt;span style="background-color:#ffffff;color:#000000;"&gt;mergehex version: 10.12.1&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/70519/merge-hex---area-overlap/289516#289516"]Which version of nrf command line tools are you using?[/quote]
&lt;p&gt;&lt;span style="font-family:monospace;"&gt;&lt;span style="background-color:#ffffff;color:#000000;"&gt;nrf5x-command-line-tools 10.12.1-0&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:monospace;"&gt;&lt;span style="background-color:#ffffff;color:#000000;"&gt;I am using:&lt;br /&gt;- nRF5_SDK_17.0.2_d674dde &lt;br /&gt;- SEGGER Embedded Studio for ARM Release 5.32a&amp;nbsp;&amp;nbsp;Build 2020120901.44619&lt;br /&gt;&lt;br /&gt;The strange thing is that if I use nrfConnect to merge the files (load and then save merged file) the generated hex file works! So I suppose I am missing something or the tools I use are different from the ones nRFConnect uses&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: merge hex - area overlap</title><link>https://devzone.nordicsemi.com/thread/289516?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2021 18:34:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:364545ef-5919-4da8-a4a6-7634281d898d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is odd. The size of S1322 7.2.0 is&amp;nbsp;0x26000, so you should not get an overlap around&amp;nbsp;0x32c28 when merging the application hex and SoftDevice hex. I do not have any problem merging the two hex files you have attached:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;mergehex.exe -m s132_nrf52_7.2.0_softdevice.hex ble_app.hex -o merged_app_sd.hex
Parsing input files.
Merging file &amp;quot;s132_nrf52_7.2.0_softdevice.hex&amp;quot; into output.
Merging file &amp;quot;ble_app.hex&amp;quot; into output.
Storing merged file.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Result:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4478.merged_5F00_app_5F00_sd.hex"&gt;devzone.nordicsemi.com/.../4478.merged_5F00_app_5F00_sd.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It is also strange that you suddenly do not get complaints about overlap when also merging with settings.hex, in addition to the app and softdevice.&lt;/p&gt;
&lt;p&gt;Which version of nrf command line tools are you using? What is the output of &amp;quot;mergehex --version&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>