<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>CodeWarrior for MCUのトピックRe: Parsing a map file for variable addresses</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Parsing-a-map-file-for-variable-addresses/m-p/139615#M2318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Just my 10 cents on this one.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Why do you want to extract that data from the .map file.&lt;/DIV&gt;&lt;DIV&gt;The .map file is a text file generated for information purpose only. Its format may change in the future, so I would not recommend using that file to extract information.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Why not using the executable file (.abs) generated by the linker?&lt;/DIV&gt;&lt;DIV&gt;This file follows the ELF V1.1 standard and you should be able to retrieve the address from any symbol from the symbol table.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You can find information on ELF file format on the web, just google for it. THere is even an associated article on wikipedia &lt;A href="http://en.wikipedia.org/wiki/Executable_and_Linkable_Format" rel="nofollow" target="_blank"&gt;http://en.wikipedia.org/wiki/Executable_and_Linkable_Format&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I hope this helps.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jul 2007 13:35:00 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2007-07-11T13:35:00Z</dc:date>
    <item>
      <title>Parsing a map file for variable addresses</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Parsing-a-map-file-for-variable-addresses/m-p/139614#M2317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm doing some research on whether a simple way exists to&amp;nbsp;extract variable memory addresses from a linkers output files. I was thinking of writing my own parser to extract the information from the .map file generated by the linker but was also hoping that an API exists which can do the job for me. The reason for this is that I want to build in functionality into a test application I'm writing to retrieve global variable values of specific addresses on my target system (kind of like &lt;SPAN style="color: #231F20; font-family: TimesNewRomanPSMT;"&gt;μ&lt;/SPAN&gt;&lt;SPAN style="color: #231F20; font-family: TimesNewRomanPSMT;"&gt;C/Probe does)&lt;/SPAN&gt;.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Has anyone here come accross a similar problem and if so how did you solve it? I'm using Codewarrior 8 v3.1.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 21:53:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Parsing-a-map-file-for-variable-addresses/m-p/139614#M2317</guid>
      <dc:creator>atmosphere</dc:creator>
      <dc:date>2007-07-10T21:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing a map file for variable addresses</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Parsing-a-map-file-for-variable-addresses/m-p/139615#M2318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Just my 10 cents on this one.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Why do you want to extract that data from the .map file.&lt;/DIV&gt;&lt;DIV&gt;The .map file is a text file generated for information purpose only. Its format may change in the future, so I would not recommend using that file to extract information.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Why not using the executable file (.abs) generated by the linker?&lt;/DIV&gt;&lt;DIV&gt;This file follows the ELF V1.1 standard and you should be able to retrieve the address from any symbol from the symbol table.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You can find information on ELF file format on the web, just google for it. THere is even an associated article on wikipedia &lt;A href="http://en.wikipedia.org/wiki/Executable_and_Linkable_Format" rel="nofollow" target="_blank"&gt;http://en.wikipedia.org/wiki/Executable_and_Linkable_Format&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I hope this helps.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 13:35:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Parsing-a-map-file-for-variable-addresses/m-p/139615#M2318</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-07-11T13:35:00Z</dc:date>
    </item>
  </channel>
</rss>

