<?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: Problem / Issue with MPC5744P MATLAB Simulink 2020 and S32 Design Studio for Power Architecture in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1211308#M5625</link>
    <description>&lt;P&gt;Could you please provide a short video how it works at your end with the data I provided? Using Simulink / and using the S32.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The tutorial available are all with old software versions and not similar to the actual software I use. Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jan 2021 20:29:19 GMT</pubDate>
    <dc:creator>tl007</dc:creator>
    <dc:date>2021-01-13T20:29:19Z</dc:date>
    <item>
      <title>Problem / Issue with MPC5744P MATLAB Simulink 2020 and S32 Design Studio for Power Architecture</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1210360#M5606</link>
      <description>&lt;P&gt;&lt;A href="https://www.youtube.com/embed/B5AzJlIbIRE" target="_blank" rel="noopener"&gt;https://www.youtube.com/embed/B5AzJlIbIRE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;the video attached explains the problem I faced while trying to program a MPC5744P Dev Kit Board (REV E1) using MATLAB Simulink 2020.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using S32 Design Studio for Power Architecture it works for simple examples as shown in the video.&lt;/P&gt;&lt;P&gt;Do I miss something while uploading the model from Simulink?&lt;/P&gt;&lt;P&gt;Can you please tell me what Example I may try at the beginning?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 11:59:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1210360#M5606</guid>
      <dc:creator>tl007</dc:creator>
      <dc:date>2021-01-12T11:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem / Issue with MPC5744P MATLAB Simulink 2020 and S32 Design Studio for Power Architecture</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1210399#M5610</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/182216"&gt;@tl007&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see nothing wrong with your approach that might cause the program not running as expected.&lt;/P&gt;
&lt;P&gt;The mention I have is that you can flash the bootloader only once. In order to force the board to enter the bootloader for the newly generated code, you have to check the BAM Restart Request. This will show a popup asking you to manually reset the MPC board and then, within 5 seconds you have to press the ok button in the popup.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_0-1610457001056.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134563iDC21D1CD528AB22D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariuslucianand_0-1610457001056.png" alt="mariuslucianand_0-1610457001056.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I've checked the model on the MPC5744P eval board and the blue led is blinking. Can you send me the generated code folder to give it a try on my end?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 13:12:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1210399#M5610</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2021-01-12T13:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem / Issue with MPC5744P MATLAB Simulink 2020 and S32 Design Studio for Power Architecture</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1211195#M5621</link>
      <description>&lt;P&gt;Dear Marius,&lt;/P&gt;&lt;P&gt;thank you for your fast answer.&lt;/P&gt;&lt;P&gt;please find attached my generated files.&lt;/P&gt;&lt;P&gt;I activated the BAM restart request.&lt;/P&gt;&lt;P&gt;The some thing. Nothing happens.&lt;/P&gt;&lt;P&gt;the files are also attached. both versions .r2016 and newest .mdl 2020.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;TL&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 15:34:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1211195#M5621</guid>
      <dc:creator>tl007</dc:creator>
      <dc:date>2021-01-13T15:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem / Issue with MPC5744P MATLAB Simulink 2020 and S32 Design Studio for Power Architecture</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1211243#M5622</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/182216"&gt;@tl007&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I've tested the generated mot file on my controller and it works. The blue LED blinks as expected. You have generated the code to be written in SRAM.&lt;/P&gt;
&lt;P&gt;The BAM selection that I was mentioned in my previous response is used only to let you know when to restart the board. So I was not expecting this to make the code work.&lt;/P&gt;
&lt;P&gt;Since the generated code works on my end, it is very hard to debug this on your end. The next step, in this case, would be to debug the generated code on the faulty board to see where exactly the code stops. My guess is that the problem is related to the oscillator on the board or with the external clock.&lt;/P&gt;
&lt;P&gt;I've seen in your video that you have already tried to test the board with your own code, probably a blinker developed in the S32DS with a bare-metal code in which you were writing directly the device registers. MBDT generates code on top of the S32SDK for Power but the main difference between the MBDT generated code and what you have tried is that probably you were using the internal clock.&lt;/P&gt;
&lt;P&gt;1. Are you able to test the generated code on another board?&lt;/P&gt;
&lt;P&gt;2. Can you please flash the generated .elf file (it's easier to select the flash target not sram) from the MBDT in exactly the same way as you've flashed the bootloader .srec file? Also, if you try this, and enter debug mode, the S32DS will show you the stack can you please show me this?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 17:39:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1211243#M5622</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2021-01-13T17:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem / Issue with MPC5744P MATLAB Simulink 2020 and S32 Design Studio for Power Architecture</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1211308#M5625</link>
      <description>&lt;P&gt;Could you please provide a short video how it works at your end with the data I provided? Using Simulink / and using the S32.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The tutorial available are all with old software versions and not similar to the actual software I use. Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 20:29:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1211308#M5625</guid>
      <dc:creator>tl007</dc:creator>
      <dc:date>2021-01-13T20:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem / Issue with MPC5744P MATLAB Simulink 2020 and S32 Design Studio for Power Architecture</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1211317#M5626</link>
      <description>&lt;P&gt;I was not able to load the generated "project" from Simulink using S32&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 20:49:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1211317#M5626</guid>
      <dc:creator>tl007</dc:creator>
      <dc:date>2021-01-13T20:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem / Issue with MPC5744P MATLAB Simulink 2020 and S32 Design Studio for Power Architecture</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1211854#M5628</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Maybe this can help:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/How-to-debug-the-MBD-generated-code-in-the-S32-Design-Studio/m-p/1018227" target="_blank"&gt;https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/How-to-debug-the-MBD-generated-code-in-the-S32-Design-Studio/m-p/1018227&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Kind regards, Rafael&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 16:39:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1211854#M5628</guid>
      <dc:creator>rafael_barbosa</dc:creator>
      <dc:date>2021-01-14T16:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem / Issue with MPC5744P MATLAB Simulink 2020 and S32 Design Studio for Power Architecture</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1212464#M5638</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/182216"&gt;@tl007&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you post a photo with your front side of the MPC5744P dev board? I need to see jumpers setup. Maybe there is a problem.&lt;/P&gt;
&lt;P&gt;Please take a look at those video recordings. You can see that the blue led is blinking with Simulink and with Design Studio too.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Adrian&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 17:14:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1212464#M5638</guid>
      <dc:creator>adriantudor</dc:creator>
      <dc:date>2021-01-15T17:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem / Issue with MPC5744P MATLAB Simulink 2020 and S32 Design Studio for Power Architecture</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1212794#M5641</link>
      <description>&lt;P&gt;Hallo, here are the pictures.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have seen in your video, that you don't have any jumper on J30. I removed the the jumper as well and was able at least to upload the program to the flash. however, no LED is blinking. I used the file attached considering the remarks of Marius.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your support and further hints.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;TL&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2021 14:36:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1212794#M5641</guid>
      <dc:creator>tl007</dc:creator>
      <dc:date>2021-01-17T14:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem / Issue with MPC5744P MATLAB Simulink 2020 and S32 Design Studio for Power Architecture</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1212795#M5642</link>
      <description>&lt;P&gt;Dear Marius,&lt;/P&gt;&lt;P&gt;thank you for your reply &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;1. I do only have one board.&lt;/P&gt;&lt;P&gt;2. I flashed the generated .elf file as you can see in the video.&lt;BR /&gt;&lt;A href="https://youtu.be/HtX8Tb35Acc" target="_blank" rel="noopener"&gt;https://youtu.be/HtX8Tb35Acc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I after this tried the Simulink method once again. No blinking LED as you can see.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2021 14:56:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1212795#M5642</guid>
      <dc:creator>tl007</dc:creator>
      <dc:date>2021-01-17T14:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem / Issue with MPC5744P MATLAB Simulink 2020 and S32 Design Studio for Power Architecture</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1213210#M5645</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/182216"&gt;@tl007&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please flash this binary file into your mcu. This one, if it will work properly, will blink your blue led at every second and it use PIT with PLL0 with XOSC as a clock source. I'm trying to understand if your board has any problem with XOSC/PLL. Be noticed that this elf will run from RAM, so after each reset, the program won't run anymore.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Adrian&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 09:24:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1213210#M5645</guid>
      <dc:creator>adriantudor</dc:creator>
      <dc:date>2021-01-18T09:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem / Issue with MPC5744P MATLAB Simulink 2020 and S32 Design Studio for Power Architecture</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1213271#M5646</link>
      <description>&lt;P&gt;If you have the right .elf file, but it does not load on the board, it may be a boot loader setup issue.&lt;/P&gt;&lt;P&gt;Double check to follow the related instruction on the section&amp;nbsp;"2.3 BootLoader Setup"&amp;nbsp; of the doc.:&lt;BR /&gt;&lt;A href="https://www.nxp.com/docs/en/quick-reference-guide/MBDT-MPC57xx_QSG.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/quick-reference-guide/MBDT-MPC57xx_QSG.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Kind Regards, Rafael&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 10:16:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-Issue-with-MPC5744P-MATLAB-Simulink-2020-and-S32-Design/m-p/1213271#M5646</guid>
      <dc:creator>rafael_barbosa</dc:creator>
      <dc:date>2021-01-18T10:16:24Z</dc:date>
    </item>
  </channel>
</rss>

