<?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>MEMORY SPACE OVERLAP</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/19324/memory-space-overlap</link><description> Hi all, 
 When i try to run the program below ,i got the two warnings below. 
I didnt add stratup.s in my project. 
I am geting the error whenever i include the line *(int *)0x40003456L = fact; 
 
I would like to know the cause of the problem and the</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: MEMORY SPACE OVERLAP</title><link>https://community.arm.com/thread/111855?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2005 10:02:07 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a390a992-52d9-4668-85c5-70737ea94668</guid><dc:creator>senthil raj</dc:creator><description>&lt;p&gt;Hi Jon&lt;br /&gt;
&lt;br /&gt;
Thanks for your inforation.It works after changing the memory location.....Thanks a lot...&lt;br /&gt;
t.senthil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MEMORY SPACE OVERLAP</title><link>https://community.arm.com/thread/97734?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2005 07:49:40 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:be92b3ed-f70b-4798-aec9-8576f1157f66</guid><dc:creator>Jon Ward</dc:creator><description>&lt;p&gt;What happens if you change the following:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;
12:           *(int *)0x40003456L = j;
&lt;/pre&gt;
&lt;br /&gt;
to this&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;
12:           *(int *)0x40003458L = j;
&lt;/pre&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: MEMORY SPACE OVERLAP</title><link>https://community.arm.com/thread/73730?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2005 23:42:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e4e1f250-2248-4e2d-bf3d-95f19688063c</guid><dc:creator>senthil raj</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
I am not using any _at keyword currently.&lt;br /&gt;
to the above program (program in my first thread) ,if I include &lt;b&gt;startup.s&lt;/b&gt; then i am not getting those memory overlapping error. Instead I am getting another error&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; Non-aligned Access: Thumb Instruction at 00000196H, Memory Access at 40003456H &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
when the third line &lt;b&gt; STR R1,[R0,#0x00] &lt;/b&gt; in the disassembled window is getting executed&lt;br /&gt;
&lt;pre&gt;
    12:           *(int *)0x40003456L = j;
    13:
0x00000192  1C21      ADD       R1,R4,#0
0x00000194  4808      LDR       R0,[PC,#0x0020]
&lt;b&gt;0x00000196  6001      STR       R1,[R0,#0x00] &lt;/b&gt; &lt;/pre&gt;
&lt;br /&gt;
Looking for help to remove this error.&lt;br /&gt;
&lt;br /&gt;
t.senthil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MEMORY SPACE OVERLAP</title><link>https://community.arm.com/thread/45256?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2005 11:05:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:eb673010-a2c8-4395-9d49-67dd52dedf24</guid><dc:creator>Drew Davis</dc:creator><description>&lt;p&gt;The linker is telling you that you have two different segments assigned to the beginning of memory.  Are you using any _at_ declarations, or any linker directives that alter the default location of segments?  How about interrupt routines?&lt;br /&gt;
&lt;br /&gt;
Normally the ARM interrupt vectors would reside at 0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>