<?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: S32k344- MBDT error for BLDC or PMSM in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1936262#M9376</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239198"&gt;@Eduardo2000&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the explanation and can i ask what is the exact error in the picture? the uploaded image quality is too small 400x239pixels.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First I recommend using the latest MBDT V1.5.0 from&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;&lt;A id="menurg8p" class="fui-Link ___1rxvrpe f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn" title="https://community.nxp.com/t5/nxp-model-based-design-tools/nxp-model-based-design-toolbox-for-s32k3xx-version-1-5-0-product/ta-p/1884943" href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/NXP-Model-Based-Design-Toolbox-for-S32K3xx-version-1-5-0-Product/ta-p/1884943" target="_blank" rel="noreferrer noopener" aria-label="Link NXP Model-Based Design Toolbox for S32K3xx version 1.5.0 - Product Release Announcement - NXP Community"&gt;NXP Model-Based Design Toolbox for S32K3xx version 1.5.0 - Product Release Announcement - NXP Community&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;Secondly i will check the Jumper position on the&amp;nbsp;&lt;STRONG&gt;DEVKIT-MOTORGD (GD3000)&lt;/STRONG&gt;&amp;nbsp;jumpers&amp;nbsp;&lt;STRONG&gt;J9&lt;/STRONG&gt;,&amp;nbsp;&lt;STRONG&gt;J10&lt;/STRONG&gt;, and&amp;nbsp;&lt;STRONG&gt;J11&lt;/STRONG&gt;&amp;nbsp;are in positions&amp;nbsp;&lt;STRONG&gt;2-1&lt;/STRONG&gt;&amp;nbsp;and&amp;nbsp;&lt;STRONG&gt;J8&lt;/STRONG&gt;&amp;nbsp;is open, this configuration works with all&amp;nbsp;&lt;STRONG&gt;MBDT&lt;/STRONG&gt;&amp;nbsp;BLDC/PMSM models:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditor_655788118ce0astefanvlad_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PINS_J9_J11.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294128i985B6FE467619CC9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PINS_J9_J11.jpg" alt="PINS_J9_J11.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In the case of the PMSM models, if the Jumpers are not as in the configuration above, the USERLED_0 will be RED indication a fault.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More details on the setup are in the s32k344_mc_pmsm_2sh_ebt_example_readme.html files included in the MBDT v1.5.0 release.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then regarding the FreeMASTER connection to the board, you need to check your PC COM Port, for example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_2-1724154088759.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294132i29ECB414FC54C476/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_2-1724154088759.png" alt="stefanvlad_2-1724154088759.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In my case it is COM8 and then i need to set up the FreeMASTER communication:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_3-1724154180250.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294133iD5AB2D7BC2EC3FF0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_3-1724154180250.png" alt="stefanvlad_3-1724154180250.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Select the COM8 Port and speed 115200 as above, it should connect and work well with the board:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_4-1724154378246.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294134i30E457FD89A9B6D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_4-1724154378246.png" alt="stefanvlad_4-1724154378246.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if this helps you,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2024 12:01:23 GMT</pubDate>
    <dc:creator>stefanvlad</dc:creator>
    <dc:date>2024-08-20T12:01:23Z</dc:date>
    <item>
      <title>S32k344- MBDT error for BLDC or PMSM</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1935656#M9375</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are an urgent need of some support please. We are currently using this eval board from NXP:&amp;nbsp; (&lt;A href="https://www.digikey.com/en/products/detail/nxp-usa-inc/MCSPTE1AK344/18647986" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.digikey.com/en/products/detail/nxp-usa-inc/MCSPTE1AK344/18647986&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;We are trying to spin the motor using the BLDC and PMSM folders in the "s32k3_Examples " folder of the NXP_MBDTToolbox. We are able to successfully download the firmware to the board using MATLAB/Simulink, however, we are seeing two issues: First, the MCAT tool is not working and we get the below error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eduardo2000_0-1724109631907.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294000iE0F5EC8473422CA3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Eduardo2000_0-1724109631907.png" alt="Eduardo2000_0-1724109631907.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second, every time we press the SW4, the LED D3 goes red indicating a fault I think.&lt;/P&gt;&lt;P&gt;We have confirmed the eval board is fine and work as expected with the S32 design studio and NXP hand written FOC codes. We are able to pin the motor with that but not with the MBDT generated codes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We highly appreciate your urgent support.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 23:20:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1935656#M9375</guid>
      <dc:creator>Eduardo2000</dc:creator>
      <dc:date>2024-08-19T23:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: S32k344- MBDT error for BLDC or PMSM</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1936262#M9376</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239198"&gt;@Eduardo2000&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the explanation and can i ask what is the exact error in the picture? the uploaded image quality is too small 400x239pixels.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First I recommend using the latest MBDT V1.5.0 from&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;&lt;A id="menurg8p" class="fui-Link ___1rxvrpe f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn" title="https://community.nxp.com/t5/nxp-model-based-design-tools/nxp-model-based-design-toolbox-for-s32k3xx-version-1-5-0-product/ta-p/1884943" href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/NXP-Model-Based-Design-Toolbox-for-S32K3xx-version-1-5-0-Product/ta-p/1884943" target="_blank" rel="noreferrer noopener" aria-label="Link NXP Model-Based Design Toolbox for S32K3xx version 1.5.0 - Product Release Announcement - NXP Community"&gt;NXP Model-Based Design Toolbox for S32K3xx version 1.5.0 - Product Release Announcement - NXP Community&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;Secondly i will check the Jumper position on the&amp;nbsp;&lt;STRONG&gt;DEVKIT-MOTORGD (GD3000)&lt;/STRONG&gt;&amp;nbsp;jumpers&amp;nbsp;&lt;STRONG&gt;J9&lt;/STRONG&gt;,&amp;nbsp;&lt;STRONG&gt;J10&lt;/STRONG&gt;, and&amp;nbsp;&lt;STRONG&gt;J11&lt;/STRONG&gt;&amp;nbsp;are in positions&amp;nbsp;&lt;STRONG&gt;2-1&lt;/STRONG&gt;&amp;nbsp;and&amp;nbsp;&lt;STRONG&gt;J8&lt;/STRONG&gt;&amp;nbsp;is open, this configuration works with all&amp;nbsp;&lt;STRONG&gt;MBDT&lt;/STRONG&gt;&amp;nbsp;BLDC/PMSM models:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditor_655788118ce0astefanvlad_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PINS_J9_J11.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294128i985B6FE467619CC9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PINS_J9_J11.jpg" alt="PINS_J9_J11.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In the case of the PMSM models, if the Jumpers are not as in the configuration above, the USERLED_0 will be RED indication a fault.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More details on the setup are in the s32k344_mc_pmsm_2sh_ebt_example_readme.html files included in the MBDT v1.5.0 release.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then regarding the FreeMASTER connection to the board, you need to check your PC COM Port, for example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_2-1724154088759.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294132i29ECB414FC54C476/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_2-1724154088759.png" alt="stefanvlad_2-1724154088759.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In my case it is COM8 and then i need to set up the FreeMASTER communication:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_3-1724154180250.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294133iD5AB2D7BC2EC3FF0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_3-1724154180250.png" alt="stefanvlad_3-1724154180250.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Select the COM8 Port and speed 115200 as above, it should connect and work well with the board:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_4-1724154378246.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294134i30E457FD89A9B6D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_4-1724154378246.png" alt="stefanvlad_4-1724154378246.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if this helps you,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 12:01:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1936262#M9376</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2024-08-20T12:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32k344- MBDT error for BLDC or PMSM</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1936586#M9377</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;&amp;nbsp;;&lt;/P&gt;&lt;P&gt;Thanks for your response! We have confirmed all the items you mentioned. Basically we are seeing this error on two different eval boards we have ordered from digikey on two different laptops so it confirms something is not right! Is there a difference between the hardware you have with the ones on digikey? The one we have has a sticker with " SCH-53148 REVB". Do we need to DNP or populate something else on the board in addition to the jumpers configuration ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 16:52:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1936586#M9377</guid>
      <dc:creator>Eduardo2000</dc:creator>
      <dc:date>2024-08-20T16:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: S32k344- MBDT error for BLDC or PMSM</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1936589#M9378</link>
      <description>&lt;P&gt;Debugging the MATLAB generated codes is showing that the code is locked in the GD3000 config loop! Any ideas why ?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 16:54:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1936589#M9378</guid>
      <dc:creator>Eduardo2000</dc:creator>
      <dc:date>2024-08-20T16:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: S32k344- MBDT error for BLDC or PMSM</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1936748#M9380</link>
      <description>&lt;P&gt;After spending two weeks on NXP eval board, we can confirm something is wrong ! All the NXP documentations seem to be based on&amp;nbsp;S32K344EVB-Q172 which seems to be obsolete and all the new boards are based&amp;nbsp;&lt;SPAN&gt;MCSPTE1AK344. Have you guys ever tested that eval board to see if it works as expected before? We can confirm it won't ! And it seems like some other NXP customers had same issues! Can you please provide some support ? We are thinking on moving to other solutions at this point as we have had not much luck with NXP MATLAB based codes!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 22:18:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1936748#M9380</guid>
      <dc:creator>Eduardo2000</dc:creator>
      <dc:date>2024-08-20T22:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: S32k344- MBDT error for BLDC or PMSM</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1937342#M9382</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239198"&gt;@Eduardo2000&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have one question , what MBDT version are you using?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are some rare cases where the GD3000 chip on the&amp;nbsp;&lt;STRONG&gt;DEVKIT-MOTORGD &lt;/STRONG&gt;board has some issues with the timing and that why it gets stuck in the GD3000_Config() function.&lt;/P&gt;
&lt;P&gt;To fix this we have a new version for that GD3000 Driver, based on &lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/The-new-TPPSDK-GD3000-driver-based-on-RTD-for-S32K3/ta-p/1516885" target="_blank"&gt;The new TPPSDK (GD3000 driver) based on RTD for S32K3 - NXP Community&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;I have integrated this driver into the MBDT v1.5.0 release, to use it, you need first to delete all files inside the BLDC and PMSM folders:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1724233277751.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294514iD6FB42CADA66D088/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1724233277751.png" alt="stefanvlad_0-1724233277751.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then unzip the attached&amp;nbsp;mc_v1.5.0_tppsdk_rtd_P19.zip archive and paste it in the mc folder&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_1-1724233333228.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294515i2D0A6F609C5F03C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_1-1724233333228.png" alt="stefanvlad_1-1724233333228.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After this you should be able to run the models with no issues, we have been tested this on multiple boards, in multiple regions, with success.&lt;/P&gt;
&lt;P&gt;PS: there is a faster way to load the .elf on the S32K344 board, by using MATLAB Command Window:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt; mbd_s32k3.nxp.download.jtag('s32k344_mc_pmsm_2sh_ebt.elf','S32K344')&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;This will load the pre-generated binary into the S32K344 board, without the need to open the model.&lt;/P&gt;
&lt;P&gt;PS2: regarding "&lt;SPAN&gt;Second, every time we press the SW4, the LED D3 goes red indicating a fault I think." this is normal, because SW4 is the Reset button, and LED D3 is the Reset LED for the S32K344 board.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My advice is to press User_SW0 or User_SW1, see below picture:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;Overview of the location of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;USER_SW0/SW1&lt;/STRONG&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;RGBLED0&lt;/STRONG&gt;, 12 Vin DC power, USB&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;J40&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;connector,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;SW1&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for powering ON, board jumpers&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;J8&lt;/STRONG&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;J9&lt;/STRONG&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;J10&lt;/STRONG&gt;, and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;J11&lt;/STRONG&gt;:&lt;/P&gt;
&lt;DIV id="tinyMceEditorstefanvlad_3" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorstefanvlad_4" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MCSPTE1AK344_top.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294516i518AB52940E77406/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MCSPTE1AK344_top.jpg" alt="MCSPTE1AK344_top.jpg" /&gt;&lt;/span&gt;
&lt;P&gt; &lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;PS3: Also please note, that the&amp;nbsp;s32k344_mc_pmsm_2sh_ebt_example_readme.html documentation is updated for all MC models:&lt;/P&gt;
&lt;P&gt;The MCSPTE1AK344 Development kit contains:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://www.nxp.com/design/development-boards/automotive-development-platforms/hardware-tools-accessories/motor-control-shield-for-devkit:DEVKIT-MOTORGD" target="_blank"&gt;DEVKIT-MOTORGD board&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://www.nxp.com/design/design-center/development-boards/automotive-development-platforms/s32k-mcu-platforms/s32k3x4evb-t172-evaluation-board-for-automotive-general-purpose:S32K3X4EVB-T172" target="_blank"&gt;S32K3X4EVB-T172 board&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.nxp.com/design/development-boards/automotive-development-platforms/s32k-mcu-platforms/s32k3x4-q172-general-purpose-development-board:S32K3X4EVB-Q172" target="_blank"&gt;S32K3X4EVB-Q172 board&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://www.sunrisemotor-cn.com/Product/142451.html" target="_blank"&gt;Sunrise 42BLY3A78-24110 Motor&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;12V Power Supply&lt;/LI&gt;
&lt;LI&gt;Micro USB cable&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know how this works,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 09:54:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1937342#M9382</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2024-08-21T09:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: S32k344- MBDT error for BLDC or PMSM</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1937747#M9384</link>
      <description>&lt;P&gt;We replaced the mc folder with the files you sent and tried to build the .mdl files in the bldc and pmsm folders. First of all, the models no longer are built successfully and we get the following error for all of them:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"s32k344_mc_pmsm_2sh_s32ct&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Failed Code generation information file does not exist"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eduardo2000_0-1724271428168.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294606iD5DD76A3994E474A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Eduardo2000_0-1724271428168.png" alt="Eduardo2000_0-1724271428168.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts why are getting this error now?&lt;/P&gt;&lt;P&gt;Also we tried to download the original .elf files in the folder you sent to see if they work using the MATLAB command window:&amp;nbsp;&lt;EM&gt;&amp;gt;&amp;gt; mbd_s32k3.nxp.download.jtag('s32k344_mc_pmsm_2sh_ebt.elf','S32K344')&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We noticed that the ebt.elf files work and turns on the userLED0 and FreeMaster also works and spins the motor. However, the s32ct.elf files don't and we run into same issue where the user LED stays OFF and FreeMaster doesn't connect. See below:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt; mbd_s32k3.nxp.download.jtag('s32k344_mc_bldc_ebt.elf','S32K344')&amp;nbsp; &amp;nbsp; ----&amp;gt; Works!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; mbd_s32k3.nxp.download.jtag('s32k344_mc_bldc_s32ct.elf','S32K344') ----&amp;gt; Doesn't work!&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; mbd_s32k3.nxp.download.jtag('s32k344_mc_pmsm_2sh_ebt.elf','S32K344') -----&amp;gt; works!&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; mbd_s32k3.nxp.download.jtag('s32k344_mc_pmsm_2sh_s32ct.elf','S32K344') ----&amp;gt; doesn't work&lt;/P&gt;&lt;P&gt;Please note that the commands below use the original .elf files you sent and not the files we generated! As mentioned above, we are no longer able to generate code as we are getting an error as sent above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We appreciate your urgent support on this!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 20:25:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1937747#M9384</guid>
      <dc:creator>Eduardo2000</dc:creator>
      <dc:date>2024-08-21T20:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: S32k344- MBDT error for BLDC or PMSM</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1937751#M9385</link>
      <description>also we are using Model-Based Design Toolbox for S32K3xx 1.5.0</description>
      <pubDate>Wed, 21 Aug 2024 20:34:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1937751#M9385</guid>
      <dc:creator>Eduardo2000</dc:creator>
      <dc:date>2024-08-21T20:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: S32k344- MBDT error for BLDC or PMSM</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1937795#M9386</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239198"&gt;@Eduardo2000&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you include the complete log file, copy paste it in a log_error.txt file and attach it here.&lt;/P&gt;
&lt;P&gt;Also there is no reason why&amp;nbsp;&lt;EM&gt;s32ct.elf files don't&lt;SPAN&gt;&amp;nbsp;work,&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;as all files have been tested successfully working on the S32K344 board with the Sunrise and Linix motor spinning.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My guess is that you need to properly clean-up (delete all files) in the BLDC and PMSM folders, then add the files from the&amp;nbsp;&amp;nbsp;mc_v1.5.0_tppsdk_rtd_P19.zip and the in the MATLAB File Explorer, go to C:\MATLABAddOns\ToolBoxes\NXP_MBDToolbox_S32K3xx\S32K3xx_Examples\mc\&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And select BLDC, PMSM folders and right click and select Add to Path -&amp;gt; Selected Folders and Subfolders:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1724277214978.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294619i446A7C5F5327C932/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1724277214978.png" alt="stefanvlad_0-1724277214978.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then enter the path in MATLAB current window&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;C:\MATLABAddOns\ToolBoxes\NXP_MBDToolbox_S32K3xx\S32K3xx_Examples\mc\PMSM\s32k344_mc_pmsm_2sh_ebt\&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;This will result in seeing only the files from&amp;nbsp;s32k344_mc_pmsm_2sh_ebt in the MATLAB Current Folder.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Now open the&amp;nbsp;&lt;STRONG&gt;s32k344_mc_pmsm_2sh_ebt.mdl&lt;/STRONG&gt; and after the model opens, press Build&amp;amp;Deploy(or CTRL+B keyboard shortcut).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This should build successfully,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Stefan V.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 22:04:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1937795#M9386</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2024-08-21T22:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: S32k344- MBDT error for BLDC or PMSM</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1937833#M9387</link>
      <description>&lt;P&gt;Please see attached the full log error.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 00:39:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1937833#M9387</guid>
      <dc:creator>Eduardo2000</dc:creator>
      <dc:date>2024-08-22T00:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: S32k344- MBDT error for BLDC or PMSM</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1938534#M9388</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239198"&gt;@Eduardo2000&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking into the log_error.txt file , i see two different paths for&amp;nbsp;NXP_MBDToolbox_S32K3xx:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;C:\MATLABAddOns\Toolboxes\NXP_MBDToolbox_S32K3xx\S32K3_Examples\&lt;/LI&gt;
&lt;LI&gt;C:\Users\MAHMADI\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;This can be a problem, my advice is to remove previous Toolboxes installation from path no.2 then go into MATLAB:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Click on -&amp;gt; Set Path&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Select Default&lt;/LI&gt;
&lt;LI&gt;Click Save, then Close&lt;/LI&gt;
&lt;LI&gt;Run the&amp;nbsp;mbd_s32k3_path.m script&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1724333728718.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294794iA1A884ED79CC5909/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1724333728718.png" alt="stefanvlad_0-1724333728718.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After running the&amp;nbsp;mbd_s32k3_path.m script, it should give the Successful message:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_1-1724333890595.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294795iC4B1E573BA372273/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_1-1724333890595.png" alt="stefanvlad_1-1724333890595.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After this you can restart MATLAB r2024a.&lt;/P&gt;
&lt;P&gt;Can you also check the Add-Ons Manager, mine has the following installed:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_3-1724335010761.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294801i78C9006A060B1198/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_3-1724335010761.png" alt="stefanvlad_3-1724335010761.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Let me know what do you have installed.&lt;/P&gt;
&lt;P&gt;After this go to the MC folder in MATLAB C:\MATLABAddOns\Toolboxes\NXP_MBDToolbox_S32K3xx\S32K3_Examples\mc\PMSM\s32k344_mc_pmsm_2sh_ebt:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_2-1724334276691.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294798i1631BEC883E04859/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_2-1724334276691.png" alt="stefanvlad_2-1724334276691.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Open the&amp;nbsp;&lt;STRONG&gt;s32k344_mc_pmsm_2sh_ebt.mdl&lt;/STRONG&gt; and build it, it should be successfully:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_4-1724335434305.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294804i365CC52A557C5A5F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_4-1724335434305.png" alt="stefanvlad_4-1724335434305.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Stefan V.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 14:07:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1938534#M9388</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2024-08-22T14:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: S32k344- MBDT error for BLDC or PMSM</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1938647#M9389</link>
      <description>&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;We are still seeing same error even after deleting and removing the other toolbox folder and following your suggested steps. Please see attached the logs. Also we confirmed that our adds-on manager is same as yours.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 17:36:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1938647#M9389</guid>
      <dc:creator>Eduardo2000</dc:creator>
      <dc:date>2024-08-22T17:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: S32k344- MBDT error for BLDC or PMSM</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1938661#M9390</link>
      <description>&lt;P&gt;Also can you send the list of changes you have made to the original mc folder files ? As mentioned, the original files that come with the toolbox can be built successfully but they just don't work. However, the files you sent don't build successfully. Maybe we can make your changes to the original files and get them to work somehow?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 18:19:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1938661#M9390</guid>
      <dc:creator>Eduardo2000</dc:creator>
      <dc:date>2024-08-22T18:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: S32k344- MBDT error for BLDC or PMSM</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1938682#M9391</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239198"&gt;@Eduardo2000&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have looked into the attached &lt;SPAN&gt;s32k344_mc_pmsm_2sh_s32ct2_20240822_103156.txt&amp;nbsp;&lt;/SPAN&gt;log,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think there might still be an error with your &lt;SPAN&gt;NXP_MBDToolbox_S32K3xx installation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you provide screenshots&amp;nbsp;for the MATLAB:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Add-Ons&lt;/LI&gt;
&lt;LI&gt;Set Path&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For next steps to work i recommend you start fresh,&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Uninstall all previous Toolboxes from MATLAB Manage Add-Ons, then delete the local folders+files, if any remain in:&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE class="bp-text bp-text-plain hljs bp-is-scrollable lia-indent-padding-left-30px" tabindex="0"&gt;&lt;CODE class="bp-text-code txt"&gt;C:\Users\MAHMADI\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx&amp;nbsp;&lt;/CODE&gt;or &lt;BR /&gt;C:\MATLABAddOns\Toolboxes\NXP_MBDToolbox_S32K3xx\&lt;CODE class="bp-text-code txt"&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Go to MATLAB -&amp;gt; Preferences and set Add-Ons location to the following location:&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1724353200947.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294840i0E6392F7968139F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="stefanvlad_0-1724353200947.png" alt="stefanvlad_0-1724353200947.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;This should be the default location.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Open MATLAB&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Set Path -&amp;gt; Default -&amp;gt; Save -&amp;gt;Close&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and then restart MATLAB:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_1-1724354056397.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294841i1F2B998F276E7FA2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_1-1724354056397.png" alt="stefanvlad_1-1724354056397.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Install the&amp;nbsp;&lt;SPAN&gt;latest MBDT V1.5.0 from&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;&lt;A id="menurg8p" class="fui-Link ___1rxvrpe f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn" title="https://community.nxp.com/t5/nxp-model-based-design-tools/nxp-model-based-design-toolbox-for-s32k3xx-version-1-5-0-product/ta-p/1884943" href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/NXP-Model-Based-Design-Toolbox-for-S32K3xx-version-1-5-0-Product/ta-p/1884943" target="_blank" rel="noopener" aria-label="Link NXP Model-Based Design Toolbox for S32K3xx version 1.5.0 - Product Release Announcement - NXP Community"&gt;NXP Model-Based Design Toolbox for S32K3xx version 1.5.0.&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Delete the BLDC and PMSM folders, and copy the ones from the&amp;nbsp;&lt;SPAN&gt;mc_v1.5.0_tppsdk_rtd_P19.zip&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Enter the following path to the MATLAB Current Path&amp;nbsp;&lt;STRONG&gt;&lt;STRONG&gt;C:\Matworks\Toolboxes\NXP_MBDToolbox_S32K3xx\S32K3_Examples\mc\PMSM\s32k344_mc_pmsm_2sh_ebt:&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_2-1724354275743.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294844i0D6D9C8754879CFC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_2-1724354275743.png" alt="stefanvlad_2-1724354275743.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Open the&amp;nbsp;&lt;STRONG&gt;s32k344_mc_pmsm_2sh_ebt.mdl &lt;/STRONG&gt;and build&amp;amp;deploy.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide pictures and details on your side, when replicating the steps above.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 19:19:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1938682#M9391</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2024-08-22T19:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32k344- MBDT error for BLDC or PMSM</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1940746#M9394</link>
      <description>&lt;P&gt;Thanks for your help! Working now !&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 00:05:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1940746#M9394</guid>
      <dc:creator>Eduardo2000</dc:creator>
      <dc:date>2024-08-27T00:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: S32k344- MBDT error for BLDC or PMSM</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1943693#M9421</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239198"&gt;@Eduardo2000&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad to hear that you managed to follow the steps from above, and that it finally worked on your side!&lt;/P&gt;
&lt;P&gt;PS: you can accept as solution the post that helped you solve your problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 16:28:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-MBDT-error-for-BLDC-or-PMSM/m-p/1943693#M9421</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2024-08-29T16:28:16Z</dc:date>
    </item>
  </channel>
</rss>

