<?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>Model-Based Design Toolbox (MBDT)のトピックDownload code created with MBDT for S32K to UM11310 HV Battery management system?</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Download-code-created-with-MBDT-for-S32K-to-UM11310-HV-Battery/m-p/1178287#M5271</link>
    <description>&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="TextRun SCXW151027804 BCX8"&gt;&lt;SPAN class="NormalTextRun SCXW151027804 BCX8"&gt;System: Windows 10&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="EOP SCXW151027804 BCX8"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="EOP SCXW151027804 BCX8"&gt;&lt;SPAN class="TextRun SCXW4342956 BCX8"&gt;&lt;SPAN class="NormalTextRun SCXW4342956 BCX8"&gt;MATLAB Version: 2020a&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="EOP SCXW4342956 BCX8"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="EOP SCXW151027804 BCX8"&gt;&lt;SPAN class="EOP SCXW4342956 BCX8"&gt;NXP Model-Based Design Toolbox for S32K1xx MCUs, version 4.2.0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="EOP SCXW151027804 BCX8"&gt;&lt;SPAN class="EOP SCXW4342956 BCX8"&gt;UM11310 HV Battery management system&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I'm trying to download code created with Simulink to the UM11310 HV Battery management system. This has a JTAG port but no serial port. So far, I haven't been successful. Are there any procedures on this?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Nov 2020 22:03:20 GMT</pubDate>
    <dc:creator>cjjohnson</dc:creator>
    <dc:date>2020-11-04T22:03:20Z</dc:date>
    <item>
      <title>Download code created with MBDT for S32K to UM11310 HV Battery management system?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Download-code-created-with-MBDT-for-S32K-to-UM11310-HV-Battery/m-p/1178287#M5271</link>
      <description>&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="TextRun SCXW151027804 BCX8"&gt;&lt;SPAN class="NormalTextRun SCXW151027804 BCX8"&gt;System: Windows 10&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="EOP SCXW151027804 BCX8"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="EOP SCXW151027804 BCX8"&gt;&lt;SPAN class="TextRun SCXW4342956 BCX8"&gt;&lt;SPAN class="NormalTextRun SCXW4342956 BCX8"&gt;MATLAB Version: 2020a&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="EOP SCXW4342956 BCX8"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="EOP SCXW151027804 BCX8"&gt;&lt;SPAN class="EOP SCXW4342956 BCX8"&gt;NXP Model-Based Design Toolbox for S32K1xx MCUs, version 4.2.0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="EOP SCXW151027804 BCX8"&gt;&lt;SPAN class="EOP SCXW4342956 BCX8"&gt;UM11310 HV Battery management system&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I'm trying to download code created with Simulink to the UM11310 HV Battery management system. This has a JTAG port but no serial port. So far, I haven't been successful. Are there any procedures on this?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 22:03:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Download-code-created-with-MBDT-for-S32K-to-UM11310-HV-Battery/m-p/1178287#M5271</guid>
      <dc:creator>cjjohnson</dc:creator>
      <dc:date>2020-11-04T22:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Download code created with MBDT for S32K to UM11310 HV Battery management system?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Download-code-created-with-MBDT-for-S32K-to-UM11310-HV-Battery/m-p/1178701#M5278</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/180015"&gt;@cjjohnson&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Unfortunately, from the Simulink environment, you can only download the code either via USB and OpenSDA. So for now, you have to manually download the generated elf using the S32DS for ARM.&lt;/P&gt;
&lt;P&gt;To do that, please install the S32DS for ARM alongside with the S32SDK for S32K1xx. You don't have to import the whole generated code in the S32DS. You can follow these steps:&lt;/P&gt;
&lt;P&gt;1. Open S32DS for ARM&lt;/P&gt;
&lt;P&gt;2. File -&amp;gt; New -&amp;gt; S32DS project from example. Choose hello_world_s32k144&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_0-1604570528475.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/129178i3D236FDBA733F1BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariuslucianand_0-1604570528475.png" alt="mariuslucianand_0-1604570528475.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3. once the project has been imported, go to flash button, Browse for the generated .elf, check Disable autobuild&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_1-1604570868742.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/129179i20F6A0C5940A0F11/image-size/large?v=v2&amp;amp;px=999" role="button" title="mariuslucianand_1-1604570868742.png" alt="mariuslucianand_1-1604570868742.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;4. Go to the next tab, Debugger, make sure you have a JTAG probe connected to the S32K and&amp;nbsp; detected( I am using the OpenSDA).&lt;/P&gt;
&lt;P&gt;5. Press the Flash button, and now the code should run on the S32K.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 10:10:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Download-code-created-with-MBDT-for-S32K-to-UM11310-HV-Battery/m-p/1178701#M5278</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2020-11-05T10:10:26Z</dc:date>
    </item>
    <item>
      <title>I got an error on step 5, after pressing Flash</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Download-code-created-with-MBDT-for-S32K-to-UM11310-HV-Battery/m-p/1178865#M5281</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;Thank you for your help. I got an error on step 5, after pressing Flash. Unfortunately, the information in the error message was not very helpful. I am using the USB Multilink.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Flash error.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/129206i892B27C902DE9E24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Flash error.png" alt="Flash error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried to flash a few times after changing different options. I got the same error message after every attempt. There were 2 device options for the S32K144 and I tried them both.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Flash config.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/129207i7865AF3FCFEDCB94/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Flash config.png" alt="Flash config.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 16:33:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Download-code-created-with-MBDT-for-S32K-to-UM11310-HV-Battery/m-p/1178865#M5281</guid>
      <dc:creator>ranulf</dc:creator>
      <dc:date>2020-11-05T16:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: I got an error on step 5, after pressing Flash</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Download-code-created-with-MBDT-for-S32K-to-UM11310-HV-Battery/m-p/1178884#M5282</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;An internet search got me to the following NXP community answer.&amp;nbsp; &lt;A href="https://community.nxp.com/t5/S32K/Error-while-launching-command-version/m-p/689231/highlight/true" target="_blank"&gt;https://community.nxp.com/t5/S32K/Error-while-launching-command-version/m-p/689231/highlight/true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;That seemed to change something and now I get a different error message.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PE Error.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/129208i372123D462DE6009/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PE Error.png" alt="PE Error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 17:18:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Download-code-created-with-MBDT-for-S32K-to-UM11310-HV-Battery/m-p/1178884#M5282</guid>
      <dc:creator>ranulf</dc:creator>
      <dc:date>2020-11-05T17:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: I got an error on step 5, after pressing Flash</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Download-code-created-with-MBDT-for-S32K-to-UM11310-HV-Battery/m-p/1178898#M5283</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/179095"&gt;@ranulf&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I usually get this error when the controller is not powered up or the JTAG probe is connected reversed. In any case, the probe can not access the controller. So please check first the power. Also, Multilink has two LEDs, I think both of them has to be powered up when the connections are fine.&lt;/P&gt;
&lt;P&gt;From the screenshots attached, the controller selection seems to be fine.&lt;/P&gt;
&lt;P&gt;I had a look at the HV BMS User manual here&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/user-guide/UM11310.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/UM11310.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Chapters 4 and 5 describe how to configure the hardware and also how to test a C code example. Can you please give this a try? If this code example works, we can start flashing the generated code from Simulink.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 17:55:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Download-code-created-with-MBDT-for-S32K-to-UM11310-HV-Battery/m-p/1178898#M5283</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2020-11-05T17:55:20Z</dc:date>
    </item>
    <item>
      <title>Reversed plug</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Download-code-created-with-MBDT-for-S32K-to-UM11310-HV-Battery/m-p/1178931#M5284</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="TextRun SCXW82102424 BCX8"&gt;&lt;SPAN class="NormalTextRun SCXW82102424 BCX8"&gt;It turns out that the&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="TextRun SCXW82102424 BCX8"&gt;&lt;SPAN class="NormalTextRun SCXW82102424 BCX8"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;orientation of one of the&amp;nbsp;plugs&amp;nbsp;for the&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="TextRun SCXW82102424 BCX8"&gt;&lt;SPAN class="NormalTextRun SCXW82102424 BCX8"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;cable connecting the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="TextRun SCXW82102424 BCX8"&gt;&lt;SPAN class="NormalTextRun SCXW82102424 BCX8"&gt;board to the Multilink&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="TextRun SCXW82102424 BCX8"&gt;&lt;SPAN class="NormalTextRun SCXW82102424 BCX8"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;was reversed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="TextRun SCXW82102424 BCX8"&gt;&lt;SPAN class="NormalTextRun SCXW82102424 BCX8"&gt;&amp;nbsp;&lt;SPAN&gt; Good suggestion. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="TextRun SCXW82102424 BCX8"&gt;&lt;SPAN class="NormalTextRun SCXW82102424 BCX8"&gt;The correct orientation is shown in the photo. I have now loaded simple Simulink code that flashes the LED. It works!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UM11310 JTAG Plug Orientation.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/129215iBEFB054F93E5B841/image-size/medium?v=v2&amp;amp;px=400" role="button" title="UM11310 JTAG Plug Orientation.jpg" alt="UM11310 JTAG Plug Orientation.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="TextRun SCXW82102424 BCX8"&gt;&lt;SPAN class="NormalTextRun SCXW82102424 BCX8"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="EOP SCXW82102424 BCX8"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 18:47:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Download-code-created-with-MBDT-for-S32K-to-UM11310-HV-Battery/m-p/1178931#M5284</guid>
      <dc:creator>ranulf</dc:creator>
      <dc:date>2020-11-05T18:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Reversed plug</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Download-code-created-with-MBDT-for-S32K-to-UM11310-HV-Battery/m-p/1178949#M5285</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/179095"&gt;@ranulf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am so glad it works and my suggestion got to you so fast!&lt;/P&gt;
&lt;P&gt;For this setup, I hope this article can be a good starting point. It explains how to perform data acquisition on the TPL bus. You only have to check (and change them, if needs be) the two SPI peripherals pins that connect S32K with the MC33664 and should work.&lt;/P&gt;
&lt;P&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/BMS-amp-MBDT-MC33771B-MC33772B-TPL-communication-with-S32K/ta-p/1153459" target="_blank"&gt;https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/BMS-amp-MBDT-MC33771B-MC33772B-TPL-communication-with-S32K/ta-p/1153459&lt;/A&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 19:27:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Download-code-created-with-MBDT-for-S32K-to-UM11310-HV-Battery/m-p/1178949#M5285</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2020-11-05T19:27:50Z</dc:date>
    </item>
  </channel>
</rss>

