<?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: Machine exception in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803389#M15744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well,&amp;nbsp;some debugging is required, a waste of time without the&amp;nbsp;code, sorry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2018 09:25:44 GMT</pubDate>
    <dc:creator>kef2</dc:creator>
    <dc:date>2018-08-07T09:25:44Z</dc:date>
    <item>
      <title>Machine exception</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803380#M15735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using s12zvml31 controller. When i tried to debug my software the machine exception occurs and i saw the datasheets and checked the registers mmcec and mmccc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error code register&lt;/P&gt;&lt;P&gt;Bit Field Values:&lt;BR /&gt; ITR bits[ 15:12 ] = 1 S12ZCPU&lt;BR /&gt; TGT bits[ 11:8 ] = 1&lt;BR /&gt; ACC bits[ 7:4 ] = 1 Opcode fetch&lt;BR /&gt; ERR bits[ 3:0 ] = 1 Access to an ilegal address range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Captured S12ZCPU Condition Code Register&lt;/P&gt;&lt;P&gt;Bit Field Values:&lt;BR /&gt; CPUU bits[ 15:15 ] = 0&lt;BR /&gt; bits[ 14:14 ] = 0&lt;BR /&gt; bits[ 13:13 ] = 0&lt;BR /&gt; bits[ 12:12 ] = 0&lt;BR /&gt; bits[ 11:11 ] = 0&lt;BR /&gt; bits[ 10:10 ] = 0&lt;BR /&gt; bits[ 9:9 ] = 0&lt;BR /&gt; bits[ 8:8 ] = 0&lt;BR /&gt; bits[ 7:7 ] = 0&lt;BR /&gt; CPUX bits[ 6:6 ] = 1&lt;BR /&gt; bits[ 5:5 ] = 0&lt;BR /&gt; CPUI bits[ 4:4 ] = 1&lt;BR /&gt; bits[ 3:3 ] = 0&lt;BR /&gt; bits[ 2:2 ] = 0&lt;BR /&gt; bits[ 1:1 ] = 0&lt;BR /&gt; bits[ 0:0 ] = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the exception handler by writing CPMUARMCOP register to reset the controller and Im not writing any instruction at last 8 bytes of RAM, ROM. Am I missing anything?&lt;/P&gt;&lt;P&gt;Please help me to found out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;kaarthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 11:56:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803380#M15735</guid>
      <dc:creator>kaarthichandras</dc:creator>
      <dc:date>2018-07-31T11:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Machine exception</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803381#M15736</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;You should start inspecting code at address MMCPC&amp;nbsp;points to. Perhaps some legacy code expects 16 bits code pointers and does some ptr-int-ptr conversions? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 20:22:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803381#M15736</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2018-07-31T20:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Machine exception</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803382#M15737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Edward,&lt;/P&gt;&lt;P&gt;I checked the address that pointed by MMCPC register and that address points to non accessible memory of controller and cross checked the .map file, there is no such address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kaarthi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my Sony Xperia™ smartphone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; kef2 wrote -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NXP Community &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: Machine exception&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Edward Karpicz&amp;lt;https://community.nxp.com/people/kef2?et=watches.email.thread&amp;gt; in S12 / MagniV Microcontrollers - View the full discussion&amp;lt;https://community.nxp.com/message/1040667?commentID=1040667&amp;amp;et=watches.email.thread#comment-1040667&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Aug 2018 01:34:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803382#M15737</guid>
      <dc:creator>kaarthichandras</dc:creator>
      <dc:date>2018-08-04T01:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Machine exception</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803383#M15738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Edward,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the Kaarthi's code and the machine exception occur after enabling interrupts in the PE init function and Kaarthi recognizes that&amp;nbsp;&lt;SPAN style="font-size: 11.0pt;"&gt;exception did not occur when the timer interrupt is disabled.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Diana&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 07:57:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803383#M15738</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2018-08-06T07:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Machine exception</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803384#M15739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK, then either interrupt vector is wrong, or ISR does something wrong. In first case address in MMCPC contains no useful information, in 2nd it may point to address with buggy code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 08:23:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803384#M15739</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2018-08-06T08:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Machine exception</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803385#M15740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Edward and Diana,&lt;/P&gt;&lt;P&gt;The timer interrupt doesn’t have problem, because I have tried several ways to find the problem and with or without timer interrupt I see no difference, the other functions only making a part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I said that “exception did not occur when the timer interrupt is disabled” only with no other functions because I wanted to check whether the problem is with that interrupt or others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;kaarthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 09:14:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803385#M15740</guid>
      <dc:creator>kaarthichandras</dc:creator>
      <dc:date>2018-08-06T09:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Machine exception</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803386#M15741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi K&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;aarthi ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'll experiment later at free time how S12Z exceptions behave (MMCPC and status bits) on bad interrupt vector perhaps due to accidental overwrite of IVBR, or jump to wrong address&amp;nbsp;or return to wrong address due perhaps stack overflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At now we have a lot of unknowns. Could you create copy project&amp;nbsp;to share with sensitive IP removed but&amp;nbsp;problem still shown? I could try figuring what's wrong on S12ZVC, I don't have S12ZVML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 07:09:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803386#M15741</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2018-08-07T07:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Machine exception</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803387#M15742</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 tried a bit. On jump from buggy code to not implemented&amp;nbsp;address&lt;/P&gt;&lt;P&gt;ITR bits[ 15:12 ] = 1 S12ZCPU&lt;BR /&gt; TGT bits[ 11:8 ] =&amp;nbsp;0&amp;nbsp; &amp;lt;---- different to yours&lt;BR /&gt; ACC bits[ 7:4 ] = 1 Opcode fetch&lt;BR /&gt; ERR bits[ 3:0 ] = 1 Access to an ilegal address range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and MMCPC points exactly to CPU instruction, which performed wrong jump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On servicing interrupt while interrupt vector points to non implemented address or pointing to registers space (TGT==1), MMCEC is exactly as you wrote, all MMCEC fields&amp;nbsp; = 1, MMCPC points to unrelated address. Issuing SWI with bad SWI vector MMCPC shows FFFFF0. I didn't check whether it changes servicing different interrupt vectors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please double check your interrupt vectors and perhaps IVBR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 08:34:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803387#M15742</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2018-08-07T08:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Machine exception</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803388#M15743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Edward,&lt;/P&gt;&lt;P&gt;I attached a screenshot of register value when I get exception and check the MMCPC register, it is actually a non-accessible memory.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I removed all the interrupts from my code.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture3.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79859iD2EDDACD4BB600AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.PNG" alt="Capture3.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture4.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79860iA30322F5A8B838BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture4.PNG" alt="Capture4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;kaarthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 09:03:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803388#M15743</guid>
      <dc:creator>kaarthichandras</dc:creator>
      <dc:date>2018-08-07T09:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Machine exception</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803389#M15744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well,&amp;nbsp;some debugging is required, a waste of time without the&amp;nbsp;code, sorry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 09:25:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803389#M15744</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2018-08-07T09:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Machine exception</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803390#M15745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Edward,&lt;/P&gt;&lt;P&gt;I have attached the code here(s12_led1), please check it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the library file in folder as “STDINC.H”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;kaarthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 10:39:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803390#M15745</guid>
      <dc:creator>kaarthichandras</dc:creator>
      <dc:date>2018-08-07T10:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Machine exception</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803391#M15746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaarthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Such simple error and such bizarre behavior. Why MMCPC showed weird address about 0x008xxx? Because your code is at about 0xFF8xxx. Why no leading FF in MMCPC? Because not nice coding error made top byte of return address overwritten with 00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See in events.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GLOBAL VOID &lt;STRONG&gt;ReadInputs&lt;/STRONG&gt;(VOID)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #005032; font-size: small;"&gt;BYTE&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; data[1],changed_mask,i;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;Size of data array is 1, yet you loop&amp;nbsp;assumes&amp;nbsp;data size 2:&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;for&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; (i = 0; i &amp;lt; 2; ++i)... data[i] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 14:11:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803391#M15746</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2018-08-07T14:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Machine exception</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803392#M15747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Edward,&lt;/P&gt;&lt;P&gt;I corrected that bug but still I’m getting the problem. For testing I even tried without that function, but problem continues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;kaarthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 08:15:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803392#M15747</guid>
      <dc:creator>kaarthichandras</dc:creator>
      <dc:date>2018-08-09T08:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Machine exception</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803393#M15748</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;then it is another problem. How could I reproduce it?&lt;/P&gt;&lt;P&gt;You code in *.rar worked with periodic interrupt bean disabled. Once enabled it quickly run into exception. Fixing data[1]-&amp;gt;data[2] issue solved it completely. Perhaps just on my s12zvc? Not possible to reproduce - not possible to fix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 08:29:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803393#M15748</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2018-08-09T08:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Machine exception</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803394#M15749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank Edward,&lt;/P&gt;&lt;P&gt;As you said once you enabled the interrupt it ran to exception, is there anything wrong in vector allocation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;kaarthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 08:39:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803394#M15749</guid>
      <dc:creator>kaarthichandras</dc:creator>
      <dc:date>2018-08-09T08:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Machine exception</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803395#M15750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No. The only problem was &lt;SPAN style="color: #005032; font-size: small;"&gt;BYTE&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; data[1], which had to be fixed to data[2].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;Edward&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 08:48:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803395#M15750</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2018-08-09T08:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Machine exception</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803396#M15751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried again the problem continues here but when I removed DisplOut function it works fine now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kaarthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 09:04:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803396#M15751</guid>
      <dc:creator>kaarthichandras</dc:creator>
      <dc:date>2018-08-09T09:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Machine exception</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803397#M15752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Edward,&lt;/P&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I finally got the issue solved somewhat.&lt;/P&gt;&lt;P&gt;Now I’m working in ADC part in this controller and I have the doubt in this.&lt;/P&gt;&lt;P&gt;I have wrote those command sequence lists and result sequence lists and configured the GDU peripheral and PTU. When will the ADC interrupt occur? Does it require any trigger from PTU and when will the conversions start?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;kaarthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Aug 2018 06:35:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803397#M15752</guid>
      <dc:creator>kaarthichandras</dc:creator>
      <dc:date>2018-08-11T06:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Machine exception</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803398#M15753</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;ADC command list is where you set after which conversion to trigger interrupt. IIRC&amp;nbsp;you need to bitwise or your command long word with (1L &amp;lt;&amp;lt; 24) to trigger interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 12:36:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803398#M15753</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2018-08-13T12:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Machine exception</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803399#M15754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Edward,&lt;/P&gt;&lt;P&gt;The ADC error interrupt has occurred with restart error and I used PTU to give the trigger to ADC and PTU reload error has occurred..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kaarthi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my Sony Xperia™ smartphone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; kef2 wrote -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NXP Community &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: Machine exception&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Edward Karpicz&amp;lt;https://community.nxp.com/people/kef2?et=watches.email.thread&amp;gt; in S12 / MagniV Microcontrollers - View the full discussion&amp;lt;https://community.nxp.com/message/1045390?commentID=1045390&amp;amp;et=watches.email.thread#comment-1045390&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 13:54:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Machine-exception/m-p/803399#M15754</guid>
      <dc:creator>kaarthichandras</dc:creator>
      <dc:date>2018-08-13T13:54:58Z</dc:date>
    </item>
  </channel>
</rss>

