<?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: RTI Interrupt does not enter ISR -- 9S12XDP512 in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RTI-Interrupt-does-not-enter-ISR-9S12XDP512/m-p/180061#M6504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested this code on my CodeWarrior HC12 V5.1 (The current release&amp;nbsp;for HCS12X).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set a breakpoint at the beginning of the function RTI_ISR and&amp;nbsp;&amp;nbsp;the interrupt is&amp;nbsp;generated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you try setting a BP&amp;nbsp;in the interrupt? Is application stopping?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Jan 2011 15:34:35 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2011-01-31T15:34:35Z</dc:date>
    <item>
      <title>RTI Interrupt does not enter ISR -- 9S12XDP512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RTI-Interrupt-does-not-enter-ISR-9S12XDP512/m-p/180060#M6503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Codewarrior v 5.7.0 and am working on an application that requires an RTI to update graphics to an LCD. I have scanned the forums throughly and came up with this scheme for my RTI. I am using the 9S12XDP512 on an ADAPT9S12XD board over a serial RS232 connection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;#include &amp;lt;hidef.h&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* common defines and macros */#include &amp;lt;mc9s12xdp512.h&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* derivative information */#pragma LINK_INFO DERIVATIVE "mc9s12xdp512"#pragma CODE_SEG __NEAR_SEG NON_BANKEDinterrupt void RTI_ISR(void) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PTP = 0x80; //turns on an onboard LED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CRGFLG = 0x80;}#pragma CODE_SEG DEFAULTvoid RTIinit(void) {&amp;nbsp;&amp;nbsp; RTICTL = 0x63;&amp;nbsp;&amp;nbsp; CRGINT = 0x80;&amp;nbsp;&amp;nbsp; CRGFLG = 0x80;}void main(void) {&amp;nbsp;&amp;nbsp; DDRP = 0xFF; //Set Port P to Output&amp;nbsp;&amp;nbsp; RTIinit();&amp;nbsp;&amp;nbsp;&amp;nbsp; EnableInterrupts;&amp;nbsp; for(;;) {} /* wait forever */}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VECTOR ADDRESS 0xFFF0 RTI_ISR &amp;nbsp;//in my .prm file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This code is not turning on the LED as expected meaning it never enters the ISR. Any help or suggestions would be greatly appreciated. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:29:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RTI-Interrupt-does-not-enter-ISR-9S12XDP512/m-p/180060#M6503</guid>
      <dc:creator>dfrancis</dc:creator>
      <dc:date>2020-10-29T09:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: RTI Interrupt does not enter ISR -- 9S12XDP512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RTI-Interrupt-does-not-enter-ISR-9S12XDP512/m-p/180061#M6504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested this code on my CodeWarrior HC12 V5.1 (The current release&amp;nbsp;for HCS12X).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set a breakpoint at the beginning of the function RTI_ISR and&amp;nbsp;&amp;nbsp;the interrupt is&amp;nbsp;generated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you try setting a BP&amp;nbsp;in the interrupt? Is application stopping?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 15:34:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RTI-Interrupt-does-not-enter-ISR-9S12XDP512/m-p/180061#M6504</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2011-01-31T15:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: RTI Interrupt does not enter ISR -- 9S12XDP512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RTI-Interrupt-does-not-enter-ISR-9S12XDP512/m-p/180062#M6505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply. I did attempt a BP at the ISR and it appears to stop the application from running when it enters the ISR. Any code attempted after initializing the RTI does not run and I lose connection to the 9S12X. Is this a possible issue with the placement of my code (_Startup is at $B100)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 23:33:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RTI-Interrupt-does-not-enter-ISR-9S12XDP512/m-p/180062#M6505</guid>
      <dc:creator>dfrancis</dc:creator>
      <dc:date>2011-01-31T23:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: RTI Interrupt does not enter ISR -- 9S12XDP512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RTI-Interrupt-does-not-enter-ISR-9S12XDP512/m-p/180063#M6506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is memory model?&amp;nbsp;_Startup at b100 is wrong, unless memory model is small.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 00:49:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RTI-Interrupt-does-not-enter-ISR-9S12XDP512/m-p/180063#M6506</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2011-02-01T00:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: RTI Interrupt does not enter ISR -- 9S12XDP512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RTI-Interrupt-does-not-enter-ISR-9S12XDP512/m-p/180064#M6507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kef,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using a banked memory model. The code originally had a startup at $C000, but code would not run at that place (application failed) so I moved it in order for it to work (I see now that was wrong). I have only began to run into problems implementing interrupts, as before I was using SCI, ATD etc with no issues. This is my first experience with banked memory model as previously I have only used the HC12B32. Where should my _Startup be initialized and do I need to manipulate GPAGE and/or PPAGE? Thank you so much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 01:43:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RTI-Interrupt-does-not-enter-ISR-9S12XDP512/m-p/180064#M6507</guid>
      <dc:creator>dfrancis</dc:creator>
      <dc:date>2011-02-01T01:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: RTI Interrupt does not enter ISR -- 9S12XDP512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RTI-Interrupt-does-not-enter-ISR-9S12XDP512/m-p/180065#M6508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just restore prm file to original state. Default nonbanked ROM segment should start at 0xC000.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 02:26:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RTI-Interrupt-does-not-enter-ISR-9S12XDP512/m-p/180065#M6508</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2011-02-01T02:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: RTI Interrupt does not enter ISR -- 9S12XDP512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RTI-Interrupt-does-not-enter-ISR-9S12XDP512/m-p/180066#M6509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a fresh project file with the prm (untouched except for the interrupt vector) having nonbanked ROM enter at $C000. This only code I am running is the original interrupt scheme seen above. The application does not run when I use $C000 as the _Startup address. I have even tried simply turning on a pin with no interrupt to no avail. I am using the ubug12x program to connect serially to my uC board and giving the command GO $C000. Am I using the banked memory incorrectly to run programs? I apologize for my lack of familiarity with this uC. Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 04:21:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RTI-Interrupt-does-not-enter-ISR-9S12XDP512/m-p/180066#M6509</guid>
      <dc:creator>dfrancis</dc:creator>
      <dc:date>2011-02-01T04:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: RTI Interrupt does not enter ISR -- 9S12XDP512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RTI-Interrupt-does-not-enter-ISR-9S12XDP512/m-p/180067#M6510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is program really loaded to target MCU using ubug12x? BTW is it BDM pod?&lt;/P&gt;&lt;P&gt;If you load program "serially", then as I understand it, there is some program running on target MCU, which accepts program sent over SCI and writes it to flash. If it is so, then there must be some restrictions and requirements for where and how should you place and specify your interrupt vectors. For example your ubug stuf may require initializing some jump table in RAM. Check the docs. Anyway 0xC000 address should be perfectl for _Startup routine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 14:01:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/RTI-Interrupt-does-not-enter-ISR-9S12XDP512/m-p/180067#M6510</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2011-02-01T14:01:30Z</dc:date>
    </item>
  </channel>
</rss>

