<?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 SIZE NOT MATCHING</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/17977/xdata-size-not-matching</link><description> I am using compiler 7.06 to compile my project. 
From M51 file, my xdata is 0x3E5 (997) 
 
XDATA 03E3H 0001H UNIT ?XD?TVAV 
XDATA 03E4H 0001H UNIT ?XD?CCUTIL 
 03E5H 831BH *** GAP *** 
 
while end of my link file shown my xdata is 0x3F8(1016) 
 
Program</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: XDATA SIZE NOT MATCHING</title><link>https://community.arm.com/thread/111058?ContentTypeID=1</link><pubDate>Mon, 13 Sep 2004 04:39:13 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b3b864c2-c589-469b-81e6-501e459465cf</guid><dc:creator>cheng teh kian</dc:creator><description>&lt;p&gt;Hahaha, my mind must be blocked. Thank you very much for your time, I appreciate it very much.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: XDATA SIZE NOT MATCHING</title><link>https://community.arm.com/thread/96574?ContentTypeID=1</link><pubDate>Mon, 13 Sep 2004 04:26:39 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5a6aabf2-51d2-45aa-b909-8fade5817d9f</guid><dc:creator>HansBernhard Broeker</dc:creator><description>&lt;p&gt;So you&amp;#39;ve just answered your own question, haven&amp;#39;t you?&lt;br /&gt;
&lt;br /&gt;
Just in case you don&amp;#39;t quite see it yet: you have the 0x3e5 bytes you already knew about, and then another 19 bytes of XDATA which you spent in 1-byte ABSOLUTE segments. That makes for a total of 0x3e5 + 0x13 = 0x3f8 bytes, exactly the number the linker reported to you in the final line.  No mismatch, thus.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: XDATA SIZE NOT MATCHING</title><link>https://community.arm.com/thread/72712?ContentTypeID=1</link><pubDate>Sun, 12 Sep 2004 19:49:14 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1507f249-e84e-4f28-a8ab-5b512285d189</guid><dc:creator>cheng teh kian</dc:creator><description>&lt;p&gt;I had copied the whole unused RAM data, plase refer below:&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;
            XDATA   03E4H     0001H     UNIT         ?XD?CCUTIL&lt;br /&gt;
                    03E5H     831BH                  *** GAP ***&lt;br /&gt;
            XDATA   8700H     0001H     ABSOLUTE&lt;br /&gt;
                    8701H     00DFH                  *** GAP ***&lt;br /&gt;
            XDATA   87E0H     0001H     ABSOLUTE&lt;br /&gt;
            XDATA   87E1H     0001H     ABSOLUTE&lt;br /&gt;
            XDATA   87E2H     0001H     ABSOLUTE&lt;br /&gt;
            XDATA   87E3H     0001H     ABSOLUTE&lt;br /&gt;
            XDATA   87E4H     0001H     ABSOLUTE&lt;br /&gt;
                    87E5H     000BH                  *** GAP ***&lt;br /&gt;
            XDATA   87F0H     0001H     ABSOLUTE&lt;br /&gt;
            XDATA   87F1H     0001H     ABSOLUTE&lt;br /&gt;
            XDATA   87F2H     0001H     ABSOLUTE&lt;br /&gt;
            XDATA   87F3H     0001H     ABSOLUTE&lt;br /&gt;
            XDATA   87F4H     0001H     ABSOLUTE&lt;br /&gt;
            XDATA   87F5H     0001H     ABSOLUTE&lt;br /&gt;
            XDATA   87F6H     0001H     ABSOLUTE&lt;br /&gt;
            XDATA   87F7H     0001H     ABSOLUTE&lt;br /&gt;
            XDATA   87F8H     0001H     ABSOLUTE&lt;br /&gt;
                    87F9H     0003H                  *** GAP ***&lt;br /&gt;
            XDATA   87FCH     0001H     ABSOLUTE&lt;br /&gt;
BL51 BANKED LINKER/LOCATER V5.03                                                      09/02/2004  19:11:11  PAGE 5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
            XDATA   87FDH     0001H     ABSOLUTE&lt;br /&gt;
            XDATA   87FEH     0001H     ABSOLUTE&lt;br /&gt;
            XDATA   87FFH     0001H     ABSOLUTE&lt;br /&gt;
&lt;br /&gt;
            * * * * * * *   C O D E   M E M O R Y   * * * * * * *&lt;br /&gt;
&lt;/i&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: XDATA SIZE NOT MATCHING</title><link>https://community.arm.com/thread/42755?ContentTypeID=1</link><pubDate>Fri, 10 Sep 2004 04:53:44 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9fa5b7b0-8466-4919-baca-8b4114a623f6</guid><dc:creator>HansBernhard Broeker</dc:creator><description>&lt;p&gt;And you&amp;#39;re absolutely sure that the line informing you about the ***GAP*** is not followed by some other line, further down the file, that describes another piece of XDATA memory?  What comes after 831BH, in your project?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>