<?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: Could not instantiate communication plugin object in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Could-not-instantiate-communication-plugin-object/m-p/842422#M2697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/niequanwei@aochutec.com"&gt;niequanwei@aochutec.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FreeMaster file is not generated from MATLAB. You can open the FreeMaster application and generate your project from there. If you follow the steps described above, you can save the file generated as &amp;lt;name&amp;gt;.pmp. The FM project can not be generated from MATLAB as we can't know what&amp;nbsp;the user wants to view and how he'd like to view it as. We provide some tutorials on how to make FreeMaster projects (like &lt;A _jive_internal="true" href="https://community.nxp.com/videos/8009"&gt;here&lt;/A&gt;, starting at 3'40'', or &lt;A _jive_internal="true" href="https://community.nxp.com/thread/455228"&gt;here&lt;/A&gt;&amp;nbsp;if you want to learn more about how to &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;use the HTML or JScript capabilities to read/write the variables you are interested in [you can find the file in FreeMaster Control folder attached in&amp;nbsp;Motor Control Class: Lecture 12]&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hope this helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Razvan.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Aug 2018 07:28:06 GMT</pubDate>
    <dc:creator>constantinrazva</dc:creator>
    <dc:date>2018-08-13T07:28:06Z</dc:date>
    <item>
      <title>Could not instantiate communication plugin object</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Could-not-instantiate-communication-plugin-object/m-p/842417#M2692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I run the FreeMaster, there was a problem :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="6.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62820i8F20494CEDC14F37/image-size/large?v=v2&amp;amp;px=999" role="button" title="6.jpg" alt="6.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody give me some advice?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will be grateful for your enthusiastic help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best wishes!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2018 05:20:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Could-not-instantiate-communication-plugin-object/m-p/842417#M2692</guid>
      <dc:creator>niequanwei</dc:creator>
      <dc:date>2018-08-10T05:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Could not instantiate communication plugin object</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Could-not-instantiate-communication-plugin-object/m-p/842418#M2693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/niequanwei@aochutec.com"&gt;niequanwei@aochutec.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You probably have some wrong configurations in the FreeMaster. I have answered a different thread started by you with some information about FreeMaster. I will put the answer here as well (as a reply to this), to be more complete. Please let me know if you are still having issues with 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>Fri, 10 Aug 2018 09:40:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Could-not-instantiate-communication-plugin-object/m-p/842418#M2693</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2018-08-10T09:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Could not instantiate communication plugin object</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Could-not-instantiate-communication-plugin-object/m-p/842419#M2694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/niequanwei@aochutec.com"&gt;niequanwei@aochutec.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For you to use FreeMaster, you'll have to configure 2 parts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Simulink part]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;First of all, you'll have to enable it from the configuration block/Simulink options (you can click on the Config block, click on Options menu or hit CTRL+E keys). From there, select Code Generation tab -&amp;gt; FreeMASTER Config. Here you can select the interface you want the board to communicate with the FreeMaster, the baud rate and the pins. If you use the SCI1 interface like in our examples, you'll have to check the jumpers for&amp;nbsp;SCI TXD selector and&amp;nbsp;SCI RXD selector (J27, J28). You have select the&amp;nbsp;USB-to-SCI option (pins 2-3 for both).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62961iC8C2E5E3C0122C04/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.jpg" alt="pastedImage_3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[FreeMaster application part]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Here, after you opened the FreeMaster application, you'll to go to Project-&amp;gt;Options. Here you have to configure:&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63006i4F5FE42003316B44/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.jpg" alt="pastedImage_4.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;[Comm tab]&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; - Communication - select what type of communication you're using. If you're going for the simple SCI1 as in our examples, you have to select RS232, and select the COM port on which the board is connected, or you can select COM_ALL and it will try to match every available port with it.&lt;/P&gt;&lt;P&gt;&amp;nbsp; - Speed - select the baud rate. Here you must select the same as you have in the Simulink Model..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;[MAP Files tab]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; - Select at Default symbol file the .elf that was generated with the toolbox.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63053iBEB5633DF17DF0EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.jpg" alt="pastedImage_5.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now you can click the Start/Stop communication button or just press CTRL+K.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If everything goes well, you have to select some variables that you want to watch. For that right-click on the Variable Watch space, click create new variable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62779i84EC5FBF86B393DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.jpg" alt="pastedImage_6.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here you must select from the Variable tab the Address - you can search it by the variable name. You can change the Sampling period and it's format ("show as"). After that, just click on OK.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63101i9CBA72FF23144D90/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.jpg" alt="pastedImage_7.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now if everything is ok, you must see your variable and it's value in the Variable Watch zone. If you want to create a scope, right click on "New Project" from the Project Tree, click on Create Scope. I recommend for the first scope you let all the defaults in the Main tab, you can change them after to see what changes what. You'll have to go to the Setup tab and click on a variable from "Graph vars" tab. After you've selected one of them, select from underneath it the variable you want to assign (the variable you added in the previous step) and click&amp;nbsp;OK. If everything is ok, you should see how your variable changes in time.&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_8.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63138iC8496CF8CB2BFD5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_8.jpg" alt="pastedImage_8.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_9.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63183i127AB621C08E615D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_9.jpg" alt="pastedImage_9.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2018 09:40:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Could-not-instantiate-communication-plugin-object/m-p/842419#M2694</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2018-08-10T09:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Could not instantiate communication plugin object</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Could-not-instantiate-communication-plugin-object/m-p/842420#M2695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;Thank you ! But I only have this Configure information.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62592iBFCF3E001CB877D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does it have some difference? And it can work or not?&lt;/P&gt;&lt;P&gt;Best wishes!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 01:39:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Could-not-instantiate-communication-plugin-object/m-p/842420#M2695</guid>
      <dc:creator>niequanwei</dc:creator>
      <dc:date>2018-08-13T01:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Could not instantiate communication plugin object</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Could-not-instantiate-communication-plugin-object/m-p/842421#M2696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another question: after build the module,why I can't creat a FreeMaster files like ''xxx.pmp" and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62666i99380A60EB36B35C/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The configure information :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62830i688C4DFCE4FD85CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And should I how to deal with it?&lt;/P&gt;&lt;P&gt;Best wishes!&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 02:30:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Could-not-instantiate-communication-plugin-object/m-p/842421#M2696</guid>
      <dc:creator>niequanwei</dc:creator>
      <dc:date>2018-08-13T02:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Could not instantiate communication plugin object</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Could-not-instantiate-communication-plugin-object/m-p/842422#M2697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/niequanwei@aochutec.com"&gt;niequanwei@aochutec.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FreeMaster file is not generated from MATLAB. You can open the FreeMaster application and generate your project from there. If you follow the steps described above, you can save the file generated as &amp;lt;name&amp;gt;.pmp. The FM project can not be generated from MATLAB as we can't know what&amp;nbsp;the user wants to view and how he'd like to view it as. We provide some tutorials on how to make FreeMaster projects (like &lt;A _jive_internal="true" href="https://community.nxp.com/videos/8009"&gt;here&lt;/A&gt;, starting at 3'40'', or &lt;A _jive_internal="true" href="https://community.nxp.com/thread/455228"&gt;here&lt;/A&gt;&amp;nbsp;if you want to learn more about how to &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;use the HTML or JScript capabilities to read/write the variables you are interested in [you can find the file in FreeMaster Control folder attached in&amp;nbsp;Motor Control Class: Lecture 12]&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hope this helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Razvan.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 07:28:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Could-not-instantiate-communication-plugin-object/m-p/842422#M2697</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2018-08-13T07:28:06Z</dc:date>
    </item>
  </channel>
</rss>

