<?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>SEGGER Embedded cannot initialize nfr52 SoftDevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19894/segger-embedded-cannot-initialize-nfr52-softdevice</link><description>Hello, 
 I have tried to debug ble_app_uart_pca10040_s132 application included in nordic SDK12.2 with Segger Embedded studio v3.12, but even though I don&amp;#39;t get error while compiling, I cannot debug that application since SEGGER seems to have issues to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Feb 2017 15:17:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19894/segger-embedded-cannot-initialize-nfr52-softdevice" /><item><title>RE: SEGGER Embedded cannot initialize nfr52 SoftDevice</title><link>https://devzone.nordicsemi.com/thread/77427?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2017 15:17:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0930240f-2b39-4ce2-973a-0e46bb15715b</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;If you step into softdevice_enable(), then you can see which RAM start address the SoftDevice needs by looking at the app_ram_base variable which is returned by  sd_ble_enable(p_ble_enable_params, &amp;amp;app_ram_base).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SEGGER Embedded cannot initialize nfr52 SoftDevice</title><link>https://devzone.nordicsemi.com/thread/77429?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2017 14:45:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9e2bf15-8f7c-49d1-9561-d88fdab3b22e</guid><dc:creator>ndarkness</dc:creator><description>&lt;p&gt;@Bjørn Spockeli , I understand, I have tried the same procedure but now with other example, &lt;code&gt;ble_app_hrs_pca10040_s132&lt;/code&gt; and I see exactly the same error that I mentioned in my original post, &lt;code&gt;error_code 0x00000004&lt;/code&gt; when invoking &lt;code&gt;softdevice_enable()&lt;/code&gt;. This time I have used &lt;code&gt;FLASH_START=0x1F000 SRAM_START=0x20002C38&lt;/code&gt; as the .ld for that application says, should I set this parameters as well in the memory map macros field under the build ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SEGGER Embedded cannot initialize nfr52 SoftDevice</title><link>https://devzone.nordicsemi.com/thread/77426?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2017 13:19:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9b0a0f2-8253-4a06-8461-6f01afd5df44</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@ndarkness : You should not have to specify the length as long as you do not plan to use our bootloader.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SEGGER Embedded cannot initialize nfr52 SoftDevice</title><link>https://devzone.nordicsemi.com/thread/77430?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2017 07:22:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f0d28e3-dd6c-4465-b795-da22720f92a2</guid><dc:creator>ndarkness</dc:creator><description>&lt;p&gt;Thanks Daniel, I will try it. Do you know whether or not it is necessary to add the &lt;code&gt;LENGTH&lt;/code&gt; in the memort mapping, if so, how I should do it? With the same macro?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SEGGER Embedded cannot initialize nfr52 SoftDevice</title><link>https://devzone.nordicsemi.com/thread/77425?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2017 20:35:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f613f6ab-e6e6-4664-96fc-45719a01214e</guid><dc:creator>Daniel Wang</dc:creator><description>&lt;p&gt;You should use &lt;code&gt;SRAM_START=0x20002128&lt;/code&gt;. You can find the correct settings for each example in linker script e.g &lt;code&gt;ble_app_uart\pca10040\s132\armgcc\ble_app_uart_gcc_nrf52.ld&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SEGGER Embedded cannot initialize nfr52 SoftDevice</title><link>https://devzone.nordicsemi.com/thread/77428?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2017 20:32:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bc3aec7-c8c6-402b-8814-385d61c56c04</guid><dc:creator>ndarkness</dc:creator><description>&lt;p&gt;I used &lt;code&gt;FLASH_START=0x1F000 SRAM_START=0x20002000&lt;/code&gt; in the &lt;code&gt;Linker-&amp;gt;Section Placement Macros&lt;/code&gt;, should I &lt;code&gt;import section placement&lt;/code&gt; in my project if I have made those settings?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SEGGER Embedded cannot initialize nfr52 SoftDevice</title><link>https://devzone.nordicsemi.com/thread/77424?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2017 20:29:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0805349d-a965-4bf6-894e-c35268ae0061</guid><dc:creator>Daniel Wang</dc:creator><description>&lt;p&gt;What values did you use for flash start and ram start(memory mapping)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>