<?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: MPC5746C breakpoint in the Interrupt Service Routine in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-breakpoint-in-the-Interrupt-Service-Routine/m-p/769152#M11033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went back and setup ISRs for SIUL_EIRQ_0_7, SIUL_EIRQ_8_15 and SIUL_EIRQ_24_31.&lt;/P&gt;&lt;P&gt;None of the other ISRs have a problem. It only seems to happen with SIUL_EIRQ_16_23.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the ISR names in hopes something would change, but nothing did.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;(uint32_t) &amp;amp;SIUL_EIRQ_0_7, &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* Vector # 243 SIUL EIRQ [0-7] - SIUL Combined External Interrupt */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;(uint32_t) &amp;amp;SIUL_EIRQ_8_15, &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* Vector # 244 SIUL EIRQ [8-15] - SIUL Combined External Interrupt */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;(uint32_t) &amp;amp;SIUL_EIRQ_16_23, &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* Vector # 245 SIUL EIRQ [16-23] - SIUL Combined External Interrupt */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;(uint32_t) &amp;amp;SIUL_EIRQ_24_31, &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* Vector # 246 SIUL EIRQ [24-31] - SIUL Combined External Interrupt */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, it doesn't matter where I add the breakpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f0055; font-size: small;"&gt;&lt;STRONG&gt;void&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; SIUL_EIRQ_16_23(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small;"&gt;void&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;(SIUL2.ISR0.B.EIF18) &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* TP 394 */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* Clear IRQ 18 */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;SIUL2.ISR0.B.EIF18 = 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;WDTC++;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2018 15:10:02 GMT</pubDate>
    <dc:creator>cholland</dc:creator>
    <dc:date>2018-04-26T15:10:02Z</dc:date>
    <item>
      <title>MPC5746C breakpoint in the Interrupt Service Routine</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-breakpoint-in-the-Interrupt-Service-Routine/m-p/769149#M11030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some strange happenings going on.&lt;/P&gt;&lt;P&gt;When I enable a breakpoint in an ISR, the code immediately stops at the breakpoint.&lt;/P&gt;&lt;P&gt;It doesn't seem to be caused by&amp;nbsp;the code, but only because of the breakpoint being set.&lt;/P&gt;&lt;P&gt;I set the breakpoint at random times. Like 3,4,5,6,7 minutes in and it's the same.&lt;/P&gt;&lt;P&gt;Somehow enabling a breakpoint is causing&amp;nbsp;the ISR to be called?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a GPIO pin I enable for an interrupt.&lt;/P&gt;&lt;P&gt;SIUL2.MSCR[PC4].R = 0u;&lt;/P&gt;&lt;P&gt;SIUL2.MSCR[PC4].B.IBE = 1u;&lt;/P&gt;&lt;P&gt;SIUL2.IMCR[674-512].B.SSS = 1u;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; SIUL2.IFEER0.B.IFEE18 = 1u; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/*falling edge event enabled (As per HITS Active Level = Low) */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* SIUL2.IFER0.B.IFE18 = 1u; */&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/*enable interrupt filter */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; SIUL2.IRER0.B.EIRE18 = 1u; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/*enable interrupt */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f0055; font-size: small;"&gt;&lt;STRONG&gt;void&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; SIUL_EIRQ_C(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small;"&gt;void&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;(SIUL2.ISR0.B.EIF18) &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* TP 394 */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* Clear IRQ 18 */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;SIUL2.ISR0.B.EIF18 = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;-- When I enable breakpoint here, the code stops immediately&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;WDTC++;&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;lt;-- Counter is 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 17:23:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746C-breakpoint-in-the-Interrupt-Service-Routine/m-p/769149#M11030</guid>
      <dc:creator>cholland</dc:creator>
      <dc:date>2018-04-25T17:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746C breakpoint in the Interrupt Service Routine</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-breakpoint-in-the-Interrupt-Service-Routine/m-p/769150#M11031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please specify which IDE and version you use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is strange behavior and break point adding should not affect the code this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 12:11:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746C-breakpoint-in-the-Interrupt-Service-Routine/m-p/769150#M11031</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2018-04-26T12:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746C breakpoint in the Interrupt Service Routine</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-breakpoint-in-the-Interrupt-Service-Routine/m-p/769151#M11032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;S32 Design Studio for Power Architecture&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Version: 2017.R1&lt;/P&gt;&lt;P&gt;Build id: 171018&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(c) Copyright Freescale Semiconductor 2016. All rights reserved.&lt;/P&gt;&lt;P&gt;(c) Copyright NXP 2017.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 12:22:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746C-breakpoint-in-the-Interrupt-Service-Routine/m-p/769151#M11032</guid>
      <dc:creator>cholland</dc:creator>
      <dc:date>2018-04-26T12:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746C breakpoint in the Interrupt Service Routine</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-breakpoint-in-the-Interrupt-Service-Routine/m-p/769152#M11033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went back and setup ISRs for SIUL_EIRQ_0_7, SIUL_EIRQ_8_15 and SIUL_EIRQ_24_31.&lt;/P&gt;&lt;P&gt;None of the other ISRs have a problem. It only seems to happen with SIUL_EIRQ_16_23.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the ISR names in hopes something would change, but nothing did.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;(uint32_t) &amp;amp;SIUL_EIRQ_0_7, &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* Vector # 243 SIUL EIRQ [0-7] - SIUL Combined External Interrupt */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;(uint32_t) &amp;amp;SIUL_EIRQ_8_15, &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* Vector # 244 SIUL EIRQ [8-15] - SIUL Combined External Interrupt */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;(uint32_t) &amp;amp;SIUL_EIRQ_16_23, &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* Vector # 245 SIUL EIRQ [16-23] - SIUL Combined External Interrupt */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;(uint32_t) &amp;amp;SIUL_EIRQ_24_31, &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* Vector # 246 SIUL EIRQ [24-31] - SIUL Combined External Interrupt */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, it doesn't matter where I add the breakpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f0055; font-size: small;"&gt;&lt;STRONG&gt;void&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; SIUL_EIRQ_16_23(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small;"&gt;void&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt;(SIUL2.ISR0.B.EIF18) &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* TP 394 */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* Clear IRQ 18 */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;SIUL2.ISR0.B.EIF18 = 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;WDTC++;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 15:10:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746C-breakpoint-in-the-Interrupt-Service-Routine/m-p/769152#M11033</guid>
      <dc:creator>cholland</dc:creator>
      <dc:date>2018-04-26T15:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746C breakpoint in the Interrupt Service Routine</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-breakpoint-in-the-Interrupt-Service-Routine/m-p/769153#M11034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, somehow the breakpoint is tied to IRQ 18.&lt;/P&gt;&lt;P&gt;I can set the breakpoint in other parts of the code and whenever I do, only IRQ 18 triggers.&lt;/P&gt;&lt;P&gt;I set counters to monitor how many times all the IRQs&amp;nbsp;trigger. When I break in other parts of the program,&lt;/P&gt;&lt;P&gt;I only see the&amp;nbsp;IRQ 18 counter increase.&lt;/P&gt;&lt;P&gt;So it doesn't matter where the break point is set, I just know that each time the breakpoint&amp;nbsp;is set, IRQ 18 triggers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 20:13:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746C-breakpoint-in-the-Interrupt-Service-Routine/m-p/769153#M11034</guid>
      <dc:creator>cholland</dc:creator>
      <dc:date>2018-04-26T20:13:13Z</dc:date>
    </item>
  </channel>
</rss>

