<?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: S32K144EVB PIL Problem in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144EVB-PIL-Problem/m-p/1089958#M4850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/paulvlase"&gt;paulvlase&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I install the MingW compiler from adds-on. But this time I encounter with different error and the model still does not work. I am using Matlab 2020a and mbdt v4.2. Also I changed the s32k144 board boot-loader from openSDA to RappID thus I select serial mode and boot assist module (BAM). You can find the error code and relevant information as follow. Any will&amp;nbsp; will be appreciated thanks in advance.&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/111435i1CA7A377DA3D10C0/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;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/111437i8001F34C76591CBC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/111473iAE71F2BAF8D1D67E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Aug 2020 09:58:56 GMT</pubDate>
    <dc:creator>oeren5</dc:creator>
    <dc:date>2020-08-28T09:58:56Z</dc:date>
    <item>
      <title>S32K144EVB PIL Problem</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144EVB-PIL-Problem/m-p/1089955#M4847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;This is Ozan. I am using S32K144Q100 EVB and MBDT v 4.2. I want to try processor in the loop (pil) example of s32 library. I used&amp;nbsp;sim_pil_top_AMMCLIB_s32k1xx example model but I encounter with a problem. The print screen of error and couple of log line are provided below. I could not understand the reason and &lt;STRONG&gt;how can I solve this problem&lt;/STRONG&gt; and work on pil examples?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/110190i2305C00A11C88B11/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_23.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/110272i40783009C2BF23A1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_23.png" alt="pastedImage_23.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="" style="color: #000000; background-color: #ffffff; font-weight: normal; font-size: 12px; padding: 1px 0px;"&gt;&lt;DIV class="" style="margin: 1px 0px;"&gt;&lt;DIV class="" style="margin: 0px 0px 0px 15px; padding: 1px 0px;"&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN class="" style="margin-right: 2px;"&gt;&lt;SPAN style="color: #3d3d3d; margin-right: 2px; "&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;Also wh&lt;/SPAN&gt;en I try to implement my own example project about PIL system I encounter different error. When I run my model&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="" style="margin-right: 2px;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="margin-right: 2px;"&gt;&lt;SPAN class="" style="margin-right: 2px;"&gt;I received the error "&lt;/SPAN&gt;&lt;/SPAN&gt;'cp' is not recognized as an internal or external command, operable program or batch file." The screen-shots of error and my configurations (I used same config block for both example) is provided below. I think that both problem are related and I should mentioned about both of them. Any help will be appreciated thanks in advance.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin: 0px 0px 0px 15px; padding: 1px 0px;"&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin: 0px 0px 0px 15px; padding: 1px 0px;"&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_22.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/110232i721CC14E06D76752/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_22.png" alt="pastedImage_22.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin: 0px 0px 0px 15px; padding: 1px 0px;"&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin: 0px 0px 0px 15px; padding: 1px 0px;"&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_24.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/110298i30386162DA46C03E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_24.png" alt="pastedImage_24.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin: 0px 0px 0px 15px; padding: 1px 0px;"&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_25.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/110194i3646CEFC46255C5F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_25.png" alt="pastedImage_25.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_26.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/110273iC71E2777C324A09E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_26.png" alt="pastedImage_26.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2020 13:21:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144EVB-PIL-Problem/m-p/1089955#M4847</guid>
      <dc:creator>oeren5</dc:creator>
      <dc:date>2020-08-13T13:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144EVB PIL Problem</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144EVB-PIL-Problem/m-p/1089956#M4848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/oeren5@ford.com.tr"&gt;oeren5@ford.com.tr&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the issue here is related to the compiler you are using: lcc. To fix this you should install MS Visual Studio or mingw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/paulvlase"&gt;paulvlase&lt;/A&gt;‌ can give you more details about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2020 11:58:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144EVB-PIL-Problem/m-p/1089956#M4848</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2020-08-19T11:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144EVB PIL Problem</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144EVB-PIL-Problem/m-p/1089957#M4849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/oeren5@ford.com.tr"&gt;oeren5@ford.com.tr&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/constantinrazvan.chivu"&gt;constantinrazvan.chivu&lt;/A&gt;‌ already pointed out, the lcc compiler shipped with Matlab fails to build models that contain AMMCLIB blocks because it doesn't support latest C language standards. To run PIL simulations you need to install the MingW compiler from the &lt;A href="https://www.mathworks.com/products/matlab/add-on-explorer.html"&gt;Matlab Add-On Exlorer&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know if installing MingW compiler fixed your issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2020 09:26:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144EVB-PIL-Problem/m-p/1089957#M4849</guid>
      <dc:creator>paulvlase</dc:creator>
      <dc:date>2020-08-20T09:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144EVB PIL Problem</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144EVB-PIL-Problem/m-p/1089958#M4850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/paulvlase"&gt;paulvlase&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I install the MingW compiler from adds-on. But this time I encounter with different error and the model still does not work. I am using Matlab 2020a and mbdt v4.2. Also I changed the s32k144 board boot-loader from openSDA to RappID thus I select serial mode and boot assist module (BAM). You can find the error code and relevant information as follow. Any will&amp;nbsp; will be appreciated thanks in advance.&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/111435i1CA7A377DA3D10C0/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;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/111437i8001F34C76591CBC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/111473iAE71F2BAF8D1D67E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2020 09:58:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144EVB-PIL-Problem/m-p/1089958#M4850</guid>
      <dc:creator>oeren5</dc:creator>
      <dc:date>2020-08-28T09:58:56Z</dc:date>
    </item>
  </channel>
</rss>

