<?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 define a variable at external RAM?</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/19282/how-to-define-a-variable-at-external-ram</link><description> if the CARM compiler have the key word define the external data just like &amp;quot;xdata&amp;quot; in 51? </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: How to define a variable at external RAM?</title><link>https://community.arm.com/thread/138103?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2005 01:24:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d5f50736-29d2-4ba9-87aa-de775e5b865a</guid><dc:creator>Lin godday</dc:creator><description>&lt;p&gt;I do it. thanks alot Reinhard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to define a variable at external RAM?</title><link>https://community.arm.com/thread/134635?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2005 01:43:32 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b6d3e1b8-20f1-47c9-b9f2-8726d7924b96</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;Take a look again to:&lt;br /&gt;
&lt;a href="http://www.keil.com/support/man/docs/ca/ca_userclass.htm"&gt;http://www.keil.com/support/man/docs/ca/ca_userclass.htm&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Imaging that NVRAM is your external RAM.  Of course you may also use &amp;#39;XRAM&amp;#39; as userclass or any name you want.&lt;br /&gt;
&lt;br /&gt;
Reinhard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to define a variable at external RAM?</title><link>https://community.arm.com/thread/122964?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2005 01:42:15 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:bb6a641a-b508-4d47-ad84-b55374ec467c</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;Variables are by default in RAM (except when you apply the &amp;#39;const&amp;#39; keyword).  Therefore it makes no sense to apply another __ram keyword for variables.&lt;br /&gt;
&lt;br /&gt;
Reinhard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to define a variable at external RAM?</title><link>https://community.arm.com/thread/111680?ContentTypeID=1</link><pubDate>Sat, 24 Sep 2005 01:59:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b189ad48-a7f6-45a7-b03c-ae5e81ead8e5</guid><dc:creator>Lin godday</dc:creator><description>&lt;p&gt;But this is the usage of RAM Function, it can make the function copy to RAM. And what I want is to define a variable at external RAM, not a function. So, how should I do?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to define a variable at external RAM?</title><link>https://community.arm.com/thread/97493?ContentTypeID=1</link><pubDate>Fri, 23 Sep 2005 06:17:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:214cfae5-2e92-4440-8bf8-d9430cb97c43</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;Usage of __ram see:&lt;br /&gt;
&lt;a href="http://www.keil.com/support/man/docs/ca/ca_le_ram.htm"&gt;http://www.keil.com/support/man/docs/ca/ca_le_ram.htm&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to define a variable at external RAM?</title><link>https://community.arm.com/thread/73500?ContentTypeID=1</link><pubDate>Fri, 23 Sep 2005 05:49:07 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3ffb5d02-fd6f-4904-b053-f9136a2b3521</guid><dc:creator>Lin godday</dc:creator><description>&lt;p&gt;Well, so thanks for you reply. But when I use the keyword &amp;quot;__ram&amp;quot;, the error come. My code is &amp;quot;__ram uint32 k1[1000];&amp;quot; or &amp;quot;uint32 k1[1000] __ram;&amp;quot; but always get the error &amp;quot;SOURCE\MAIN.C(32): error C25: syntax error near &amp;#39;__ram&amp;#39;&amp;quot; or &amp;quot;SOURCE\CIS_MAIN.C(32): error C25: syntax error near &amp;#39;;&amp;#39;&amp;quot;. In the LA Locate -&amp;gt; User class, I enter &amp;quot;ERAM (0x80000000-0x80001000)&amp;quot;, but the error still come. what&amp;#39;s wrong with my code and my operation and how should I do?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to define a variable at external RAM?</title><link>https://community.arm.com/thread/44716?ContentTypeID=1</link><pubDate>Wed, 21 Sep 2005 09:02:22 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1e2d5a50-c0f3-4080-aa48-ee2ba3b74ecf</guid><dc:creator>Keil Software Support Intl.</dc:creator><description>&lt;p&gt;This can be done with the USERCLASS directive.  See:&lt;br /&gt;
&lt;a href="http://www.keil.com/support/man/docs/ca/ca_userclass.htm"&gt;http://www.keil.com/support/man/docs/ca/ca_userclass.htm&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Reinhard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>