<?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>topic Re: how to access of EEE RAM from C code? in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/how-to-access-of-EEE-RAM-from-C-code/m-p/176987#M6241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is specified in datasheet. Datasheet is your information source #1, all others start from #10 or more :smileyhappy:.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PRM and PE not define EE mapping, they only should be consistent with what is written in datasheet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Oct 2011 21:29:26 GMT</pubDate>
    <dc:creator>kef</dc:creator>
    <dc:date>2011-10-26T21:29:26Z</dc:date>
    <item>
      <title>how to access of EEE RAM from C code?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/how-to-access-of-EEE-RAM-from-C-code/m-p/176984#M6238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I configured EEE RAM as shown in attachment, my problem is: how to access this global address from C code? as shown on attachment global address is 0x13FF00, as I understand it is not easy access it as pointer? Or I am wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;/Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2011 20:34:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/how-to-access-of-EEE-RAM-from-C-code/m-p/176984#M6238</guid>
      <dc:creator>grzegorzK</dc:creator>
      <dc:date>2011-10-25T20:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to access of EEE RAM from C code?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/how-to-access-of-EEE-RAM-from-C-code/m-p/176985#M6239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Global addresses 13ff00-13ff00 are available in nonbanked memory at 0x0F00.&lt;/P&gt;&lt;P&gt;There are no problems accessing both. To access global address you need far memory pointer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But is it convenient or something to access EEE using pointer and not allocating some variables there? I think it is better to access directly named variables. I would go to Build options,&amp;nbsp;add new NO_INIT segment at 0xF00. Then customize placement to place EEE to that segment. Then you could allocate your variables directly to EEE:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#pragma DATA_SEG EEE&lt;/P&gt;&lt;P&gt;int myeeevar1;&lt;/P&gt;&lt;P&gt;int myeeevar2;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;#pragma DATA_SEG DEFAULT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 01:31:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/how-to-access-of-EEE-RAM-from-C-code/m-p/176985#M6239</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2011-10-26T01:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to access of EEE RAM from C code?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/how-to-access-of-EEE-RAM-from-C-code/m-p/176986#M6240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;kef wrote:&lt;BR /&gt;&lt;P&gt;Global addresses 13ff00-13ff00 are available in nonbanked memory at 0x0F00.&lt;/P&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;Thank you, works!&lt;/P&gt;&lt;P&gt;However I am looking document what will in details describe how this is mapped. I see in AN3743_EEE_quick_start.pdf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN3743.pdf?fpsp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation" rel="nofollow" target="_blank"&gt;http://cache.freescale.com/files/microcontrollers/doc/app_note/AN3743.pdf?fpsp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on page 2 there is a local map, but there is no address for "Local map", only for "global map". How I can find out where every from 16 (16 = max) EEE_RAM pages are maped to address in "local map"? PRM file? build options in Processor Expert?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;/Greg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 20:53:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/how-to-access-of-EEE-RAM-from-C-code/m-p/176986#M6240</guid>
      <dc:creator>grzegorzK</dc:creator>
      <dc:date>2011-10-26T20:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to access of EEE RAM from C code?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/how-to-access-of-EEE-RAM-from-C-code/m-p/176987#M6241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is specified in datasheet. Datasheet is your information source #1, all others start from #10 or more :smileyhappy:.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PRM and PE not define EE mapping, they only should be consistent with what is written in datasheet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 21:29:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/how-to-access-of-EEE-RAM-from-C-code/m-p/176987#M6241</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2011-10-26T21:29:26Z</dc:date>
    </item>
  </channel>
</rss>

