<?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: Locating RAM variables</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Locating-RAM-variables/m-p/235010#M9243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tiago. I am trying it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jan 2013 21:57:47 GMT</pubDate>
    <dc:creator>Ben</dc:creator>
    <dc:date>2013-01-25T21:57:47Z</dc:date>
    <item>
      <title>Locating RAM variables</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Locating-RAM-variables/m-p/235007#M9240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I built several RAM arias in the project.&lt;/P&gt;&lt;P&gt;Please help me with CW C commands that will enable locating variables in a specific RAM zone.&lt;/P&gt;&lt;P&gt;(like SECTION in CW assembly).&lt;/P&gt;&lt;P&gt;TIA Benny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 14:58:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Locating-RAM-variables/m-p/235007#M9240</guid>
      <dc:creator>Ben</dc:creator>
      <dc:date>2013-01-24T14:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Locating RAM variables</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Locating-RAM-variables/m-p/235008#M9241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In CW help, search for "@address".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From help menu:&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;Global Variable Address Modifier (@address) &lt;/P&gt;
&lt;P&gt;Use the global variable address modifier to assign global variables to specific addresses.....&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;int glob @0x0500 = 10; // global variable "glob" is at 0x0500, initialized with 10&lt;/P&gt;
&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are many other ways to use this modifier. Look there.&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 16:38:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Locating-RAM-variables/m-p/235008#M9241</guid>
      <dc:creator>tiagomachado</dc:creator>
      <dc:date>2013-01-24T16:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Locating RAM variables</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Locating-RAM-variables/m-p/235009#M9242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look in the Linker Command File documentation.&lt;/P&gt;&lt;P&gt;You can tell the Linker to Place a symbol in a specific section, and address in your ".lcf"&lt;/P&gt;&lt;P&gt;This is how we place our software version at a known location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ___SOFTWARE_REVISION = 1;&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp; WRITEW(0x05000000 + ___SOFTWARE_REVISION);&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You could substitute the symbol for your array.&amp;nbsp; But be carfull with the size of the array and the section it is in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 17:13:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Locating-RAM-variables/m-p/235009#M9242</guid>
      <dc:creator>loosePointer</dc:creator>
      <dc:date>2013-01-24T17:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Locating RAM variables</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Locating-RAM-variables/m-p/235010#M9243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tiago. I am trying it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 21:57:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Locating-RAM-variables/m-p/235010#M9243</guid>
      <dc:creator>Ben</dc:creator>
      <dc:date>2013-01-25T21:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Locating RAM variables</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Locating-RAM-variables/m-p/235011#M9244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks James, I'll have to check the lcf options. Do you have mapping sample in lcf?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 22:02:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Locating-RAM-variables/m-p/235011#M9244</guid>
      <dc:creator>Ben</dc:creator>
      <dc:date>2013-01-25T22:02:06Z</dc:date>
    </item>
  </channel>
</rss>

