<?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 XGATE problems when migrating from XDP to XEP in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XGATE-problems-when-migrating-from-XDP-to-XEP/m-p/209123#M8581</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi all ! (new to the forum looking for help)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am having some problems while migrating code from an XDP to an XEP. Maybe you could give me a small push in the right direction.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am migrating a small&amp;nbsp;kernel in which the SPI and other data movement is done by the XGATE.&lt;/DIV&gt;&lt;DIV&gt;The software that was running on the XDP keeps triggering an xgate sw error interrupt on the XEP.&lt;/DIV&gt;&lt;DIV&gt;I am using Cosmic and Lauterbach (not much documentation around for cosmic&amp;nbsp;&amp;amp; xep combined!)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The question is, application note AN3555 - Investigating XGATE Software Errors mentions a Part II which should cover the S12XGATEV3 ... But I haven't been able to find this Part II document.&lt;/DIV&gt;&lt;DIV&gt;Any idea where it could be?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any suggestion on what I could have missed when adapting the code?&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;(...like setting the xgate stack pointers xgis31, adding the new channels to vector table, etc)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks!&lt;/DIV&gt;&lt;DIV&gt;Pedro&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Apr 2008 23:57:24 GMT</pubDate>
    <dc:creator>Pedro_</dc:creator>
    <dc:date>2008-04-02T23:57:24Z</dc:date>
    <item>
      <title>XGATE problems when migrating from XDP to XEP</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XGATE-problems-when-migrating-from-XDP-to-XEP/m-p/209123#M8581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi all ! (new to the forum looking for help)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am having some problems while migrating code from an XDP to an XEP. Maybe you could give me a small push in the right direction.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am migrating a small&amp;nbsp;kernel in which the SPI and other data movement is done by the XGATE.&lt;/DIV&gt;&lt;DIV&gt;The software that was running on the XDP keeps triggering an xgate sw error interrupt on the XEP.&lt;/DIV&gt;&lt;DIV&gt;I am using Cosmic and Lauterbach (not much documentation around for cosmic&amp;nbsp;&amp;amp; xep combined!)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The question is, application note AN3555 - Investigating XGATE Software Errors mentions a Part II which should cover the S12XGATEV3 ... But I haven't been able to find this Part II document.&lt;/DIV&gt;&lt;DIV&gt;Any idea where it could be?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any suggestion on what I could have missed when adapting the code?&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;(...like setting the xgate stack pointers xgis31, adding the new channels to vector table, etc)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks!&lt;/DIV&gt;&lt;DIV&gt;Pedro&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2008 23:57:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XGATE-problems-when-migrating-from-XDP-to-XEP/m-p/209123#M8581</guid>
      <dc:creator>Pedro_</dc:creator>
      <dc:date>2008-04-02T23:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: XGATE problems when migrating from XDP to XEP</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XGATE-problems-when-migrating-from-XDP-to-XEP/m-p/209124#M8582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Some thoughts:&lt;/DIV&gt;&lt;DIV&gt;. Have a look at AN3242 which lists the main differences between the families&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;. Are you using XGATE interrupts? Are the new stack pointer configuration registers initialised?&lt;/DIV&gt;. Are you using the MPU to manage memory access? Is there a missing PD for XGATE?&lt;/DIV&gt;&lt;DIV&gt;. Use AN3555's techniques to find out where the error occurs - basically read the XGATE registers and find out where it stopped - in most cases you'll find a misaligned access is the cause. This can occur when you recomple&lt;/DIV&gt;&lt;DIV&gt;. If the problem is refusing to yield have a look at AN3458 which goes into the DBG module capabilities&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 15:26:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XGATE-problems-when-migrating-from-XDP-to-XEP/m-p/209124#M8582</guid>
      <dc:creator>Steve</dc:creator>
      <dc:date>2008-04-03T15:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: XGATE problems when migrating from XDP to XEP</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XGATE-problems-when-migrating-from-XDP-to-XEP/m-p/209125#M8583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;"-&amp;nbsp;Are you using the MPU to manage memory access? Is there a missing PD for XGATE?"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; Bingo! The descriptor was incorrectly set.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I can see the xgate executing&amp;nbsp;a thread&amp;nbsp;now.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks Steve.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 16:34:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/XGATE-problems-when-migrating-from-XDP-to-XEP/m-p/209125#M8583</guid>
      <dc:creator>Pedro_</dc:creator>
      <dc:date>2008-04-03T16:34:30Z</dc:date>
    </item>
  </channel>
</rss>

