<?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>question regarding RAM block</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1356/question-regarding-ram-block</link><description>I&amp;#39;m developing using a nrf51822.
as a investigation of map file,
It seems that use the only block0 ram region.
Name Origin Length 
RAM 0x20002000 x00002000
so,I suffer from ram overflow issue.
so, I want to use both block0 and block1 for solving</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Jan 2014 11:04:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1356/question-regarding-ram-block" /><item><title>RE: question regarding RAM block</title><link>https://devzone.nordicsemi.com/thread/6158?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2014 11:04:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67301299-1235-4fe0-b348-c45c3ef5cfd9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Hjjeon,&lt;/p&gt;
&lt;p&gt;To clarify, when you use S110 softdevice, RAM region 0 is from address 0x20000000 to address 0x20001FFF and RAM region 1 is from 0x20002000 to 0x20003FFFF.&lt;/p&gt;
&lt;p&gt;When the S110 stack is active, RAM region 0 reserved for the stack and application can only use RAM region 1.&lt;/p&gt;
&lt;p&gt;You can find the memory resource map at section 9.1 in the S110 softdevice specification.&lt;/p&gt;
&lt;p&gt;So it&amp;#39;s not possible for the application to have more than 8KB of RAM when the softdevice is active.&lt;/p&gt;
&lt;p&gt;However, you can have some more space for memory by reducing the size of heap area if you don&amp;#39;t do dynamic memory allocation (malloc).&lt;/p&gt;
&lt;p&gt;You can configure the heap size in arm_startup_nrf51.s&lt;/p&gt;
&lt;p&gt;Please refer to this &lt;a href="http://devzone.nordicsemi.com/index.php/ld-region-ram-overflowed-with-stack"&gt;thread&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>