<?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>Softdevice merge into debug fw</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56817/softdevice-merge-into-debug-fw</link><description>Hello everyone. 
 I have made the next solution for merging softdevice into debug fw. 
 i &amp;#39;ve added the next lines in ld script 
 MEMORY { SD_FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x27000 SD_RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x2260 .....</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Jan 2020 07:53:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56817/softdevice-merge-into-debug-fw" /><item><title>RE: Softdevice merge into debug fw</title><link>https://devzone.nordicsemi.com/thread/230489?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2020 07:53:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:886e4698-2b9e-4ef8-9cb3-b0917daa24aa</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have never tried to link in a binary image, but as a troubleshooting step, I would suggest to read out the memory from 0x0-0x27000 after you have loaded your merged binary, then repeat this with the original Softdevice hex and compare the results.&lt;/p&gt;
[quote user=""]But debug stops in undefined space after i call ble_stack_init()[/quote]
&lt;p&gt;&amp;nbsp;Not sure what you mean by undefined. Is the program counter inside the Softdevice&amp;#39;s memory range?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>