<?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: EVB9S12XF512E RTI not generated</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040824#M17138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;just idea: Since you didn't mention Node2, I suppose that this board works correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please try to upload Node1 software into Node2 board and opposite Node2 software into Node1 board?&lt;/P&gt;&lt;P&gt;This may help us to test whether the problem is rather in hardware or in software.&lt;/P&gt;&lt;P&gt;If Node1 software will work correctly on Node2 board, we should focus on hardware - interconnection, power supplies, jumper settings,...&lt;BR /&gt;If Node1 software will have the same behavior at Node2 board, the problem will be rather in software...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Radek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jun 2020 11:16:42 GMT</pubDate>
    <dc:creator>RadekS</dc:creator>
    <dc:date>2020-06-25T11:16:42Z</dc:date>
    <item>
      <title>EVB9S12XF512E RTI not generated</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040820#M17134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: small;"&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt;Development board:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;EVB9S12XF512E&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt;Target Processor:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;MC9S12XF512MLM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt;Operating system:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;N.A.&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt;Debug Protocol:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;BDM&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff;"&gt;Additional Info:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; P&amp;amp;E micro USB multilink interface&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: small;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: small;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: small;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;Following the steps of&amp;nbsp;EVB9S12XF512E User Manual, I have&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;successfully&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp;opened and flashed the example project '&lt;SPAN&gt;EVB9S12XF512E_Node1_LS.mcp&lt;/SPAN&gt;' thru the debug mode. I can observe the LED indicator D26 toggling when switch SW2 is pressed. But&amp;nbsp;&lt;SPAN&gt;LED indicators D22, D27, and D29 are NOT&amp;nbsp;sequentially turned on at 1 s interval (as mentioned in the startekite&amp;nbsp;document). On placing a breakpoint inside 'Scheduler_RTI_Isr' in 'Scheduler.c', I observed that the program never reaches the breakpoint which means the real-time interrupt is not generated. This an example program from the CD provided with the Kit with no changes. But the breakpoint in 'External_XIRQ_Isr' is reached while executing the code, this is&amp;nbsp;expected as the toggling of LED D26 is observed with the pressing of SW2.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: small;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: small;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;Hence for some reason&amp;nbsp;&lt;SPAN&gt;RTI is not generated and the respective ISR (which has scheduler code) is not executed. The only difference in the procedure i followed and as written in the manual is that I'm using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CW for HC(S)12x, Version 5.1 (which was provided in the Kit CD and updated to CW 5.9.0) whereas the document mentions the code is&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;intended for CodeWarrior Development Studio for HC12X,&amp;nbsp;version 4.6. with&amp;nbsp;CW46_XF512_upgrade_beta0.zip. Why would the real-time interrupt not be generated? Does the CW version difference have any issue? I think there is an issue clock settings in the example code being specific to another core?&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: small;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: small;"&gt;Thank you for your time. &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/RadekS"&gt;RadekS&lt;/A&gt;‌, requesting help.&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: small;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: small;"&gt;Best regards,&lt;/DIV&gt;&lt;DIV style="color: #222222; background-color: #ffffff; font-size: small;"&gt;Rohit&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2020 13:30:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040820#M17134</guid>
      <dc:creator>ramakr02</dc:creator>
      <dc:date>2020-06-14T13:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: EVB9S12XF512E RTI not generated</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040821#M17135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;Unfortunately, I don’t have here S12XF boards for testing it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot see any issue when I look at the code.&lt;/P&gt;&lt;P&gt;The RTI is simple peripheral and shouldn’t cause any issues.&lt;/P&gt;&lt;P&gt;Inside vfnInterrupts_Init() is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RTICTL_RTDEC = 1;&amp;nbsp;&amp;nbsp; /* Real time interrupt decimal divider */&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RTICTL_RTR = 0x79;&amp;nbsp; /* Divider = 2x10^6; RTI period=2M/4MHz = 500 ms */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CRGFLG_RTIF = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Clear real time interrupt flag */&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CRGINT_RTIE = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Enable real time interrupt */&amp;nbsp;&lt;/P&gt;&lt;P&gt;In main():&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENABLE_INTERRUPTS();&lt;/P&gt;&lt;P&gt;In Scheduler_RTI_Isr():&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CRGFLG_RTIF = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Clear the real time interrupt flag */&lt;/P&gt;&lt;P&gt;That should be enough for invoke RTI interrupts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BTW: the Scheduler_RTI_Isr() function is in Interrupts.c file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since XIRQ works, are you sure that main code already reached the ENABLE_INTERRUPTS(); line in the main code?&lt;/P&gt;&lt;P&gt;The most typical issue with S12XF EVB is forgotten jumper J27. This jumper must be disconnected during step by step debugging, otherwise the SBC resets MCU periodically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try to remove the breakpoint and set it again. Please ensure that you placed the breakpoint inside the Scheduler_RTI_Isr() and not u8Scheduler() function. The switch code may be sometimes optimized out by compiler (depends on optimization level) and breakpoints placed in C code cannot work correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Radek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2020 15:30:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040821#M17135</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2020-06-18T15:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: EVB9S12XF512E RTI not generated</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040822#M17136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Radek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said, on further debugging, i discovered that program is not able to reach&amp;nbsp;ENABLE_INTERRUPTS(); in main.c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program halts forever in the following subroutine in FlexRay_handler.c :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;void Failed(uint8 u8number) &lt;BR /&gt;{ &lt;BR /&gt; while(u8number); /* Function only for debugging, CC should be restarted */&lt;BR /&gt;}&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;The debugger windows shows the value u8number = 1. This means flexray initialisation is not successful. The code reaches line number 200 of Fr_UNIFIED.c, and returns&amp;nbsp;FR_NOT_SUCCESS. This is because&amp;nbsp;&amp;nbsp;FlexRay CC is not in FR_POCSTATE_CONFIG and the wait cycles (incrementing i counter) expires waiting for&amp;nbsp;(Fr_CC_reg_ptr[FrPSR0] &amp;amp; 0x0700) == FrPSR0_PROTSTATE_CONFIG).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I am not able to figure why the flexray initialisation is failing. This is the example project of "EVB9S12XF512E_Node1_LS.mcp".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Could you please provide more info on the above issues and check points i need to verify to get to the cause of issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2020 13:27:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040822#M17136</guid>
      <dc:creator>ramakr02</dc:creator>
      <dc:date>2020-06-22T13:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: EVB9S12XF512E RTI not generated</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040823#M17137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;I fact, I am not sure what is the reason for it now.&lt;/P&gt;&lt;P&gt;Please ensure that both boards are connected properly together with FlexRay cables, both boards are powered and one board has uploaded&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;EVB9S12XF512E_Node1_LS.mcp while the second board uses&amp;nbsp;&lt;SPAN&gt;EVB9S12XF512E_Node2_LS.mcp.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Please try to &lt;/SPAN&gt;&lt;/SPAN&gt;reset both boards simultaneously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Radek&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2020 10:52:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040823#M17137</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2020-06-25T10:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: EVB9S12XF512E RTI not generated</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040824#M17138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;just idea: Since you didn't mention Node2, I suppose that this board works correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please try to upload Node1 software into Node2 board and opposite Node2 software into Node1 board?&lt;/P&gt;&lt;P&gt;This may help us to test whether the problem is rather in hardware or in software.&lt;/P&gt;&lt;P&gt;If Node1 software will work correctly on Node2 board, we should focus on hardware - interconnection, power supplies, jumper settings,...&lt;BR /&gt;If Node1 software will have the same behavior at Node2 board, the problem will be rather in software...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Radek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2020 11:16:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040824#M17138</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2020-06-25T11:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: EVB9S12XF512E RTI not generated</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040825#M17139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Radek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During my initial flashing, I did flash both Node 1 and Node 2 LS flexray code to designated EVBs. I did check the tightness of flexray cables, tried resetting the boards simultaneously, but the LEDs did no blink as per the operation of Flexray LS code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, going with your advice, I interchanged the code and flashed Node 2 project code to EVB1 and vice versa, still the LEDs did not blink as per the code. So it is the same behaviour in both EVBs for the code, which possibly indicates an issue with software. As i mentioned earlier, during the debug the code goes into void failed ISR of FlexRay_handler.c .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As discussed with Diana, I will share the observation with standalone code as follows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When step running using multilink(Jumper J27 disconnected), the program routinely goes to RTI ISR and I am able to see LEDs (D22, 23,25,28) switch ON and OFF as per the switch case in scheduler code. Also, I verified the program reaches ENABLE_INTERRUPTS(); naturally since the RTI ISR is reached. So the initialisation of flexray is successful and code proceeds.&lt;BR /&gt;The problem is when I run (free run, no stepping) the code without any breakpoint (multilink connected to EVB, true time simulator run), the code never reached the RTI ISR and it remains inside the following ISR in Vectors.c (when i halt the run):&lt;/P&gt;&lt;P&gt;/*******************************************************************************/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Dummy interrupt service routine */&lt;/P&gt;&lt;P&gt;#pragma CODE_SEG __NEAR_SEG NON_BANKED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void interrupt Dummy_D_Isr()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;for (;;)&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/****************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence, in the free run, no LED indication is observed. Why is the code working while single stepping but jumping into dummy ISR while running freely?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2020 20:56:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040825#M17139</guid>
      <dc:creator>ramakr02</dc:creator>
      <dc:date>2020-06-25T20:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: EVB9S12XF512E RTI not generated</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040826#M17140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I have to refute the SW issue, because it works on both boards which I have, see the attached videos.&lt;/P&gt;&lt;P&gt;One of them shows the StandAlone_FS &lt;SPAN&gt;project&amp;nbsp;&lt;/SPAN&gt;and another one Node1_LS and Node2_LS project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think another chance could be to test it on the CW 5.1 and, for example, Win 7&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2020 07:30:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040826#M17140</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-06-26T07:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: EVB9S12XF512E RTI not generated</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040827#M17141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;thank you for your investigation.&lt;/P&gt;&lt;P&gt;Based on your observation, this situation is now much more clear.&lt;/P&gt;&lt;P&gt;Obviously, there is enabled and reached one of interrupts which&amp;nbsp;was not implemented by own interrupt routine.&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Dummy_D_Isr() function does not clear any interrupt flag, therefore the code jumps into this routine again and again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The XIRQ has higher priority, therefore SW2 works correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Please make a backup of your vectors.c, interrupts.c and interrupts.h files and use attached files. I implemented interrupt catcher code for your reference - unfortunately, not tested.&lt;/LI&gt;&lt;LI&gt;Build the code and place a breakpoint into&amp;nbsp;Unimplemented_ISR() dummy function.&lt;/LI&gt;&lt;LI&gt;When the code will reach this breakpoint, the&amp;nbsp;number_of_ISR will show the source of an interrupt.&lt;/LI&gt;&lt;LI&gt;The name of the interrupt source may be found in&amp;nbsp;MC9S12XF512.H file ("interrupt vector numbers" table) or you may calculate vector address as 0xFFFE-(2*&lt;SPAN&gt;number_of_ISR&lt;/SPAN&gt;). Note: just be careful and do no mix hex and decimal numbers.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: If the code will not jump into&amp;nbsp;&lt;SPAN&gt;Unimplemented_ISR(), the source of the issue&amp;nbsp;was probably in the original vector table. Any unintentional modification or just commented single line&amp;nbsp;changes the interrupt vectors order.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Radek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2020 07:48:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040827#M17141</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2020-06-26T07:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: EVB9S12XF512E RTI not generated</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040828#M17142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I completely agree that the code works and there seems to be different issue to be investigated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2020 10:56:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040828#M17142</guid>
      <dc:creator>ramakr02</dc:creator>
      <dc:date>2020-06-28T10:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: EVB9S12XF512E RTI not generated</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040829#M17143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Radek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for providing the modified source files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I replaced the three files in the standalone FS code and compiled and flashed the code to EVB. Following are the observations:&lt;/P&gt;&lt;P&gt;1. The LEDs, apart from D27 and D29, start blinking in orderly manner (see attached video for reference). This is a good observation since earlier no LEDs were blinking. It seems that LEDs&amp;nbsp;&lt;SPAN&gt;D27 and D29 (which do not blink) are related to CAN messages, which I am not particularly interested. The observation in stepping and free run is same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Since our objective was to find which Interrupt was causing the original code to jump to dummy ISR, and as you explained, i placed a breakpoint inside&amp;nbsp;Unimplemented_ISR(void), and while running the breakpoint is reached and the value of the variable number_of_ISR is 6. From the vector table, I see that the source of interrupt is&amp;nbsp;IRQ ( Port E pin E1 Input, Maskable Interrupt). I am not sure why this interrupt happens, since in the schematic of EVB, PE1 is connected to U4 (MC33742). Is there anything to investigate why PE1/IRQ is causing an interrupt?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In the original example code, as i mentioned in earlier post, the code jumped to Dummy ISR because of the forever FOR loop and remained there. By replacing the code comes out of the unimplemented ISR and allows other ISRs to execute.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you again for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Rohit&lt;div class="lia-vid-container video-embed-center lia-video-unavailable"&gt;&lt;div id="lia-vid-6185802231001w320h240r626" class="lia-video-ooyala-player-container"&gt;&lt;div class="lia-video-status-message"&gt;このビデオは削除されました&lt;/div&gt;&lt;/div&gt;&lt;a class="video-embed-link" href="https://community.nxp.com/t5/video/gallerypage/video-id/6185802231001"&gt;（マイビデオを表示）&lt;/a&gt;&lt;/div&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2020 11:42:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040829#M17143</guid>
      <dc:creator>ramakr02</dc:creator>
      <dc:date>2020-06-28T11:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: EVB9S12XF512E RTI not generated</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040830#M17144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to add here the solution which we found after the discussion in a support ticket.&lt;/P&gt;&lt;P&gt;The boards&amp;nbsp;have to switch ON one after the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2020 09:06:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EVB9S12XF512E-RTI-not-generated/m-p/1040830#M17144</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-07-13T09:06:10Z</dc:date>
    </item>
  </channel>
</rss>

