<?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 xref</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/14413/xdata-xref</link><description> I have looked, and looked for a means of having the linker list the ADDRESSES of my data, idata and xdata variables, but not found one. How do I get it 
 
Erik </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: xdata xref</title><link>https://community.arm.com/thread/151678?ContentTypeID=1</link><pubDate>Wed, 05 Sep 2001 07:57:39 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4326e8e6-96da-4eaf-8cc0-23454637dfff</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;MAP file ?? do you mean M51 ?&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 xref</title><link>https://community.arm.com/thread/150971?ContentTypeID=1</link><pubDate>Thu, 30 Aug 2001 13:55:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5838b760-62a4-4d5a-9943-948e3906b0ce</guid><dc:creator>Jon Ward</dc:creator><description>&lt;p&gt;Erik,&lt;br /&gt;
&lt;br /&gt;
Why don&amp;#39;t you post your MAP file to the forum and we can show you where the symbols are listed.&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: xdata xref</title><link>https://community.arm.com/thread/145802?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2001 11:29:05 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8e0ee1b1-4ff8-4e98-b609-98a93b4a40c0</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;Andy,&lt;br /&gt;
  I have the IXREF and no NO.. .  Could you possibly e-mail me the control file uVision produce for you, or I must fumble my way through uVision to make one.&lt;br /&gt;
&lt;br /&gt;
Thanks,&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 xref</title><link>https://community.arm.com/thread/143827?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2001 09:43:36 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:90281f0f-a5e3-4f59-b543-18ea095e8916</guid><dc:creator>Andrew Neil</dc:creator><description>&lt;p&gt;&lt;b&gt;NOIP&lt;/b&gt; is just a Compiler option (No Integer Promotion).&lt;br /&gt;
&lt;br /&gt;
The tools are all still command-line tools (see my rant elsewhere!); uVision just builds the command line &amp;amp; calls them &amp;quot;invisibly&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So it &lt;b&gt;should&lt;/b&gt; be possible to set it up on uVision, then copy the options into your batchfiles.&lt;br /&gt;
uVision creates a &lt;b&gt;.lnp&lt;/b&gt; file with the Linker options in.&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;ve just noticed that mine has an &lt;b&gt;IXREF&lt;/b&gt; option in it.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can do a uVision &amp;quot;batch&amp;quot; build from the command line&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: xdata xref</title><link>https://community.arm.com/thread/141158?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2001 07:11:31 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3bb3d81b-2bb1-49fd-9513-1a9236c551f0</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;Thanks Andy.  It&amp;#39;s 98% &amp;quot;C&amp;quot; and 2% assembler.  The only &amp;quot;NO&amp;quot; I have is &amp;quot;NOIP&amp;quot;.  I really would like to see the address of my - at least xdata - globals.  Is it that Keil is so amazed with their uVision which requires clicks and clicks to switch from one job to another that they have forgotten the simple, easy and excellent functionality of a batchfile?.  I know that the batchfile may be a lost art but those of us who used them for years on end DO know their advantages and do not get blinded by the glare of windows.  I am not an &amp;quot;enemy&amp;quot; of windows, I use it with great delight for things where things change for every use, but for repetitive functions without parameter change mr Gates has not yet come up with a solution.&lt;br /&gt;
&lt;br /&gt;
This got to be more than I intended, but now it is off my chest.&lt;br /&gt;
&lt;br /&gt;
Thanks, have fun&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 xref</title><link>https://community.arm.com/thread/137568?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2001 03:39:47 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:aab4707a-e606-4d37-8fae-37fbd042f8ac</guid><dc:creator>Andrew Neil</dc:creator><description>&lt;p&gt;Hmmm...&lt;br /&gt;
I thought you might say that, which was why I mentioned the bit about only seeing &lt;b&gt;PRINT(&lt;i&gt;filename&lt;/i&gt;)&lt;/b&gt; in the &amp;quot;INVOKED BY&amp;quot; section of the M51.&lt;br /&gt;
Not terribly helpful :-(&lt;br /&gt;
&lt;br /&gt;
Most of the mapfile listing-control options seem to be to do with &lt;b&gt;excluding&lt;/b&gt; bits of the mapfile; do you have any of the &lt;b&gt;NOxxx&lt;/b&gt; listing options on your command line?&lt;br /&gt;
&lt;br /&gt;
I don&amp;#39;t know if any of these options require that you enable debug info?&lt;br /&gt;
&lt;br /&gt;
My example was from a &amp;#39;C&amp;#39; source; I don&amp;#39;t know if you get different (less?) info from an Assembler source?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: xdata xref</title><link>https://community.arm.com/thread/129685?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2001 12:05:35 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:fc2d38fd-a9ff-47ab-b870-35a7a0334420</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;Andy, sorry, incomplete information in my question.  I am not using uVision I am using batchfiles to have 7 projects under a simple command structure.&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 xref</title><link>https://community.arm.com/thread/121639?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2001 11:55:51 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:870813a3-2d35-4596-a8ee-33f94bc24d49</guid><dc:creator>Andrew Neil</dc:creator><description>&lt;p&gt;I&amp;#39;m using uVision v2.14 with BL51 v4.14.&lt;br /&gt;
&lt;br /&gt;
In uVision &amp;#39;Listing&amp;#39; options, I checked &lt;b&gt;everything&lt;/b&gt; except &amp;#39;Line Numbers&amp;#39;; &lt;i&gt;ie,&lt;/i&gt;&lt;br /&gt;
Memory Map;&lt;br /&gt;
Public symbols;&lt;br /&gt;
Local sybols;&lt;br /&gt;
Comment Records;&lt;br /&gt;
Cross Reference;&lt;br /&gt;
Generated Symbols;&lt;br /&gt;
Library symbols&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;m afraid I&amp;#39;m not sure exactly which one turns on that particular part of the listing!&lt;br /&gt;
&lt;br /&gt;
The only listing-control option shown in the &amp;quot;INVOKED BY&amp;quot; section of the M51 is the PRINT(filename).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: xdata xref</title><link>https://community.arm.com/thread/109855?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2001 09:58:21 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:442e7d07-9029-469c-8365-8179b0d39de6</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;The only mention of an IDATA variable in the M51 is: AUX_CURRENT_PRESENTATION . . . . . IDATA;   USCUSIGN  USAUXSGN  USINIT  &lt;br /&gt;
&lt;br /&gt;
How did you get what you show ?&lt;br /&gt;
&lt;br /&gt;
Erik&lt;br /&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: xdata xref</title><link>https://community.arm.com/thread/94825?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2001 08:35:01 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ad646ee6-a95f-4f17-926f-6fa3ba71b1e5</guid><dc:creator>Andrew Neil</dc:creator><description>&lt;p&gt;The &lt;b&gt;getline&lt;/b&gt; funciton in the Measure example has two parameters, &lt;b&gt;line&lt;/b&gt; and &lt;b&gt;n&lt;/b&gt;, and two locals, &lt;b&gt;cnt&lt;/b&gt; and &lt;b&gt;c&lt;/b&gt;:&lt;br /&gt;
&lt;pre&gt;
void getline (unsigned char idata *line, unsigned char n)  {
  unsigned char cnt = 0;
  unsigned char c;
&lt;/pre&gt;
&lt;br /&gt;
The symbol table shows their addresses:&lt;pre&gt;SYMBOL TABLE OF MODULE:  Measure (MEASURE)

  VALUE           TYPE          NAME
  ----------------------------------

  -------         MODULE        GETLINE
  C:0000H         SYMBOL        _ICE_DUMMY_
  C:19A4H         PUBLIC        _getline
  -------         PROC          _GETLINE
&lt;b&gt;  D:0025H         SYMBOL        line
  D:0026H         SYMBOL        n&lt;/b&gt;
  -------         DO            n
&lt;b&gt;  D:0027H         SYMBOL        cnt
  D:0028H         SYMBOL        c&lt;/b&gt;
  -------         ENDDO         c
  -------         ENDPROC       _GETLINE
  -------         ENDMOD        GETLINE&lt;/pre&gt;
(the &amp;quot;value&amp;quot; of a symbol, as far as the Linker is concerned, is its address).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: xdata xref</title><link>https://community.arm.com/thread/53844?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2001 08:14:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b26488b0-aec6-400a-b37a-c30c0cc326a7</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;Globals would do just fine.  Yes, they are listed as per use but not as per address.  &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 xref</title><link>https://community.arm.com/thread/37802?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2001 06:33:19 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ef4a840d-f5d8-4684-b5ae-df816c7ec168</guid><dc:creator>Andrew Neil</dc:creator><description>&lt;p&gt;It&amp;#39;s all in the Symbol Table (it is in mine, anyway - locals and all)&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;m using BL51 v4.14.&lt;br /&gt;
&lt;br /&gt;
You&amp;#39;d have to do some post-processing if you wanted it sorted into a map of XDATA, a map of PDATA, &lt;i&gt;etc;&lt;/i&gt; I&amp;#39;m sure I had an Excel macro to do that, but can&amp;#39;t find it just now  :-(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: xdata xref</title><link>https://community.arm.com/thread/37810?ContentTypeID=1</link><pubDate>Sat, 18 Aug 2001 17:41:42 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0f7a8b85-ce56-4694-8102-7e2bc5aaa017</guid><dc:creator>Andrew Neil</dc:creator><description>&lt;p&gt;just globals, or locals as well?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>