<?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>How to adjust BLE RAM Settings?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12469/how-to-adjust-ble-ram-settings</link><description>Hi 
 I am using nrf51-dk board along with the S130. I am getting the following message when I debug my code. The central link count is set to 0 while peripheral link count is set to 1. Do I need to adjust the RAM settings if I have added new custom services</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Sep 2017 08:12:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12469/how-to-adjust-ble-ram-settings" /><item><title>RE: How to adjust BLE RAM Settings?</title><link>https://devzone.nordicsemi.com/thread/47226?ContentTypeID=1</link><pubDate>Thu, 07 Sep 2017 08:12:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b053f55-9319-4f89-97da-810748a469f7</guid><dc:creator>Sebastien Huet</dc:creator><description>&lt;p&gt;@DavidC: in your ld file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to adjust BLE RAM Settings?</title><link>https://devzone.nordicsemi.com/thread/47227?ContentTypeID=1</link><pubDate>Wed, 17 May 2017 09:04:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c7bbd72-8e2c-4f88-9ec9-0cf02e29682c</guid><dc:creator>DavidC</dc:creator><description>&lt;p&gt;Hallo Havard,&lt;/p&gt;
&lt;p&gt;Do you know where I can change the ram settings in Eclipse?
i got this warning
WARNING:RAM start should be adjusted to 0x200020c8.
WARNING:RAM size should be adjusted to 0xdf38.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to adjust BLE RAM Settings?</title><link>https://devzone.nordicsemi.com/thread/47225?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2016 14:40:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7d971a4-ec7b-4906-a71b-479f856f708a</guid><dc:creator>maxv</dc:creator><description>&lt;p&gt;I&amp;#39;m getting similar messages, and I&amp;#39;m using the armgcc Makefile-based projects, so I edited ble_app_hrs_freertos_gcc_nrf52.ld, for instance, and set:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;RAM (rwx) :  ORIGIN = 0x20002080, LENGTH = 0xdf80
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;RAM (rwx) :  ORIGIN = 0x20001FE8, LENGTH = 0xe018
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And the warning messages go away.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to adjust BLE RAM Settings?</title><link>https://devzone.nordicsemi.com/thread/47224?ContentTypeID=1</link><pubDate>Thu, 10 Mar 2016 09:55:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c88d0d9d-f8b5-4e50-a2dd-d4e1a13cef9f</guid><dc:creator>H&amp;#229;vard</dc:creator><description>&lt;p&gt;Hi soumil.&lt;/p&gt;
&lt;p&gt;when debuging, softdevice_enable() will tell you how much RAM the SoftDevice needs. The first 7680 (0x1E00) bytes are needed with your setup.&lt;/p&gt;
&lt;p&gt;So in this case, you actually have 100 bytes of gap in the RAM that will not be used by the SoftDevice nor by your application.&lt;/p&gt;
&lt;p&gt;You can go to the project options and reduce the ram start address from 0x20001F00 to 0x20001E00. (For Keil the menu is called &amp;quot;Options for Target&amp;quot; under &amp;quot;Project&amp;quot;)&lt;/p&gt;
&lt;p&gt;Later, if you add more vendor specific services or perhaps more links, the Softdevice will need more RAM and you can use the debug feedback to adjust the project settings accordingly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>