<?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>Reserved RAM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55109/reserved-ram</link><description>Hi, 
 We are migrating from 12.3 SDK version to 15.3 version. 
 We observed the almost 22 KB of RAM is reserved. Where as in 12.3SD version we don&amp;#39;t see this. 
 We are still in development stage but it shows only 4KB free space is left. 
 Please help</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Dec 2019 04:42:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55109/reserved-ram" /><item><title>RE: Reserved RAM</title><link>https://devzone.nordicsemi.com/thread/223748?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2019 04:42:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5aab3ae6-5ecb-4b35-b656-2e1bb61be04f</guid><dc:creator>skulkarni</dc:creator><description>&lt;p&gt;Yes I mean&amp;nbsp;&lt;span&gt;RAM start = 0x200057B8.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you Edvin. I will close this issue now.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reserved RAM</title><link>https://devzone.nordicsemi.com/thread/223590?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2019 12:34:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8c5de4d-3771-4b98-ad13-e167e1c71c92</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;did you mean RAM start = 0x200057B8?&lt;/p&gt;
&lt;p&gt;I suggest that you start with some RAM settings that work. Then monitor the log. In the later SDKs, it will say in the log whether you should adjust the RAM settings according to the number of Services and characteristics that you have. The log will let you know if you can adjust the RAM for optimal settings.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reserved RAM</title><link>https://devzone.nordicsemi.com/thread/223588?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2019 12:30:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65988f7a-8c69-4038-a49f-b2bc38dc492b</guid><dc:creator>skulkarni</dc:creator><description>&lt;p&gt;Hello Edvin,&lt;/p&gt;
&lt;p&gt;I looked into this example code&amp;nbsp;&lt;strong&gt;ble_app_hrs_pca10040_s132(without FreeRTOS).&amp;nbsp;&lt;/strong&gt;Here the reserved RAM size is only 10.8KB. Accordingly I adjusted the RAM start location for my project after this&amp;nbsp; reserved RAM size reduced to 10KB.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My firmware works without any issues.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note: My firmware uses 5 services.&lt;/p&gt;
&lt;p&gt;Original RAM start = 0x57B8&lt;/p&gt;
&lt;p&gt;I modified it to 0x2800.&lt;/p&gt;
&lt;p&gt;Please let me know your suggestion.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reserved RAM</title><link>https://devzone.nordicsemi.com/thread/223410?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2019 16:35:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a48d627-3d78-414f-990c-5397f78526a0</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I forgot to mention, but if you want a smaller softdevice, with a bit less features, you can look into using the S112 softdevice. In SDK16.0.0 there are examples for the nrf52832 using s112. Look at SDK16.0.0\examples\ble_peripheral\ble_app_uart\pca10040\s112.&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reserved RAM</title><link>https://devzone.nordicsemi.com/thread/223408?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2019 16:30:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a80cfa39-afee-4e98-8f4a-1795e3b6555e</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;where is this screenshot from?&lt;/p&gt;
&lt;p&gt;I built the project, and it looks like this in SES:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-270407ada2d74a02bb265f377fbb7fca/pastedimage1575388495404v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;That is the ble_app_hrs_freertos example.&lt;/p&gt;
&lt;p&gt;If your app uses more flash than that, then it is probably because something you do in your application requires a lot of ram.&lt;/p&gt;
&lt;p&gt;However, the &amp;quot;Reserved RAM&amp;quot; is the RAM reserved for the softdevice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;On the nRF52832, the RAM is mapped from 0x2000 0000 to 0x2001 0000. If you look in the RAM settings of the ble_app_hrs_freertos you will see that it looks like this:&lt;/p&gt;
&lt;p&gt;RAM_START=0x200057b8&lt;br /&gt;RAM_SIZE=0xa848&lt;/p&gt;
&lt;p&gt;So the RAM from 0x2000 0000 to 0x2000 57b8 is reserved for the softdevice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;0x57b8 = 21.92kB. This is the RAM that the softdevice needs, based on the number of supported connections, the number of services and characteristics.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In SDK12.3.0 the RAM settings of the same example is starting at 0x2000 2128, which is about 8kB. So yes, the later softdevices use more ram, but it is probably because they are more complex, and support more features.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reserved RAM</title><link>https://devzone.nordicsemi.com/thread/223188?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2019 04:15:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d9b2ed0-0c54-490d-97ec-e11c5e71f589</guid><dc:creator>skulkarni</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;Please find below.&amp;nbsp; I have started with taking this example code&amp;nbsp;&lt;strong&gt;ble_app_hrs_freertos_pca10040_s132.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/15_5F00_3_5F00_RAM_5F00_Utilization.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reserved RAM</title><link>https://devzone.nordicsemi.com/thread/223132?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2019 16:08:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdec3133-e1ec-4a45-95ba-693cac857acc</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Where do you read this number from? What example?`Or is it from the softdevice specification?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>