<?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: Error encountered when creating PIL block for a simulink model with Motor control toolbox in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Error-encountered-when-creating-PIL-block-for-a-simulink-model/m-p/941378#M3535</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/qi.wei@continental-corporation.com"&gt;qi.wei@continental-corporation.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The toolbox tries to download the application to the board but fails, returning that exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you run PIL simulation uncheck the &lt;STRONG&gt;Enable Download Code after Build&lt;/STRONG&gt; option in &lt;STRONG&gt;Configuration Parameters -&amp;gt; Code Generation -&amp;gt; PIL and Download Config, &lt;/STRONG&gt; and check the &lt;STRONG&gt;Enable PIL Mode Download&lt;/STRONG&gt; option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/90576i503BD9F650D4B3E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jul 2019 13:51:49 GMT</pubDate>
    <dc:creator>paulvlase</dc:creator>
    <dc:date>2019-07-08T13:51:49Z</dc:date>
    <item>
      <title>Error encountered when creating PIL block for a simulink model with Motor control toolbox</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Error-encountered-when-creating-PIL-block-for-a-simulink-model/m-p/941377#M3534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;I intended to do PIL for my Simulink model.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;I created a template model ForPILCreate_Template.sltx, in which there is only one block MCD_MC9S12ZVMx_Config_Information inside. In this template model, all the configurations that are required for creating the PIL block are implemented.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Then I started the test. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Step 1, I created an empty model based on the template ForPILCreate_Template.sltx, saved it as simple_select_fun_example.slx.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Step2, In the model simple_select_fun_example.slx, I added the subsystem select_fun_subsys which needs to be tested, and also its corresponding inports &amp;amp; outports.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Step3, In the Toolbar, I clicked the button “Build” to start the process of creating a PIL block for model simple_select_fun_example.slx.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Step4, Finally, the build procedure finished. Although a PIL block was created, there are warning messages prompted in the Diagnostic Viewer. For detailed error information, please refer to the attached file “simple_select_fun_example_build_20190705_085636.txt”, see line50~line52 and line56~line62.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Would you please help me to figure out what does the error message mean? And how shall I solve it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2019 01:26:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Error-encountered-when-creating-PIL-block-for-a-simulink-model/m-p/941377#M3534</guid>
      <dc:creator>qi_wei</dc:creator>
      <dc:date>2019-07-05T01:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error encountered when creating PIL block for a simulink model with Motor control toolbox</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Error-encountered-when-creating-PIL-block-for-a-simulink-model/m-p/941378#M3535</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/qi.wei@continental-corporation.com"&gt;qi.wei@continental-corporation.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The toolbox tries to download the application to the board but fails, returning that exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you run PIL simulation uncheck the &lt;STRONG&gt;Enable Download Code after Build&lt;/STRONG&gt; option in &lt;STRONG&gt;Configuration Parameters -&amp;gt; Code Generation -&amp;gt; PIL and Download Config, &lt;/STRONG&gt; and check the &lt;STRONG&gt;Enable PIL Mode Download&lt;/STRONG&gt; option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/90576i503BD9F650D4B3E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 13:51:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Error-encountered-when-creating-PIL-block-for-a-simulink-model/m-p/941378#M3535</guid>
      <dc:creator>paulvlase</dc:creator>
      <dc:date>2019-07-08T13:51:49Z</dc:date>
    </item>
  </channel>
</rss>

