<?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: Sometimes interrupts do not work after unexpected reset. in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770967#M15355</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MLW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will see what is the state of IPL, I just need some days until an unexpected reset occurs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2018 08:02:28 GMT</pubDate>
    <dc:creator>Eric_t</dc:creator>
    <dc:date>2018-06-12T08:02:28Z</dc:date>
    <item>
      <title>Sometimes interrupts do not work after unexpected reset.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770965#M15353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Hi.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;I have a firmware that runs on MC9S12XDT512 and MC9S12XEQ512 controller.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;There is bug in my code that causes (after few days of operation) unexpected reset.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;I do not know yet what causes the reset, but the big problem is that after the unexpected reset, the interrupts sometimes do not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Please not that most of the times the interrupts work fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;After the initialization of the controller, I have a routine that waits modulus timer to trigger an interrupt. The trigger never happens and uC waits for ever.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;I have made hotsync and I saw that hiwave shows that maskable interrupt was enable, modulus timer was enable and run (TEN=1), but interrupt trigger never comes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Also, I have found out that all maskable interrupts do not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;It looks like as if the maskable interrupts do not work anymore.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;I have run out of ideas and I do not know what to do.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Does anyone have similar problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 12:03:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770965#M15353</guid>
      <dc:creator>Eric_t</dc:creator>
      <dc:date>2018-06-11T12:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sometimes interrupts do not work after unexpected reset.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770966#M15354</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;this situation does not sound like a real reset, but SW somehow executing the reset routine without a real HW reset occuring. If maskable interrupts are not working despite I-bit cleared, please check the state of the IPL bits (S12X only, in CCRW[10:8]) as well (IPL masks interrupts at lower or equal levels).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;MJW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 15:46:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770966#M15354</guid>
      <dc:creator>MJW</dc:creator>
      <dc:date>2018-06-11T15:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sometimes interrupts do not work after unexpected reset.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770967#M15355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MLW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will see what is the state of IPL, I just need some days until an unexpected reset occurs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 08:02:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770967#M15355</guid>
      <dc:creator>Eric_t</dc:creator>
      <dc:date>2018-06-12T08:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sometimes interrupts do not work after unexpected reset.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770968#M15356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I were in your shoes I would implement following steps:&lt;/P&gt;&lt;P&gt;1) Excluding parts of the code in a logical order and&amp;nbsp; testing remaining code to localize error&lt;/P&gt;&lt;P&gt;2) Implement interrupt catcher. It means, there is subroutine for each interrupt created and all unused interrupt routines are directed to one function which can visualize the interrupt which was launched.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;volatile unsigned int number_of_ISR = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;//==============================================================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;void Unimplemented_ISR(void)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;{&amp;nbsp; asm nop; //insert breakpoint here. If you are here, check the "number_of_ISR"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp;&amp;nbsp; //asm BGND // you can use this code to enter the background debug mode&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;//==============================================================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;#pragma CODE_SEG NON_BANKED&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;interrupt&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; void ISR_1&amp;nbsp;&amp;nbsp; (void) {number_of_ISR = 1; Unimplemented_ISR();}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;interrupt&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; void ISR_2&amp;nbsp;&amp;nbsp; (void) {number_of_ISR = 2; Unimplemented_ISR();}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;interrupt&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; void ISR_3&amp;nbsp;&amp;nbsp; (void) {number_of_ISR = 3; Unimplemented_ISR();}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;…&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;// intentionally commented because it is used in application&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;//interrupt&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; void ISR_20&amp;nbsp; (void) {number_of_ISR = 20; Unimplemented_ISR();}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;…&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;#pragma CODE_SEG DEFAULT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;//==============================================================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;#pragma CODE_SEG NON_BANKED&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;interrupt 20 void SCI0_Isr(void)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;{&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp;&amp;nbsp; …&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;#pragma CODE_SEG DEFAULT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;//==============================================================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3) Test/Check all interrupts to be sure interrupt flags are correctly cleared. Interrupt routine, which is currently executed, is not interruptible (except I-bit is cleared)&lt;/P&gt;&lt;P&gt;4) Check all register which are writable anytime in the SPECIAL mode, but which are write once in the NORMAL mode.&lt;/P&gt;&lt;P&gt;5) Fill the stack area with some pattern to be able to check whether you do not underflow it. You must do it on some condition externally launched to avoid the pattern is written after each reset. Of course, if the code clears entire stack after reset in some init function you should avoid it to be able to check content of the stack after accidental reset. &lt;BR /&gt; However, if you want only to check where SP points you can use FILL command in the prm file which fills the stack with some pattern and you can visualize the SP or content of the stack or check the stack and visualize the value.&lt;BR /&gt; (note; reading SP leads to asm code)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ladislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 07:58:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770968#M15356</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2018-06-13T07:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sometimes interrupts do not work after unexpected reset.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770969#M15357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;Hi Ladislav,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;Finally we got some progress.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;We have an unimplemented interrupt of TC2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;It is a bit strange because we never enable TC2 interrupt.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;As you can see at the attached picture, the procedure window shows UnimplementedISR50 (in our case is TC2 interrupt), data window shows _TIE.C2I = 0 (TC2 interrupt disable), _TFLG1.C2F=0 (TC2 interrupt flag clear).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;Since TC2 interrupt (_TIE.C2I) is disable, TC2 interrupt flag is clear (_TFLG1.C2F), TC2 should never fire interrupts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;I have attached a picture that shows the connections of PORT T.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;Our design left PT2 pin unconnected, but firmware set it as output.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;(PTT = 0x30; DDRT = 0xF6; RDRT = 0xFF;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;Any ideas why TC2 fires interrupt?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/37976iA9FBC7864A5F7F50/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/39184i7A0434107E223ED9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 14:59:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770969#M15357</guid>
      <dc:creator>Eric_t</dc:creator>
      <dc:date>2018-06-14T14:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sometimes interrupts do not work after unexpected reset.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770970#M15358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;could you please provide me a project to be able to check entire setup? This issue is not know to me from HW point of view even I am working with the devices for more than decade.&lt;/P&gt;&lt;P&gt;If yo do not want to share it with public you can send it to me via support system. (here is the procedure explained &lt;A href="https://community.nxp.com/docs/DOC-329745"&gt;How to submit a new question for NXP Support&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;Please, insert into question and/or subject part Assign to Ladislav into Auto 16-bit box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(One possible issue, PT2 is set to output compare (OC) mode and disconnected from pin logic and enabled. When OC event happens then interrupt is generated.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ladislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 16:23:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770970#M15358</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2018-06-14T16:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sometimes interrupts do not work after unexpected reset.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770971#M15359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;Hi Ladislav,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;Our implementations sets interrupt at&amp;nbsp;0xF310 location (IVBR = 0xF3).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;As you can see at the attached picture,&amp;nbsp;UnimplementedISR54 (in our case COP watchdog reset) occurs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;Since "&lt;SPAN&gt;COP watchdog reset" is at fixed address, UnimplementedISR54 interrupt should never fires.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 13px;"&gt;&lt;SPAN&gt;We have moved interrupt (IVBR) to another location and now some other&amp;nbsp;Unimplemented interrupts fires.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;It seems that there is some kind of problem with interrupt vector.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;Probably &lt;SPAN&gt;TC2 interrupt never fires, it is just some kind of problem of the interrupt vector table.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;&lt;SPAN&gt;I want to attached a file with the interrupt vector and the configuration if controller but I do not know how to do it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 15px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_15.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28393i4AEB9893413E5729/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_15.png" alt="pastedImage_15.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2018 14:39:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770971#M15359</guid>
      <dc:creator>Eric_t</dc:creator>
      <dc:date>2018-06-15T14:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sometimes interrupts do not work after unexpected reset.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770972#M15360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi Ladislav,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Now we left interrupt vectors to default&amp;nbsp;&lt;SPAN&gt;(we left &lt;SPAN style="background-color: #ffffff;"&gt;IVBR&lt;/SPAN&gt;&amp;nbsp;to default)&lt;/SPAN&gt;, and now everything works properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I think that the problem remains, but for some reason it is now rarely occurs.&lt;/P&gt;&lt;P&gt;I have to find out why fake interrupts occurs when we move the interrupt vector table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2018 06:15:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770972#M15360</guid>
      <dc:creator>Eric_t</dc:creator>
      <dc:date>2018-06-18T06:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sometimes interrupts do not work after unexpected reset.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770973#M15361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi Ladislav,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I just confirm that the issue still exists, so the position of interrupt vector is not the problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I have add a ticket&amp;nbsp; with subject: "&lt;SPAN style="color: #646464; background-color: #f2f2f5; font-size: 14px;"&gt;Assign to Ladislav: Sometimes interrupts do not work after unexpected reset".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I have attached the project a brief description of the initialization of controller.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f2f2f5; color: #646464; font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2018 08:16:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770973#M15361</guid>
      <dc:creator>Eric_t</dc:creator>
      <dc:date>2018-06-18T08:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sometimes interrupts do not work after unexpected reset.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770974#M15362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi Ladislav,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;At my previous post, I have said that, if we move interrupt (IVBR) to another location, some other Unimplemented interrupts fires.&lt;/P&gt;&lt;P&gt;This is wrong. Moving interrupt (IVBR) to another location, exactly the same Unimplemented interrupts fires ("TC2" and "COP reset").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thank you&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2018 10:53:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770974#M15362</guid>
      <dc:creator>Eric_t</dc:creator>
      <dc:date>2018-06-18T10:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sometimes interrupts do not work after unexpected reset.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770975#M15363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have read many times the errata files but I missed the following errata issue:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; color: #000000;"&gt;&lt;EM&gt;PIM: Edge-sensitive mode of IRQ-pin may cause incorrect interrupt vector fetch&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I use edge-sensitive mode of IRQ and all interrupts have the same priority.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that this is the cause of the fake interrupts &amp;amp; the unexpected reset.&lt;/P&gt;&lt;P&gt;I will make some test and I will keep inform the community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 13:36:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770975#M15363</guid>
      <dc:creator>Eric_t</dc:creator>
      <dc:date>2018-06-27T13:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sometimes interrupts do not work after unexpected reset.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770976#M15364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to confirm that the problem with fake interrupts was due to silicon bug of "&lt;STRONG style="color: #000000; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;EM style="border: 0px; font-weight: inherit;"&gt;PIM: Edge-sensitive mode of IRQ-pin may cause incorrect interrupt vector fetch"&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; color: #3d3d3d; font-weight: 400;"&gt;It has been almost a month and the problem does not occur any more.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; color: #3d3d3d; font-weight: 400;"&gt;Thank you&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 05:57:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sometimes-interrupts-do-not-work-after-unexpected-reset/m-p/770976#M15364</guid>
      <dc:creator>Eric_t</dc:creator>
      <dc:date>2018-07-31T05:57:09Z</dc:date>
    </item>
  </channel>
</rss>

