<?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>sd_ble_enable returns NRF_ERROR_NO_MEM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20220/sd_ble_enable-returns-nrf_error_no_mem</link><description>Hi,
I am working on the examples\ble_peripheral\ble_app_uart sdk 12 example on SES. 
 I was first setting: 
 FLASH_START=0x1B000
SRAM_START=0x20001EB0
 
 Then tried with app_ram_base value, which is: 
 FLASH_START=0x1B000
SRAM_START=0x20001FE0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Mar 2017 21:15:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20220/sd_ble_enable-returns-nrf_error_no_mem" /><item><title>RE: sd_ble_enable returns NRF_ERROR_NO_MEM</title><link>https://devzone.nordicsemi.com/thread/78791?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2017 21:15:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3db87d94-a71a-4735-a5e6-dbaa4e9ac74a</guid><dc:creator>Tarik</dc:creator><description>&lt;p&gt;Thanks anyway :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_enable returns NRF_ERROR_NO_MEM</title><link>https://devzone.nordicsemi.com/thread/78790?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2017 20:40:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6ed46bc-a86a-463c-9511-6b52d82a9735</guid><dc:creator>Daniel Wang</dc:creator><description>&lt;p&gt;My bad, the values I posted was for nRF52. I see now that you have nRF51, and that you found the values yourself :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_enable returns NRF_ERROR_NO_MEM</title><link>https://devzone.nordicsemi.com/thread/78792?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2017 19:55:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e764601-b32d-4ea8-b50f-262b95cc24b9</guid><dc:creator>Tarik</dc:creator><description>&lt;p&gt;Solved by making sure the values of FLASH_START and SRAM_START are the same as the values in ble_app_uart_gcc_nrf51.ld linker script:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;MEMORY
{
  FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x25000
  RAM (rwx) :  ORIGIN = 0x20001fe8, LENGTH = 0x6018
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;So I just set:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;FLASH_START=0x1B000
SRAM_START=0x20001FE8
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_enable returns NRF_ERROR_NO_MEM</title><link>https://devzone.nordicsemi.com/thread/78789?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2017 19:43:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30a2a26f-d98b-4a5c-bb0e-131b1b8036f9</guid><dc:creator>Tarik</dc:creator><description>&lt;p&gt;@Daniel Wang: with these adresses the program does not even find the starting point&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_enable returns NRF_ERROR_NO_MEM</title><link>https://devzone.nordicsemi.com/thread/78786?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2017 18:45:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73094625-33cb-43d0-abfa-4f47af58a4cc</guid><dc:creator>Daniel Wang</dc:creator><description>&lt;p&gt;Try FLASH_START=0x1F000 and SRAM_START=0x20002128&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_enable returns NRF_ERROR_NO_MEM</title><link>https://devzone.nordicsemi.com/thread/78788?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2017 16:55:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b0ea71a-5876-43b2-a012-5d94b858f3ba</guid><dc:creator>Tarik</dc:creator><description>&lt;p&gt;It&amp;#39;s returning from: ble_stack_init -&amp;gt; softdevice_enable -&amp;gt; sd_ble_enable&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_enable returns NRF_ERROR_NO_MEM</title><link>https://devzone.nordicsemi.com/thread/78787?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2017 16:49:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87d6245c-8c03-456b-a887-7a0cf16bb1a6</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;The NRF_ERROR_NO_MEM error can be generated by different things. Are you able to debug and see which specific function that generates the error?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>