<?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: CW for S12X: Adding XGATE codes to non-XGATE project in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-for-S12X-Adding-XGATE-codes-to-non-XGATE-project/m-p/142360#M2857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi again,&lt;BR /&gt;&lt;BR /&gt;I just managed it. I put a&lt;BR /&gt;#pragma CODE_SEG __GPAGE_SEG XGATE_CODE&lt;BR /&gt;at the top of my .cxgate file.&lt;BR /&gt;&lt;BR /&gt;It seem curious to me because CW generated .cxgate files don't need this.&lt;BR /&gt;&lt;BR /&gt;Can anyone explaint that to me?&lt;BR /&gt;&lt;BR /&gt;-&amp;gt; pittbull&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jan 2007 01:06:17 GMT</pubDate>
    <dc:creator>pittbull</dc:creator>
    <dc:date>2007-01-11T01:06:17Z</dc:date>
    <item>
      <title>CW for S12X: Adding XGATE codes to non-XGATE project</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-for-S12X-Adding-XGATE-codes-to-non-XGATE-project/m-p/142359#M2856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I already have a project with many source files that doesn't uses the XGATE until now...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To enable XGATE support, I copied some stuff from a template project (SetupXGATE, the .PRM, the XGATE vector table, a .cxgate file containing my new XGATE source etc.).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It compiles and links without warnings, but I can't run it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the linker map, there's no XGATE_CODE section. Why?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What is missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt; pittbull&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 00:02:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-for-S12X-Adding-XGATE-codes-to-non-XGATE-project/m-p/142359#M2856</guid>
      <dc:creator>pittbull</dc:creator>
      <dc:date>2007-01-11T00:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: CW for S12X: Adding XGATE codes to non-XGATE project</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-for-S12X-Adding-XGATE-codes-to-non-XGATE-project/m-p/142360#M2857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi again,&lt;BR /&gt;&lt;BR /&gt;I just managed it. I put a&lt;BR /&gt;#pragma CODE_SEG __GPAGE_SEG XGATE_CODE&lt;BR /&gt;at the top of my .cxgate file.&lt;BR /&gt;&lt;BR /&gt;It seem curious to me because CW generated .cxgate files don't need this.&lt;BR /&gt;&lt;BR /&gt;Can anyone explaint that to me?&lt;BR /&gt;&lt;BR /&gt;-&amp;gt; pittbull&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 01:06:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-for-S12X-Adding-XGATE-codes-to-non-XGATE-project/m-p/142360#M2857</guid>
      <dc:creator>pittbull</dc:creator>
      <dc:date>2007-01-11T01:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: CW for S12X: Adding XGATE codes to non-XGATE project</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-for-S12X-Adding-XGATE-codes-to-non-XGATE-project/m-p/142361#M2858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;The wizard generated projects do need it too, and they do have it.&lt;BR /&gt;But it is contained inside of hidef.h, not in the C file on its own.&lt;BR /&gt;Note that just the place the code especially is not enough, the XGATE also has 2 byte alignment for const and code access and for the flash only certain areas of the HCS12X are accessible.&lt;BR /&gt;So the delivered hidef.h contains a #pragma for all the possibly constant sections (CODE_SEG/CONST_SEG/STRING_SEG).&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 02:41:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-for-S12X-Adding-XGATE-codes-to-non-XGATE-project/m-p/142361#M2858</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2007-01-11T02:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: CW for S12X: Adding XGATE codes to non-XGATE project</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-for-S12X-Adding-XGATE-codes-to-non-XGATE-project/m-p/142362#M2859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thank you, CompilerGuru &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;BR /&gt;I have all the XGATE specific sections in my .PRM and they are also 2-byte aligned.&lt;BR /&gt;The hidef.h was the only missing thing...&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 03:27:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-for-S12X-Adding-XGATE-codes-to-non-XGATE-project/m-p/142362#M2859</guid>
      <dc:creator>pittbull</dc:creator>
      <dc:date>2007-01-11T03:27:06Z</dc:date>
    </item>
  </channel>
</rss>

