<?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>mergehex problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40529/mergehex-problem</link><description>Hi. 
 I just want to test mergehex. So I put message as below. 
 mergehex --merge s140_nrf52_6.1.0_softdevice.hex direct_test_mode_pca10056.hex --output out.hex 
 Both s140_nrf52_6.1.0_softdevice.hex direct_test_mode_pca10056.hex are in your example as</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Nov 2018 04:50:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40529/mergehex-problem" /><item><title>RE: mergehex problem</title><link>https://devzone.nordicsemi.com/thread/157625?ContentTypeID=1</link><pubDate>Fri, 16 Nov 2018 04:50:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78fc0abb-ad4f-48cd-bc0c-496d97e5fcdf</guid><dc:creator>roger.k</dc:creator><description>&lt;p&gt;Dear Eugene Yu.&lt;/p&gt;
&lt;p&gt;Thank you very much for your help.&amp;nbsp;I just redefine memory map, it works very well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mergehex problem</title><link>https://devzone.nordicsemi.com/thread/157621?ContentTypeID=1</link><pubDate>Fri, 16 Nov 2018 03:45:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d2de2f8-9bfb-48df-bf15-10a6f30c2390</guid><dc:creator>Eugene Yu</dc:creator><description>&lt;p&gt;Hello Mr.Kwak,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Each of Softdevices has different size.&lt;/p&gt;
&lt;p&gt;So you need to look into the release note for specific version of Softdevice.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For example,&amp;nbsp; the your current version (&lt;a href="https://www.nordicsemi.com/eng/nordic/download_resource/60624/25/50232936/116072"&gt;s140 v6.1.0&lt;/a&gt;) of release note has as below.&lt;/p&gt;
&lt;p&gt;---------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;SoftDevice Properties&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;This SoftDevice is production tested for nRF52840.&lt;/li&gt;
&lt;li&gt;This SoftDevice contains the Master Boot Record (MBR) version 2.3.0 (DRGN-9755).&lt;/li&gt;
&lt;li&gt;The combined MBR and SoftDevice memory requirements for this version are the same as for the s140_nrf52_6.0.0:
&lt;ul&gt;
&lt;li&gt;Flash: 152 kB (0x26000 bytes).&lt;/li&gt;
&lt;li&gt;RAM: 5.54 kB (0x1628 bytes). This is the minimum required memory. The actual requirements depend on the configuration&lt;/li&gt;
&lt;li&gt;chosen at sd_ble_enable() time.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The Firmware ID of this SoftDevice is 0x00AE.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;---------------------------------------------------------------------------------------&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Try to configure linker&amp;#39;s memory map to&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span&gt;IROM1 : 0x26000 0xD4000&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Eugene&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mergehex problem</title><link>https://devzone.nordicsemi.com/thread/157610?ContentTypeID=1</link><pubDate>Fri, 16 Nov 2018 00:41:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2e56263-7750-401b-a7d1-04182203f45d</guid><dc:creator>roger.k</dc:creator><description>&lt;p&gt;Dear Vidar Berg. Thank you very much for your help. But I don&amp;#39;t know how to change the linker configuration. Could you please let me know how to change?&lt;/p&gt;
&lt;p&gt;I actually changed memory map as below.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1542336663626v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;But it still makes same error.&lt;/p&gt;
&lt;p&gt;I hope your reply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mergehex problem</title><link>https://devzone.nordicsemi.com/thread/157495?ContentTypeID=1</link><pubDate>Thu, 15 Nov 2018 12:34:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3b95543-737a-465f-9fc5-10dd3e4333b9</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The DTM examples starts at address 0x0 in flash which overlaps with the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.sds/dita/softdevices/s130/mem_usage/mem_resource_map_usage.html?cp=2_3_1_0_13_0"&gt;softdevice&lt;/a&gt;, hence the error.&amp;nbsp;So you need to change the linker configuration for the example so it starts above the softdevice if you want to merge both.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>