<?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 Getting started with exceptions? in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Getting-started-with-exceptions/m-p/611036#M4980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The MCP5744P is cool, but the docs are really confusing for someone jumping into the deep end... &amp;nbsp;For me, I think the biggest problem is terminology; I've been working the embedded processing scene for many years, but until now, I have only encountered Power architecture in Xilinx Virtex4. &amp;nbsp;This is the background I am coming from, so please understand that I understand the concepts here, but not the terminology; this is the cause of my confusion, I am sure. &amp;nbsp;To be clear, below when I "quote" something, this is to indicate where I think I am confused by terminology, or specifics of the 5744P.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to develop "exception handlers" for various issues that may arise. &amp;nbsp;A partial list I was given is this:&lt;/P&gt;&lt;UL style="color: #333333; background-color: #ffffff; font-size: 14px; margin: 10px 0px 0px;"&gt;&lt;LI style="margin-left: 15px;"&gt;Critical Interrupt (IVOR0)&lt;/LI&gt;&lt;LI style="margin-left: 15px;"&gt;Machine Check (IVOR1)&lt;/LI&gt;&lt;LI style="margin-left: 15px;"&gt;Data Storage (IVOR2)&lt;/LI&gt;&lt;LI style="margin-left: 15px;"&gt;Instruction Storage (IVOR3)&lt;/LI&gt;&lt;LI style="margin-left: 15px;"&gt;Alignment (IVOR5)&lt;/LI&gt;&lt;LI style="margin-left: 15px;"&gt;Program (IVOR6)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Here are my problems that are causing great, personal grief, that I am 1000% positive many out there can help with!&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Where the hell do I find documentation for these???&lt;/LI&gt;&lt;LI&gt;How do I associate a handler for these? &amp;nbsp;I'm not looking for the basics of how one writes an ISR or the like. &amp;nbsp;I just don't know the details of how you wire one up to the "exception". &amp;nbsp;For example, using other architectures, how do I set an interrupt vector to point to an ISR to service the interrupt? &amp;nbsp;How is it enabled?&lt;/LI&gt;&lt;LI&gt;In the interest of testing my handlers, how do I intentionally cause any/all of these?&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;To those in the know, my frustration lies in the fact that I know the information is out there, but the complexity and terminology differences between simpler (?) architectures (e.g. wicked old Intels, Coldfires, ARM) and this beast are killing my confidence!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Apr 2017 01:46:52 GMT</pubDate>
    <dc:creator>bobgrimes</dc:creator>
    <dc:date>2017-04-14T01:46:52Z</dc:date>
    <item>
      <title>Getting started with exceptions?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Getting-started-with-exceptions/m-p/611036#M4980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The MCP5744P is cool, but the docs are really confusing for someone jumping into the deep end... &amp;nbsp;For me, I think the biggest problem is terminology; I've been working the embedded processing scene for many years, but until now, I have only encountered Power architecture in Xilinx Virtex4. &amp;nbsp;This is the background I am coming from, so please understand that I understand the concepts here, but not the terminology; this is the cause of my confusion, I am sure. &amp;nbsp;To be clear, below when I "quote" something, this is to indicate where I think I am confused by terminology, or specifics of the 5744P.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to develop "exception handlers" for various issues that may arise. &amp;nbsp;A partial list I was given is this:&lt;/P&gt;&lt;UL style="color: #333333; background-color: #ffffff; font-size: 14px; margin: 10px 0px 0px;"&gt;&lt;LI style="margin-left: 15px;"&gt;Critical Interrupt (IVOR0)&lt;/LI&gt;&lt;LI style="margin-left: 15px;"&gt;Machine Check (IVOR1)&lt;/LI&gt;&lt;LI style="margin-left: 15px;"&gt;Data Storage (IVOR2)&lt;/LI&gt;&lt;LI style="margin-left: 15px;"&gt;Instruction Storage (IVOR3)&lt;/LI&gt;&lt;LI style="margin-left: 15px;"&gt;Alignment (IVOR5)&lt;/LI&gt;&lt;LI style="margin-left: 15px;"&gt;Program (IVOR6)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Here are my problems that are causing great, personal grief, that I am 1000% positive many out there can help with!&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Where the hell do I find documentation for these???&lt;/LI&gt;&lt;LI&gt;How do I associate a handler for these? &amp;nbsp;I'm not looking for the basics of how one writes an ISR or the like. &amp;nbsp;I just don't know the details of how you wire one up to the "exception". &amp;nbsp;For example, using other architectures, how do I set an interrupt vector to point to an ISR to service the interrupt? &amp;nbsp;How is it enabled?&lt;/LI&gt;&lt;LI&gt;In the interest of testing my handlers, how do I intentionally cause any/all of these?&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;To those in the know, my frustration lies in the fact that I know the information is out there, but the complexity and terminology differences between simpler (?) architectures (e.g. wicked old Intels, Coldfires, ARM) and this beast are killing my confidence!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2017 01:46:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Getting-started-with-exceptions/m-p/611036#M4980</guid>
      <dc:creator>bobgrimes</dc:creator>
      <dc:date>2017-04-14T01:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getting started with exceptions?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Getting-started-with-exceptions/m-p/611037#M4981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bob,&lt;/P&gt;&lt;P&gt;A1: You can find the documentation in core reference manual.MPC5744P contains 2x e200z425 core,&lt;/P&gt;&lt;P&gt;Here is link:&lt;A class="link-titled" href="http://cache.nxp.com/assets/documents/data/en/reference-manuals/e200z4RM.pdf?fsrch=1&amp;amp;sr=2&amp;amp;pageNum=1" title="http://cache.nxp.com/assets/documents/data/en/reference-manuals/e200z4RM.pdf?fsrch=1&amp;amp;sr=2&amp;amp;pageNum=1"&gt;http://cache.nxp.com/assets/documents/data/en/reference-manuals/e200z4RM.pdf?fsrch=1&amp;amp;sr=2&amp;amp;pageNum=1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Refer to chapter 5 Interrupts and Exceptions, specially to Table 5-3. Exceptions and Conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A2: I am not sure if there is a guide document for it but we have posted a lot of examples including Exception, ISR and handlers here on community:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-329623"&gt;MPC5 software example list&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A3:These details you can find in core reference manual in chapter 5.7 Interrupt Definitions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 19:08:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Getting-started-with-exceptions/m-p/611037#M4981</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2017-04-17T19:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Getting started with exceptions?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Getting-started-with-exceptions/m-p/611038#M4982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to thank you for your kind reply.  Looking back, I'm rather&lt;/P&gt;&lt;P&gt;embarrassed at my post; chalk it up to frustration and pre-vacation&lt;/P&gt;&lt;P&gt;exhaustion.  I was out this last week, so I'm just getting back in stride.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Immediately before my vacation, I did talk with a colleague who, I think,&lt;/P&gt;&lt;P&gt;got me over the hump on this issue, at least I hope so!  The problem I&lt;/P&gt;&lt;P&gt;think I was having is simply too much detailed information, not enough&lt;/P&gt;&lt;P&gt;technical overview, and a terminology mismatch.  For example, I already had&lt;/P&gt;&lt;P&gt;the documentation resources you provided; also, I had the examples too.&lt;/P&gt;&lt;P&gt; (I'm not discounting you providing them, thanks!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem was this: I started with this example: (&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-333754)" target="test_blank"&gt;https://community.nxp.com/docs/DOC-333754)&lt;/A&gt;.  I was able to compile and run&lt;/P&gt;&lt;P&gt;this on our debugger/hardware, so I was encouraged.  However, when I ported&lt;/P&gt;&lt;P&gt;it to our system, I could not get the interrupts to fire.  As far as I&lt;/P&gt;&lt;P&gt;could determine, everything is the same between the demo code and the&lt;/P&gt;&lt;P&gt;ported version.  This had me very frustrated, and combined with a lack of&lt;/P&gt;&lt;P&gt;confidence that I understood anything about the chip, caused my post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Turns out the issue is, as expected, both unrelated to getting a Machine&lt;/P&gt;&lt;P&gt;Check interrupt to fire, and specific to our system.  I would explain more,&lt;/P&gt;&lt;P&gt;but it is a long story, and I think I am past the sticking point - though I&lt;/P&gt;&lt;P&gt;will know more in a few hours!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again, and best regards.&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Apr 2017 16:05:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Getting-started-with-exceptions/m-p/611038#M4982</guid>
      <dc:creator>bobgrimes</dc:creator>
      <dc:date>2017-04-23T16:05:35Z</dc:date>
    </item>
  </channel>
</rss>

