<?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>nRF51822QFAB Flash and RAM settings.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27157/nrf51822qfab-flash-and-ram-settings</link><description>Hello,
I am using SDK 12.2.0 with s130_nrf51_2.0.1 softdevice and running ble_app_hrs example. 
 My FLASH and RAM settings are: 
 FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x5000
RAM (rwx) : ORIGIN = 0x20002800, LENGTH = 0x1800 
 On compiling, I get</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Oct 2017 08:33:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27157/nrf51822qfab-flash-and-ram-settings" /><item><title>RE: nRF51822QFAB Flash and RAM settings.</title><link>https://devzone.nordicsemi.com/thread/106955?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2017 08:33:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de851f24-b10c-4f57-aeb7-168ca4017b58</guid><dc:creator>Rishi</dc:creator><description>&lt;p&gt;Thanks Sigurd.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822QFAB Flash and RAM settings.</title><link>https://devzone.nordicsemi.com/thread/106954?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2017 09:07:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84e41f58-fb70-4f6c-a911-3475d82e15c9</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Your settings looks correct. The problem is that you’re using a nRF51-variant with only 128 kB flash. The S130 v.2.0.1 uses 108 kB Flash, and that leaves your application with only 20 kB free flash space. You  are exceeding this limit with 24 kB. The ble_app_hrs example is just too big for a nRF51 with 128 kB flash.&lt;/p&gt;
&lt;p&gt;You could e.g. upgrade to a &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf51/dita/nrf51/compatibility_matrix/nRF51822_ic_revision_overview.html?cp=3_0_1"&gt;256 kB variant&lt;/a&gt; of the nRF51822. I.e. the nRF51822QFAC. You could also look into the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/nrf52_series.html?cp=2"&gt;nRF52 series&lt;/a&gt;. The nRF52832 have 512 kB Flash and 64 kB RAM. If cost is a major factor for you, you could look into the new low-cost nRF52810. It have 192 kB Flash and 24 kB RAM, and gives you Bluetooth 5 and nRF5-series benefits.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>