<?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>S132 5.1.0 excessive RAM usage</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28302/s132-5-1-0-excessive-ram-usage</link><description>From the S132 5.1.0 specification, I expect that its RAM usage should be only 0x1228 bytes plus ATTR_TAB_SIZE. However, when I compile two of the example projects using IAR, I&amp;#39;m seeing an APP_RAM_BASE higher than expected, in one case by an extra 16KB</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Dec 2017 20:13:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28302/s132-5-1-0-excessive-ram-usage" /><item><title>RE: S132 5.1.0 excessive RAM usage</title><link>https://devzone.nordicsemi.com/thread/111758?ContentTypeID=1</link><pubDate>Thu, 14 Dec 2017 20:13:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27ac7370-ea52-49b4-824b-a1d84bc43433</guid><dc:creator>Eric Smith</dc:creator><description>&lt;p&gt;Hung Bui&amp;#39;s comment is correct. For the ble_app_hrs_freertos_pca10040_s132 app with SDK 14.2 and S132 5.1.0, just changing the start of RAM variable in the linker script to a lower value works fine with IAR. (Possibly a different toolchain needs the IRAM1 size change he mentions, but IAR doesn&amp;#39;t seem to use that.)&lt;/p&gt;
&lt;p&gt;With those specific versions, the lowest RAM start address that works for that project is 0x20001f50.  I&amp;#39;m still not sure why that&amp;#39;s about 2KB higher than what the S132 specification indicates, which would be 0x200017a8, but it leaves enough RAM for my application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S132 5.1.0 excessive RAM usage</title><link>https://devzone.nordicsemi.com/thread/111757?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2017 15:56:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bae1a573-e5d8-4321-98cb-74272d286f29</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Eric,&lt;/p&gt;
&lt;p&gt;I believe it&amp;#39;s just a mistake. The RAM requirement from the softdevice is 0x200020E0 and IRAM1 size can be adjusted to 0xDF20&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>