<?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>MPC5xxx中的主题 Exception handling in MPC5604s controller</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Exception-handling-in-MPC5604s-controller/m-p/679545#M8097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to configure the exception in mpc5604s controller.&lt;/P&gt;&lt;P&gt;I am &amp;nbsp;using the following prototype for &amp;nbsp;interrupt .&lt;/P&gt;&lt;P&gt;When some exceptions occurs the the following function will be invoked..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;__interrupt__ void &amp;nbsp;IVOR15trap(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;am i right ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly guide me how to configure interrupt when some illegal opcode occurs.&lt;/P&gt;&lt;P&gt;Please provide me the example code if it is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Mohanraj K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 May 2017 05:12:59 GMT</pubDate>
    <dc:creator>mhogun</dc:creator>
    <dc:date>2017-05-15T05:12:59Z</dc:date>
    <item>
      <title>Exception handling in MPC5604s controller</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Exception-handling-in-MPC5604s-controller/m-p/679545#M8097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to configure the exception in mpc5604s controller.&lt;/P&gt;&lt;P&gt;I am &amp;nbsp;using the following prototype for &amp;nbsp;interrupt .&lt;/P&gt;&lt;P&gt;When some exceptions occurs the the following function will be invoked..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;__interrupt__ void &amp;nbsp;IVOR15trap(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;am i right ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly guide me how to configure interrupt when some illegal opcode occurs.&lt;/P&gt;&lt;P&gt;Please provide me the example code if it is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Mohanraj K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2017 05:12:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Exception-handling-in-MPC5604s-controller/m-p/679545#M8097</guid>
      <dc:creator>mhogun</dc:creator>
      <dc:date>2017-05-15T05:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Exception handling in MPC5604s controller</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Exception-handling-in-MPC5604s-controller/m-p/679546#M8098</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;please see the application note below. It shows, how to create ad implement your own IVOR handler.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://cache.nxp.com/assets/documents/data/en/application-notes/AN5200.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1" title="http://cache.nxp.com/assets/documents/data/en/application-notes/AN5200.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;http://cache.nxp.com/assets/documents/data/en/application-notes/AN5200.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For illegal instruction IVOR6 exception is used. For more details, please look at the e200z0 core reference manual (chapter 5.7.7).&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://cache.nxp.com/assets/documents/data/en/reference-manuals/e200z0RM.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1" title="http://cache.nxp.com/assets/documents/data/en/reference-manuals/e200z0RM.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;http://cache.nxp.com/assets/documents/data/en/reference-manuals/e200z0RM.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&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>Mon, 15 May 2017 13:14:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Exception-handling-in-MPC5604s-controller/m-p/679546#M8098</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-05-15T13:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Exception handling in MPC5604s controller</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Exception-handling-in-MPC5604s-controller/m-p/679547#M8099</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;Thank you for the information.&lt;/P&gt;&lt;P&gt;One more question,How to generate the various exceptions?&lt;/P&gt;&lt;P&gt;Kindly guide me to generate&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;IVOR6 exception,&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;IVOR3 exception,&lt;SPAN&gt;IVOR2 exception,&lt;/SPAN&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;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Mohanraj&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 03:37:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Exception-handling-in-MPC5604s-controller/m-p/679547#M8099</guid>
      <dc:creator>mhogun</dc:creator>
      <dc:date>2017-05-16T03:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Exception handling in MPC5604s controller</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Exception-handling-in-MPC5604s-controller/m-p/679548#M8100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mohanraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will start with the simplest one. IVOR6 is caused for example by illegal instruction or executing privileged instruction in user mode. So you can change the content of code flash using debugger and change correct opcode to illegal opcode or you can switch microcontroller to user mode (set MSR[PR]=1) and execute some privileged instruction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About IVOR2 and IVOR3 exceptions, please see app note 5200.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://cache.nxp.com/assets/documents/data/en/application-notes/AN5200.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1" title="http://cache.nxp.com/assets/documents/data/en/application-notes/AN5200.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;http://cache.nxp.com/assets/documents/data/en/application-notes/AN5200.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://cache.nxp.com/assets/documents/data/en/application-notes-software/AN5200SW.zip" title="http://cache.nxp.com/assets/documents/data/en/application-notes-software/AN5200SW.zip"&gt;http://cache.nxp.com/assets/documents/data/en/application-notes-software/AN5200SW.zip&lt;/A&gt;&amp;nbsp;&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>Wed, 17 May 2017 11:36:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Exception-handling-in-MPC5604s-controller/m-p/679548#M8100</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-05-17T11:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Exception handling in MPC5604s controller</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Exception-handling-in-MPC5604s-controller/m-p/679549#M8101</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;Thank you for the support.&lt;/P&gt;&lt;P&gt;I will check and get back to you if any support needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;Mohanraj&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 12:47:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Exception-handling-in-MPC5604s-controller/m-p/679549#M8101</guid>
      <dc:creator>mhogun</dc:creator>
      <dc:date>2017-05-17T12:47:59Z</dc:date>
    </item>
  </channel>
</rss>

