<?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>SDK 13.0 S132 RAM Size</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21790/sdk-13-0-s132-ram-size</link><description>What is the correct RAM size that should be reserved for S132 v4.0.2 shipped with SDK 13.0? 
 Looks like linker scripts for different projects reserve different amount of RAM: 
 
 0x1fc0 in examples\ble_peripheral\ble_app_gls\pca10040\s132\armgcc\ble_app_gls_gcc_nrf52</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 May 2017 07:20:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21790/sdk-13-0-s132-ram-size" /><item><title>RE: SDK 13.0 S132 RAM Size</title><link>https://devzone.nordicsemi.com/thread/85606?ContentTypeID=1</link><pubDate>Thu, 04 May 2017 07:20:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e35619ef-a5e5-4eca-bf21-b76a4c1e0235</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Ivan,&lt;/p&gt;
&lt;p&gt;the RAM requirement of the SoftDevice is dependent on the configuration you enable it with, e.g. the number of concurrent peripheral/central links, the number of services/characteristics/descriptors(size of the attribute table) and the enabled security features. See &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.sds/dita/softdevices/s130/mem_usage/mem_usage.html?cp=2_3_0_0_13"&gt;this&lt;/a&gt; page in the S132 v4.0.2 Product Specification for more information.&lt;/p&gt;
&lt;p&gt;The SoftDevice will return the minimum start address of the application RAM region required by the SoftDevice for the given configuration when you call the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v4.0.2/group___b_l_e___c_o_m_m_o_n___f_u_n_c_t_i_o_n_s.html#ga8a92420df90945526d4c89d09486508d"&gt;sd_ble_enable&lt;/a&gt; function to enable the SoftDevice in the app_ram_base variable. The value of app_ram_base will be printed on the UART/RTT if you have logging enabled. You can also open a debug session, set a breakpoint after the in softdevice_enable(ble_enable_params_t * p_ble_enable_params) function in softdevice_handler.c and examine the value of app_ram_base that way.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>