<?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: [MPC5777C] How can i cause exception error or unidentified interrupt? in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5777C-How-can-i-cause-exception-error-or-unidentified/m-p/567585#M4073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jongmin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried the instruction se_illegal? that seems to be exactly what you need for the illegal instruction exception.&lt;span class="lia-inline-image-display-wrapper" image-alt="se_illegal.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/36415i5BAF536F61CE8D09/image-size/large?v=v2&amp;amp;px=999" role="button" title="se_illegal.PNG" alt="se_illegal.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Other ideas may be:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Try to write to a register of a peripheral that is not enabled.&lt;/LI&gt;&lt;LI&gt;Try to write to an reserved/invalid memory address&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For the parity error, I'm not sure if trying to read from a RAM location that has not been initialized (never written) would do the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jul 2016 20:18:11 GMT</pubDate>
    <dc:creator>gvictorio</dc:creator>
    <dc:date>2016-07-15T20:18:11Z</dc:date>
    <item>
      <title>[MPC5777C] How can i cause exception error or unidentified interrupt?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777C-How-can-i-cause-exception-error-or-unidentified/m-p/567584#M4072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Dear&lt;/P&gt;&lt;P&gt;Our development environment here&lt;/P&gt;&lt;P&gt;MCU : MPC5777C&lt;/P&gt;&lt;P&gt;OS : ETAS RTA OS&lt;/P&gt;&lt;P&gt;Compiler : Windriver diab 5.9.4&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to exception handler test, so I have to make some kind of exception error.&lt;/P&gt;&lt;P&gt;Refer to e200z760RM(315page), MPC5777C has Machine check(IVOR1) and Program(IVOR6).&lt;/P&gt;&lt;P&gt;I don't know that what i have to do for causing a exception error.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In specific, I want to test "Illegal instruction exception", "Data cache parity error" and Exception handler which is cased by specified error.&lt;/P&gt;&lt;P&gt;In other words, I want to fault injection method above them.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know what i have to do.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 12:03:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777C-How-can-i-cause-exception-error-or-unidentified/m-p/567584#M4072</guid>
      <dc:creator>jongminna</dc:creator>
      <dc:date>2016-07-14T12:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: [MPC5777C] How can i cause exception error or unidentified interrupt?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777C-How-can-i-cause-exception-error-or-unidentified/m-p/567585#M4073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jongmin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried the instruction se_illegal? that seems to be exactly what you need for the illegal instruction exception.&lt;span class="lia-inline-image-display-wrapper" image-alt="se_illegal.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/36415i5BAF536F61CE8D09/image-size/large?v=v2&amp;amp;px=999" role="button" title="se_illegal.PNG" alt="se_illegal.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Other ideas may be:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Try to write to a register of a peripheral that is not enabled.&lt;/LI&gt;&lt;LI&gt;Try to write to an reserved/invalid memory address&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For the parity error, I'm not sure if trying to read from a RAM location that has not been initialized (never written) would do the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2016 20:18:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777C-How-can-i-cause-exception-error-or-unidentified/m-p/567585#M4073</guid>
      <dc:creator>gvictorio</dc:creator>
      <dc:date>2016-07-15T20:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: [MPC5777C] How can i cause exception error or unidentified interrupt?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777C-How-can-i-cause-exception-error-or-unidentified/m-p/567586#M4074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have solved this question.&lt;/P&gt;&lt;P&gt;First of all, For the illigal insturction error, I try to execute instruction at the unused area.. Then exception error is arised.&lt;/P&gt;&lt;P&gt;Cache parity error is arised by cache controller, cache error injection.&lt;/P&gt;&lt;P&gt;Is it right solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jul 2016 13:09:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777C-How-can-i-cause-exception-error-or-unidentified/m-p/567586#M4074</guid>
      <dc:creator>jongminna</dc:creator>
      <dc:date>2016-07-16T13:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: [MPC5777C] How can i cause exception error or unidentified interrupt?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777C-How-can-i-cause-exception-error-or-unidentified/m-p/567587#M4075</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;when you access memory (either instruction fetch or data load/store) and bus error occurs (unimplemented memory, ECC error...) then IVOR1 is triggered regardless of MSR[ME].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/36935iDDF15EAAB89ECE0E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Read the chapter "7.6.2 Machine Check Interrupt (IVOR1)" in core reference manual for more details:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/files/32bit/doc/ref_manual/e200z760RM.pdf"&gt;http://www.nxp.com/files/32bit/doc/ref_manual/e200z760RM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a bus error does not occur during instruction fetch but invalid opcode is loaded (or se_illegal is used) then IVOR6 is triggered. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it is possible to inject the error to cache:&lt;/P&gt;&lt;P&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/37018iB82250A02D6D4AF7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cache errors will trigger IVOR1 exception. See the tables:&lt;/P&gt;&lt;P&gt;Table 7-10. Error Report Machine Check Exceptions&lt;/P&gt;&lt;P&gt;Table 7-11. Asynchronous Machine Check Exceptions&lt;/P&gt;&lt;P&gt;... in core reference manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 08:20:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777C-How-can-i-cause-exception-error-or-unidentified/m-p/567587#M4075</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-07-19T08:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: [MPC5777C] How can i cause exception error or unidentified interrupt?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777C-How-can-i-cause-exception-error-or-unidentified/m-p/1986297#M26910</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I am stuck on how to inject cache related faults in the system (Arm r52). I can see there is a way to inject faults in CRS using EIM, is there something similar to inject faults in Cohorts as well? If yes, please can you tell me on how to test by injecting cache fault and checking the output.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 13:53:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777C-How-can-i-cause-exception-error-or-unidentified/m-p/1986297#M26910</guid>
      <dc:creator>simeen</dc:creator>
      <dc:date>2024-11-01T13:53:49Z</dc:date>
    </item>
  </channel>
</rss>

