<?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>Address space overflow ?</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/18295/address-space-overflow</link><description> Dear All, 
 I have to append new feature to an existing project using msc121xwhen i tried to add a new char variable and compiled it shows... 
 
 Address space Overflow 
 space :xdata 
 segment: 
 
Finally Target not created ... 
 
 How to solve this</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Address space overflow ?</title><link>https://community.arm.com/thread/96791?ContentTypeID=1</link><pubDate>Sun, 12 Dec 2004 11:22:59 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:413c5ff4-a23b-4b75-ae49-b90640270a55</guid><dc:creator>Jon Ward</dc:creator><description>&lt;p&gt;&lt;i&gt;No way i can reduce the code..&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
If you change the memory model to small and manage the variable locations explicitly you can reduce the code size quite a lot.&lt;br /&gt;
&lt;br /&gt;
Nonetheless, if the error you get is as you specified:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;
Address space Overflow&lt;br /&gt;
space :xdata&lt;br /&gt;
segment:&lt;br /&gt;
&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
The overflow is NOT in the code space but in the XDATA space.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Jon&lt;/b&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Address space overflow ?</title><link>https://community.arm.com/thread/96803?ContentTypeID=1</link><pubDate>Sun, 12 Dec 2004 10:37:51 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c5dd4e09-a890-44bb-ae0f-579fb8edee95</guid><dc:creator>HansBernhard Broeker</dc:creator><description>&lt;p&gt;&lt;i&gt;No way i can reduce the code..&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
No direct need to, either.  That overflow is on &lt;b&gt;data&lt;/b&gt;, not code.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;off chip code and off chip xdata is not selected&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
That&amp;#39;s your problem, most probably.  Without these settings, how is the linker supposed to know your system has more XDATA ram than the on-chip size?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Address space overflow ?</title><link>https://community.arm.com/thread/72929?ContentTypeID=1</link><pubDate>Sun, 12 Dec 2004 00:49:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:174ef24c-f4d6-415a-ba4b-b341f1902c0f</guid><dc:creator>Karthik Raja</dc:creator><description>&lt;p&gt;during compiling it shows...&lt;br /&gt;
Data is 136.5&lt;br /&gt;
xdata is 2029&lt;br /&gt;
code 19579&lt;br /&gt;
Target not created&lt;br /&gt;
No way i can reduce the code..&lt;br /&gt;
&lt;br /&gt;
My settings are&lt;br /&gt;
Memory model is large&lt;br /&gt;
code rom size is large&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
off chip code and off chip xdata is not selected ..What are the other settings required to Build the target ??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Address space overflow ?</title><link>https://community.arm.com/thread/43282?ContentTypeID=1</link><pubDate>Sat, 11 Dec 2004 06:11:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f0c12c0c-698a-4ac0-b95f-bec302c0f625</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;a href="http://www.8052.com/forum/read.phtml?id=82824" target="_blank"&gt;http://www.8052.com/forum/read.phtml?id=82824&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>