<?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>Reset on SVCALL BLE enable</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19848/reset-on-svcall-ble-enable</link><description>Hi all, 
 I am trying to get the ble template of SDK12.2 working in eclipse using a managed makefile. The softdevice I use is s132 v3.0.0. The board is an evaluation kit from Taiyo Yuden (EKSHCNZXZ) which uses the NRF52832 chip. 
 I programmed the softdevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Feb 2017 10:40:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19848/reset-on-svcall-ble-enable" /><item><title>RE: Reset on SVCALL BLE enable</title><link>https://devzone.nordicsemi.com/thread/77197?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2017 10:40:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c008ead3-423a-4c41-884d-05f9d42b6f10</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Glad to hear that it&amp;#39;s working now. It&amp;#39;s not a problem to set the RAM base &amp;#39;too&amp;#39; high, it just means that you have an unused area that could have been used by the application (0x4000-2128 = ~7KB)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset on SVCALL BLE enable</title><link>https://devzone.nordicsemi.com/thread/77196?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2017 10:28:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da67b21b-0189-4c99-8629-89d1a450749c</guid><dc:creator>Tostikoning</dc:creator><description>&lt;p&gt;The error seems to be gone. app_ram_base is still 0x20002128. I&amp;#39;m not sure if this is still ok? I do not see it advertising yet, but we are moving forward. I do not see any other error code pop up in the debugger.&lt;/p&gt;
&lt;p&gt;It does not reset anymore, and the error_code is 0.&lt;/p&gt;
&lt;p&gt;EDIT:&lt;/p&gt;
&lt;p&gt;I have the board advertising! Thank you Vidar!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset on SVCALL BLE enable</title><link>https://devzone.nordicsemi.com/thread/77198?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2017 10:16:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9d8dbeb-0a15-4127-b6be-d541da9421a6</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You only need to edit the project specific linker file (gcc_nrf52.ld in this case) to change the memory layout. Do you get the same assertion (NRF_NO_MEM) if you try with the following values:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;MEMORY
{
  FLASH (rx) : ORIGIN = 0x1f000, LENGTH = 0x61000
  RAM (rwx) :  ORIGIN = 0x20004000, LENGTH = 0xC000
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset on SVCALL BLE enable</title><link>https://devzone.nordicsemi.com/thread/77195?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2017 10:04:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32fba550-d6b1-470e-a108-2b9389a7a1b0</guid><dc:creator>Tostikoning</dc:creator><description>&lt;p&gt;Thanks for the response Vidar!  The linker scripts I use are from the SDK. I use the gcc_nrf52.ld and included the nrf52_common.ld which sets the &lt;strong&gt;data_start&lt;/strong&gt;. I do not see how I have control over this value. In the code the p_app_ram_base is 0x20002128. This is over the minimum and the same I see when I try the template in KEIL. The code compiled in KEIL works. I can see the board advertising with the KEIL compiled file. I am going to dig some more in the memory allocation of the softdevice and the ble params.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset on SVCALL BLE enable</title><link>https://devzone.nordicsemi.com/thread/77194?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2017 09:43:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5e3c733-093d-445d-93b9-59cac9fe3af4</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;[sd_ble_enable()](&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v3.0.0/group___b_l_e___c_o_m_m_o_n___f_u_n_c_t_i_o_n_s.html?"&gt;infocenter.nordicsemi.com/.../group___b_l_e___c_o_m_m_o_n___f_u_n_c_t_i_o_n_s.html&lt;/a&gt; cp=2_3_0_1_1_2_0_2_2_0#ga812ea2c6258c1cf705c7c114b6297aab) returns the lowest RAM start address you can use based on your softdevice configuration (ble_enable_params_t). Make sure that this corresponds to the RAM start address set in your linker file (*.ld). Background: &lt;a href="https://devzone.nordicsemi.com/question/88138/setting-up-ram-with-nrf52-s132-and-sdk-11/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>