<?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: MPC5748G (cut2) Compare-and-Store via DMSC not working in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-cut2-Compare-and-Store-via-DMSC-not-working/m-p/1082611#M16283</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the decoration information in r5 is not correct. It's not valid opcode, so machine check is triggered. You can find in the reference manual:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/115632i789A52EDDB8C6B43/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;If I use opcode 0x6.... instead of 0x9..., the instruction is executed successfully.&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>Mon, 13 Jul 2020 12:04:06 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2020-07-13T12:04:06Z</dc:date>
    <item>
      <title>MPC5748G (cut2) Compare-and-Store via DMSC not working</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-cut2-Compare-and-Store-via-DMSC-not-working/m-p/1082610#M16282</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 been trying to use atomic Compare-and-Store DMSC instruction, but it gives machine check exception. Not able to with BUS_DRERR, MAV, G and LD set in MCSR. The address range is accessible (other DMSC operations are working I tried Load-and-set-1 (bit)). Here is the code that I am using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;foo:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; e_lis&amp;nbsp;&amp;nbsp; r5, 0x9000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Create decoration: cast.h, CD16 0&lt;BR /&gt;foo_lock:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lhdcbx&amp;nbsp; r4, r5, r3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Atomic set resource, caching inhibited&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; se_cmpi r4, 0x0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; e_bne-&amp;nbsp; foo_lock&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; se_blr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Return&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help shall be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2020 13:09:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-cut2-Compare-and-Store-via-DMSC-not-working/m-p/1082610#M16282</guid>
      <dc:creator>ali_taqweem</dc:creator>
      <dc:date>2020-07-09T13:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G (cut2) Compare-and-Store via DMSC not working</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-cut2-Compare-and-Store-via-DMSC-not-working/m-p/1082611#M16283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the decoration information in r5 is not correct. It's not valid opcode, so machine check is triggered. You can find in the reference manual:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/115632i789A52EDDB8C6B43/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;If I use opcode 0x6.... instead of 0x9..., the instruction is executed successfully.&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>Mon, 13 Jul 2020 12:04:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-cut2-Compare-and-Store-via-DMSC-not-working/m-p/1082611#M16283</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2020-07-13T12:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G (cut2) Compare-and-Store via DMSC not working</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-cut2-Compare-and-Store-via-DMSC-not-working/m-p/1082612#M16284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukas, &lt;/P&gt;&lt;P&gt;I think you misunderstood me. LAS1 (opcode 0x06) works on my side as well.&lt;/P&gt;&lt;P&gt;I want to use CAST (opcode 0x09), it give machine check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Ali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2020 12:09:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-cut2-Compare-and-Store-via-DMSC-not-working/m-p/1082612#M16284</guid>
      <dc:creator>ali_taqweem</dc:creator>
      <dc:date>2020-07-13T12:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G (cut2) Compare-and-Store via DMSC not working</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-cut2-Compare-and-Store-via-DMSC-not-working/m-p/1082613#M16285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CAST can be used with store instructions. lhdcbx&amp;nbsp; is load instruction.&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, 14 Jul 2020 05:28:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-cut2-Compare-and-Store-via-DMSC-not-working/m-p/1082613#M16285</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2020-07-14T05:28:27Z</dc:date>
    </item>
  </channel>
</rss>

