<?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 Unable to Deploy and Start External Mode Example for S32K144 in MBDT in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Unable-to-Deploy-and-Start-External-Mode-Example-for-S32K144-in/m-p/1176817#M5253</link>
    <description>&lt;P&gt;I'm trying to "Build, Deploy, &amp;amp; Restart" the following example from the NXP S32K1xx MBD Toolbox:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="extmode_s32k1xx_toolbox_example.png" style="width: 623px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128862i3C1ECBDD94A095AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="extmode_s32k1xx_toolbox_example.png" alt="extmode_s32k1xx_toolbox_example.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Starting&amp;nbsp;"Build, Deploy, &amp;amp; Restart" as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="extmode_s32k1xx_2_build-deploy-and-start-button.png" style="width: 955px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128863i3F6C201EF5AB4DA9/image-size/large?v=v2&amp;amp;px=999" role="button" title="extmode_s32k1xx_2_build-deploy-and-start-button.png" alt="extmode_s32k1xx_2_build-deploy-and-start-button.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It builds successfully, but I get the following error in the next phase&amp;nbsp;Deploy, &amp;amp; Restart"&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="extmode_s32k1xx_2_monitor-and-tune-error.png" style="width: 613px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128864iF94FF0B15EB5664A/image-size/large?v=v2&amp;amp;px=999" role="button" title="extmode_s32k1xx_2_monitor-and-tune-error.png" alt="extmode_s32k1xx_2_monitor-and-tune-error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The file it complains cannot be found is plainly present in the build output folder:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="extmode_s32k1xx_2_buildinfo-mat-exists.png" style="width: 841px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128867i758BF58828636C82/image-size/large?v=v2&amp;amp;px=999" role="button" title="extmode_s32k1xx_2_buildinfo-mat-exists.png" alt="extmode_s32k1xx_2_buildinfo-mat-exists.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've also noticed the Model Properties has "PreLoadFcn" and "PostSaveFcn" defined:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="extmode_s32k1xx_model-properties.png" style="width: 426px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128868i1E30D9EB0A0422E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="extmode_s32k1xx_model-properties.png" alt="extmode_s32k1xx_model-properties.png" /&gt;&lt;/span&gt;:&lt;/P&gt;&lt;P&gt;The functions called are p-files that are not editable and that have no help available:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;gt;&amp;gt; &lt;STRONG&gt;which mbd_s32k_examples_preload_cbk&lt;/STRONG&gt;&lt;BR /&gt;C:\Users\T5810\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K1xx\mbdtbx_s32k\mscripts\utils\mbd_s32k_examples_preload_cbk.p&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; &lt;STRONG&gt;help mbd_s32k_examples_preload_cbk&lt;/STRONG&gt;&lt;BR /&gt;mbd_s32k_examples_preload_cbk is a script.&lt;/P&gt;&lt;P&gt;Could these toolbox function calls be responsible for properly setting the search path for the build?&lt;/P&gt;&lt;P&gt;What is their purpose?&amp;nbsp; Are they required to run a model in extremal mode?&amp;nbsp;&lt;/P&gt;&lt;P&gt;They the presence of these function calls is invisible, unless someone inspects Model Properties.&lt;/P&gt;&lt;P&gt;In any case, can anyone suggest how o troubleshoot or work-around the "Build, Deploy, &amp;amp; Restart" error?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 02 Nov 2020 20:39:36 GMT</pubDate>
    <dc:creator>rsating</dc:creator>
    <dc:date>2020-11-02T20:39:36Z</dc:date>
    <item>
      <title>Unable to Deploy and Start External Mode Example for S32K144 in MBDT</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Unable-to-Deploy-and-Start-External-Mode-Example-for-S32K144-in/m-p/1176817#M5253</link>
      <description>&lt;P&gt;I'm trying to "Build, Deploy, &amp;amp; Restart" the following example from the NXP S32K1xx MBD Toolbox:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="extmode_s32k1xx_toolbox_example.png" style="width: 623px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128862i3C1ECBDD94A095AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="extmode_s32k1xx_toolbox_example.png" alt="extmode_s32k1xx_toolbox_example.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Starting&amp;nbsp;"Build, Deploy, &amp;amp; Restart" as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="extmode_s32k1xx_2_build-deploy-and-start-button.png" style="width: 955px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128863i3F6C201EF5AB4DA9/image-size/large?v=v2&amp;amp;px=999" role="button" title="extmode_s32k1xx_2_build-deploy-and-start-button.png" alt="extmode_s32k1xx_2_build-deploy-and-start-button.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It builds successfully, but I get the following error in the next phase&amp;nbsp;Deploy, &amp;amp; Restart"&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="extmode_s32k1xx_2_monitor-and-tune-error.png" style="width: 613px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128864iF94FF0B15EB5664A/image-size/large?v=v2&amp;amp;px=999" role="button" title="extmode_s32k1xx_2_monitor-and-tune-error.png" alt="extmode_s32k1xx_2_monitor-and-tune-error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The file it complains cannot be found is plainly present in the build output folder:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="extmode_s32k1xx_2_buildinfo-mat-exists.png" style="width: 841px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128867i758BF58828636C82/image-size/large?v=v2&amp;amp;px=999" role="button" title="extmode_s32k1xx_2_buildinfo-mat-exists.png" alt="extmode_s32k1xx_2_buildinfo-mat-exists.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've also noticed the Model Properties has "PreLoadFcn" and "PostSaveFcn" defined:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="extmode_s32k1xx_model-properties.png" style="width: 426px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128868i1E30D9EB0A0422E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="extmode_s32k1xx_model-properties.png" alt="extmode_s32k1xx_model-properties.png" /&gt;&lt;/span&gt;:&lt;/P&gt;&lt;P&gt;The functions called are p-files that are not editable and that have no help available:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;gt;&amp;gt; &lt;STRONG&gt;which mbd_s32k_examples_preload_cbk&lt;/STRONG&gt;&lt;BR /&gt;C:\Users\T5810\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K1xx\mbdtbx_s32k\mscripts\utils\mbd_s32k_examples_preload_cbk.p&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; &lt;STRONG&gt;help mbd_s32k_examples_preload_cbk&lt;/STRONG&gt;&lt;BR /&gt;mbd_s32k_examples_preload_cbk is a script.&lt;/P&gt;&lt;P&gt;Could these toolbox function calls be responsible for properly setting the search path for the build?&lt;/P&gt;&lt;P&gt;What is their purpose?&amp;nbsp; Are they required to run a model in extremal mode?&amp;nbsp;&lt;/P&gt;&lt;P&gt;They the presence of these function calls is invisible, unless someone inspects Model Properties.&lt;/P&gt;&lt;P&gt;In any case, can anyone suggest how o troubleshoot or work-around the "Build, Deploy, &amp;amp; Restart" error?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 20:39:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Unable-to-Deploy-and-Start-External-Mode-Example-for-S32K144-in/m-p/1176817#M5253</guid>
      <dc:creator>rsating</dc:creator>
      <dc:date>2020-11-02T20:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Deploy and Start External Mode Example for S32K144 in MBDT</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Unable-to-Deploy-and-Start-External-Mode-Example-for-S32K144-in/m-p/1187718#M5393</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/178673"&gt;@rsating&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;To run External mode on the S32K144 you have to follow the next steps:&lt;/P&gt;
&lt;P&gt;1. Go to Model Settings-&amp;gt; Code Generation -&amp;gt; interface. Make sure you checked the 'External mode', Select the serial transport layer In the MEX-file arguments, the second argument represents the Serial Com port, in my case is COM8.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_1-1606168744043.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130803i4F8BAA40E23554A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="mariuslucianand_1-1606168744043.png" alt="mariuslucianand_1-1606168744043.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Go to Monitor &amp;amp; Tune drop-down option and press the Build for monitoring option&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_0-1606168507781.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130802iDAEBC6C7A9CE5F0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="mariuslucianand_0-1606168507781.png" alt="mariuslucianand_0-1606168507781.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3. Once the code has been deployed on the target, We need to connect to the target. For this step, please go to 'Control Panel' and in the External Mode Control Panel, press the 'Connect' button.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_2-1606168844723.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130804i33293385A96DD7D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="mariuslucianand_2-1606168844723.png" alt="mariuslucianand_2-1606168844723.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 22:01:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Unable-to-Deploy-and-Start-External-Mode-Example-for-S32K144-in/m-p/1187718#M5393</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2020-11-23T22:01:07Z</dc:date>
    </item>
  </channel>
</rss>

