<?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>XDATA problem/question</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/19905/xdata-problem-question</link><description> I have an xdata question and please excude my lack of knowledge on this subject, I have been trying to find info on this and am just not getting anywhere. 
 
I am using a Goal VRS1000 controller. It has 64K of flash and 1K of RAM. I have not enabled</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: XDATA problem/question</title><link>https://community.arm.com/thread/112042?ContentTypeID=1</link><pubDate>Thu, 20 Apr 2006 14:58:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:7d6110d1-8339-46db-a517-11afdcd72b42</guid><dc:creator>Matthew Barlage</dc:creator><description>&lt;p&gt;Finally the answer comes to me.  I never even looked at the reset value before.  This is were the XRAM is being enabled.&lt;br /&gt;
&lt;br /&gt;
Thanks for al lthe help everyone.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: XDATA problem/question</title><link>https://community.arm.com/thread/97998?ContentTypeID=1</link><pubDate>Thu, 20 Apr 2006 12:53:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:175e44b0-e692-4012-b9ee-9e6ed7f74190</guid><dc:creator>HansBernhard Broeker</dc:creator><description>&lt;p&gt;&lt;i&gt;Could the compiler be enabling it even though I didn&amp;#39;t?&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Just to possibly make the other answers to this a bit clearer: maybe this internal XDATA memory doesn&amp;#39;t need enabling.  Maybe it&amp;#39;s enabled automatically on power-up / reset.  You have the chip, so I&amp;#39;ll assume you have its datasheet in hand.  Look it up.&lt;br /&gt;
&lt;br /&gt;
And no, the compiler is rather certainly not enabling it.  The startup code (startup.a51 or some variant of that) may, though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: XDATA problem/question</title><link>https://community.arm.com/thread/112033?ContentTypeID=1</link><pubDate>Thu, 20 Apr 2006 12:46:14 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2f1b3408-782f-41a9-8d94-2017c6e5d3ea</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;nope, but have a look at the reset value for the controlling SFR&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Also check if the startup code (assembler) is enabling it...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: XDATA problem/question</title><link>https://community.arm.com/thread/98006?ContentTypeID=1</link><pubDate>Thu, 20 Apr 2006 10:52:37 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:312d277c-9a79-434e-b75a-c773467216f7</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;&lt;i&gt;Could the compiler be enabling it even though I didn&amp;#39;t?&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
nope, but have a look at the reset value for the controlling SFR&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: XDATA problem/question</title><link>https://community.arm.com/thread/73976?ContentTypeID=1</link><pubDate>Thu, 20 Apr 2006 10:17:25 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2a34dfb9-20b7-4d58-be18-2a24c286fb5d</guid><dc:creator>Matthew Barlage</dc:creator><description>&lt;p&gt;Christoph, thanks for the reply.  Your secnod post is correct.  I did not enable the expanded RAM section of the chip.&lt;br /&gt;
&lt;br /&gt;
With that said, my device works fine as long as I use less that 769 bytes of xdata.  Like you said no xdata access should be working if I have not enbaled the XRAM on the chip.  This is were I am getting confused, because it does work with less than 769 bytes of xdata.&lt;br /&gt;
&lt;br /&gt;
Could the compiler be enabling it even though I didn&amp;#39;t?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: XDATA problem/question</title><link>https://community.arm.com/thread/45915?ContentTypeID=1</link><pubDate>Thu, 20 Apr 2006 10:10:42 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ab721196-c85c-4069-864a-218eeb3cbab3</guid><dc:creator>Christoph Franck</dc:creator><description>&lt;p&gt;&lt;i&gt;It has 64K of flash and 1K of RAM. I have not enabled the upper 756K of the RAM.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Or do you mean you did not enable the upper 768 bytes of the RAM ?&lt;br /&gt;
&lt;br /&gt;
That&amp;#39;s the xdata space of the chip. If you don&amp;#39;t enable it, you shouldn&amp;#39;t expect any xdata accesses to work correctly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: XDATA problem/question</title><link>https://community.arm.com/thread/45919?ContentTypeID=1</link><pubDate>Thu, 20 Apr 2006 10:06:37 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:6cc55ff2-b45d-4078-be96-b388036aad32</guid><dc:creator>Christoph Franck</dc:creator><description>&lt;p&gt;&lt;i&gt;It has 64K of flash and 1K of RAM. I have not enabled the upper 756K of the RAM.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
It has 1 kB RAM, there are no upper 756 kB to enable.&lt;br /&gt;
&lt;br /&gt;
Also, the 1 kB RAM are divided into data (128 bytes), idata (128 bytes) and xdata (768 bytes).&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;The issue I am running into on my device is, when I go over 769 bytes of xdata my device fails to boot correctly. &lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
And that&amp;#39;s absolutely not surprising, since the device has only 768 bytes of xdata memory. It&amp;#39;s all in the datasheet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>