<?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>S12 / MagniV MicrocontrollersのトピックRe: Extending XGATE RAM section?</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Extending-XGATE-RAM-section/m-p/126973#M628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;When you list multiple segments to place the same section in, you might have to use the -OnBRA option as this setup can cause branch distances to increase. So when you get a fixup overload linker error, add -OnBRA.&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Mar 2006 04:09:59 GMT</pubDate>
    <dc:creator>CompilerGuru</dc:creator>
    <dc:date>2006-03-06T04:09:59Z</dc:date>
    <item>
      <title>Extending XGATE RAM section?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Extending-XGATE-RAM-section/m-p/126969#M624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Codewarrior 4.1 to write a combined S12X/XGATE application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The .prm file defines a single XGATE RAM section...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SEGMENTS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RAM_XGATE = READ_WRITE 0xFB1000 TO 0xFB1FFF ALIGN 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PLACEMENT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;XGATE_CODE INTO RAM_XGATE;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...where the XGATE code is copied to for execution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to increase this section by doing the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SEGMENTS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RAM_XGATE = READ_WRITE 0xFB1000 TO 0xFB1FFF ALIGN 2;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RAM_XGATE2 = READ_WRITE 0xFC1000 TO 0xFC1FFF ALIGN 2;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PLACEMENT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;XGATE_CODE INTO RAM_XGATE, RAM_XGATE2;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In case it works, What happens when a fuction calls a function&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in the other page? Does compiler/linker handle this correctly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- pittbull&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 17:49:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Extending-XGATE-RAM-section/m-p/126969#M624</guid>
      <dc:creator>pittbull</dc:creator>
      <dc:date>2006-02-22T17:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Extending XGATE RAM section?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Extending-XGATE-RAM-section/m-p/126970#M625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hi pittbull,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;Yes you can do what you propose but since the XGATE memory map isn't paged, you can also define a larger segment using global memory.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;SEGMENTS&lt;BR /&gt;....&lt;BR /&gt;RAM_XGATE = READ_WRITE 0x0FB000'G TO 0x0FCFFF'G ALIGN 2&lt;BR /&gt;....&lt;BR /&gt;PLACEMENT&lt;BR /&gt;....&lt;BR /&gt;XGATE_CODE INTO RAM_XGATE;&lt;BR /&gt;....&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;If you use different ways of defining segments just be careful that you don't define the same segment twice.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 20:10:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Extending-XGATE-RAM-section/m-p/126970#M625</guid>
      <dc:creator>Steve</dc:creator>
      <dc:date>2006-02-22T20:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Extending XGATE RAM section?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Extending-XGATE-RAM-section/m-p/126971#M626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello Steve,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply.&lt;BR /&gt;&lt;BR /&gt;Are the global memory segments ('G) an undocumented feature? I can't find it in the manuals.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 23:38:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Extending-XGATE-RAM-section/m-p/126971#M626</guid>
      <dc:creator>pittbull</dc:creator>
      <dc:date>2006-02-22T23:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Extending XGATE RAM section?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Extending-XGATE-RAM-section/m-p/126972#M627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I don't think it is meant to be undocumented. It works in the debugger too when selecting an address in the memory window.&lt;/DIV&gt;&lt;DIV&gt;The options are:&lt;/DIV&gt;&lt;DIV&gt;default or 'L - logical address&lt;/DIV&gt;&lt;DIV&gt;'G - global address&lt;/DIV&gt;&lt;DIV&gt;'X - XGATE address (so you can define XGATE addresses in the prm file if needed)&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 23:59:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Extending-XGATE-RAM-section/m-p/126972#M627</guid>
      <dc:creator>Steve</dc:creator>
      <dc:date>2006-02-22T23:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Extending XGATE RAM section?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Extending-XGATE-RAM-section/m-p/126973#M628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;When you list multiple segments to place the same section in, you might have to use the -OnBRA option as this setup can cause branch distances to increase. So when you get a fixup overload linker error, add -OnBRA.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2006 04:09:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Extending-XGATE-RAM-section/m-p/126973#M628</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2006-03-06T04:09:59Z</dc:date>
    </item>
  </channel>
</rss>

