<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/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/"><channel><title>How to determine size of RAM present in controller</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/26867/how-to-determine-size-of-ram-present-in-controller</link><description> 
The Realview MDK toolchain provides a number of $$ linker
generated variables with the base, limit and size of sections. 

 
What I need is such a variable that holds the total amount of ram
present in an entire region but I can not seem to find this</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: How to determine size of RAM present in controller</title><link>https://community.arm.com/thread/103760?ContentTypeID=1</link><pubDate>Fri, 05 Feb 2010 18:04:42 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:fe177cd7-508a-4c07-ba2d-16e591bdc127</guid><dc:creator>John Linq</dc:creator><description>&lt;p&gt;&lt;p&gt;
Maybe: (just guessing)&lt;/p&gt;

&lt;p&gt;
Image$$region_name$$Length -&amp;gt; Execution region length in bytes
excluding ZI length.&lt;/p&gt;

&lt;p&gt;
+&lt;/p&gt;

&lt;p&gt;
Image$$region_name$$ZI$$Length -&amp;gt; Length of the ZI output
section in bytes.&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/support/man/docs/armlink/armlink_chdcgbjd.htm#ccheiebf"&gt;
&lt;a href="http://www.keil.com/support/man/docs/armlink/armlink_chdcgbjd.htm#ccheiebf"&gt;www.keil.com/.../armlink_chdcgbjd.htm&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to determine size of RAM present in controller</title><link>https://community.arm.com/thread/78094?ContentTypeID=1</link><pubDate>Fri, 05 Feb 2010 09:20:25 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:6c89eeb5-8c99-45ca-a3e8-71fe6ba0aa27</guid><dc:creator>Leon van Snippenberg</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thanks for your reply,&lt;/p&gt;

&lt;p&gt;
these are the ones I tried. Variable Image$RW_IRAM1$ZI$Limit is
set to the limit of the zero initialized section. So this variable
only tells how much of the RAM is used. What I need is a variable
identifying the physical amount of memory present. I tried all
variables I could find in the linker manual but none of them seems to
provide this value. Still I think there should be one, the linker
knows it.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to determine size of RAM present in controller</title><link>https://community.arm.com/thread/57702?ContentTypeID=1</link><pubDate>Fri, 05 Feb 2010 08:59:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:83bde1dd-a07c-4f00-8af5-cd6023468019</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Something like &lt;b&gt;Image$$RW_IRAM1$$ZI$$Limit&lt;/b&gt; or
&lt;b&gt;Image$$ER_IROM1$$Length&lt;/b&gt; ?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>