<?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>bank switch link fail</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/20097/bank-switch-link-fail</link><description> Link fail !! when I set the bank switch area to 0000h~efffh , 
error message : ADRESS SPACE OVERFLOW CODE 
 
but , 0000h~ffffh bank setting is OK ,and I&amp;#39;m 
sure My bank0&amp;amp;1 code size &amp;lt; 40k. 
Did I missing some thing? </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: bank switch link fail</title><link>https://community.arm.com/thread/98116?ContentTypeID=1</link><pubDate>Thu, 25 May 2006 18:48:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:33767389-c657-4ba5-b634-741175fb0727</guid><dc:creator>Drew Davis</dc:creator><description>&lt;p&gt;If you are trying to prevent the linker from using a certain range of memory (because, for instance, you have hardware devices memory-mapped there), you might be interested in the RESERVE directive.  See the LX51 Locate tab.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bank switch link fail</title><link>https://community.arm.com/thread/74073?ContentTypeID=1</link><pubDate>Thu, 25 May 2006 01:42:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:7e27b032-6b66-42fb-ae61-275f03480f86</guid><dc:creator>Alvin Lin</dc:creator><description>&lt;p&gt;Thanks for your kindly reply.&lt;br /&gt;
I had tried to modified the bank area to 0000~fffe ,but the project linking was still failed.&lt;br /&gt;
I guess the end of banking address can&amp;#39;t be other setting execpt ffffh.&lt;br /&gt;
May I have your advise again?&lt;br /&gt;
Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bank switch link fail</title><link>https://community.arm.com/thread/46123?ContentTypeID=1</link><pubDate>Wed, 24 May 2006 12:22:05 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:101e3694-33ff-4ef6-8c14-6a8c4eef0751</guid><dc:creator>Drew Davis</dc:creator><description>&lt;p&gt;The common bank also includes constants and and a copy of the initialized data.&lt;br /&gt;
&lt;br /&gt;
If your system uses full 64KB banks, as opposed to the 32KB + Nx 32KB bank scheme, then all of the common code, constants, etc, must be duplicated in each bank.  So, the total memory consumed can be larger than the sum of the pieces.&lt;br /&gt;
&lt;br /&gt;
The address overflow message means that the linker can&amp;#39;t find enough space for all the code (and other items).  Increasing the memory makes the problem go away, which seems consistent.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>