<?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: More XGATE frustration</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/More-XGATE-frustration/m-p/2191729#M20757</link>
    <description>&lt;P&gt;Hi Ladislav,&lt;/P&gt;&lt;P&gt;Thanks so much for your efforts. I too have been fighting with this for far more time than I consider acceptable. I went through your code and don't see anything different about it that I am doing , other than I am using RTI to generate the signal. There is something hidden here that I cannot find, so I'm going to attack the problem from another angle.&lt;/P&gt;&lt;P&gt;This was just a test code to see if certain code portions would work, so it is not critical, (but I hate to give up on it). I have had some success in converting my project code from absolute to relocatable assembler. It uses the CPU to handle all interrupts. Now I will try and redirect them one by one to XGATE. Maybe this will work for me.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Robert&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Oct 2025 16:39:44 GMT</pubDate>
    <dc:creator>roberthiebert</dc:creator>
    <dc:date>2025-10-23T16:39:44Z</dc:date>
    <item>
      <title>More XGATE frustration</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/More-XGATE-frustration/m-p/2187779#M20755</link>
      <description>&lt;P&gt;MC9S12XEP100, Code Warrior, relocatable assembler.&lt;/P&gt;&lt;P&gt;In my continued struggle to get XGATE to handle some interrupts with an existing program I have, I have written some short test programs to help me with this. In my latest one I have come up against a brick wall (again). I have a test program that works. It uses a periodic interrupt timer to generate a 20ms square wave signal to ECT Ch0 input capture. All the input capture does for now is to increment a variable. Both the PIT and ECT ISRs use XGATE, and they work just fine.&lt;/P&gt;&lt;P&gt;In my latest program, instead of using the PIT and XGATE to generate the signal, I am using RTI with the CPU. This portion of the program works as designed, but I can't seem to get it to enter the ECT ISR in XGATE. I've spent a lot of time trying to troubleshoot this but I can't find what it is that I am doin wrong. Time to beg for help.&lt;/P&gt;&lt;P&gt;If anyone could find the time to have a look at my program and make a suggestion I'd really appreciate it.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 21:13:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/More-XGATE-frustration/m-p/2187779#M20755</guid>
      <dc:creator>roberthiebert</dc:creator>
      <dc:date>2025-10-16T21:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: More XGATE frustration</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/More-XGATE-frustration/m-p/2190675#M20756</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I was fighting with it longer than acceptable so I created my own project where port B is connected to the ECT Ch0 IC function.&lt;/P&gt;
&lt;P&gt;(Two days I spent with wrong multilink cable ... frustrating to find hidden and random behavior issue)&lt;/P&gt;
&lt;P&gt;I am able to get into the interrupt. The code is very simple so now there is a game "find ten differences" :). I hope you will be successful than me. However, I have not checked your code after my started to run. Probably, with following suggestion it will also run. Additionally I set a pull down on ECT Ch0 (rising edge detection).&lt;/P&gt;
&lt;P&gt;But !!!! one big issue (I forget because I usually used XGATE in flash) can be usage of RAM for XGATE. If you set breakpoint to it before the XGATE is initialized a&amp;nbsp;copied then how it could now where it is?&lt;/P&gt;
&lt;P&gt;Suggestion...set breakpoint at CPU somewhere after XGATE setup is done and code is copied. After the code stops at this brkpnt you can set another one in the XGATE window.&lt;/P&gt;
&lt;P&gt;Another approach &amp;nbsp;is to run the code, temporarily stop it, and then set a&amp;nbsp;breakpoint into XGATE code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Ladislav&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 10:26:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/More-XGATE-frustration/m-p/2190675#M20756</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2025-10-22T10:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: More XGATE frustration</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/More-XGATE-frustration/m-p/2191729#M20757</link>
      <description>&lt;P&gt;Hi Ladislav,&lt;/P&gt;&lt;P&gt;Thanks so much for your efforts. I too have been fighting with this for far more time than I consider acceptable. I went through your code and don't see anything different about it that I am doing , other than I am using RTI to generate the signal. There is something hidden here that I cannot find, so I'm going to attack the problem from another angle.&lt;/P&gt;&lt;P&gt;This was just a test code to see if certain code portions would work, so it is not critical, (but I hate to give up on it). I have had some success in converting my project code from absolute to relocatable assembler. It uses the CPU to handle all interrupts. Now I will try and redirect them one by one to XGATE. Maybe this will work for me.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Robert&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 16:39:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/More-XGATE-frustration/m-p/2191729#M20757</guid>
      <dc:creator>roberthiebert</dc:creator>
      <dc:date>2025-10-23T16:39:44Z</dc:date>
    </item>
  </channel>
</rss>

