<?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: RDVCU5775EVM Upload Simulink Code Problem in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/RDVCU5775EVM-Upload-Simulink-Code-Problem/m-p/1256253#M5933</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&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;&amp;nbsp;Thank you it worked.&amp;nbsp;&lt;SPAN&gt;I have one more question;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When the device is in normal mode, it works for a second or two and goes to sleep.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;KL15&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;connected +12V&amp;nbsp; ==&amp;gt;&amp;nbsp; T&lt;/SPAN&gt;&lt;SPAN&gt;he result does not change.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I run the device in normal mode?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Apr 2021 09:38:16 GMT</pubDate>
    <dc:creator>MuhammedAhmet</dc:creator>
    <dc:date>2021-04-02T09:38:16Z</dc:date>
    <item>
      <title>RDVCU5775EVM Upload Simulink Code Problem</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/RDVCU5775EVM-Upload-Simulink-Code-Problem/m-p/1255649#M5929</link>
      <description>&lt;P&gt;Hello&amp;nbsp; everyone&lt;/P&gt;&lt;P&gt;I upload the code I generated from Simulink to the device via USB Multilink and see that it works.&lt;/P&gt;&lt;P&gt;but it never works again when I press reset on the device.&lt;/P&gt;&lt;P&gt;what could be the reason for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 08:20:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/RDVCU5775EVM-Upload-Simulink-Code-Problem/m-p/1255649#M5929</guid>
      <dc:creator>MuhammedAhmet</dc:creator>
      <dc:date>2021-04-01T08:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: RDVCU5775EVM Upload Simulink Code Problem</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/RDVCU5775EVM-Upload-Simulink-Code-Problem/m-p/1256214#M5932</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/185197"&gt;@MuhammedAhmet&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most likely the boot process after restart is affected by the linker file. The linker file we provide in our toolbox is designed to work with the RAppID bootloader, but since you are downloading the code using Multilink, we must change the linker file.&lt;/P&gt;
&lt;P&gt;1. Please go to Matlab and type the following command&lt;/P&gt;
&lt;P&gt;winopen(fullfile(mbd_find_mpc_root, 'mbdtbx_mpc577x\src\linker\gcc'))&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. In the newly opened window, please paste the attached linker file (extract it from archive).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_0-1617349859129.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/141258iF29EB43926B05AFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariuslucianand_0-1617349859129.png" alt="mariuslucianand_0-1617349859129.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3. Type the following command and please replace the p code attached to the archive.&lt;/P&gt;
&lt;P&gt;winopen(fullfile(mbd_find_mpc_root, 'mbdtbx_mpc\mscripts\config'))&lt;/P&gt;
&lt;P&gt;4. Open your model, select the MPC5775B mcu, then go to Build Toolchain, uncheck the "Default Target Memory Definitions" and in the dropdown please select the newly added MPC57775B_flash_multi.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_1-1617350967426.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/141260i2F39B77ED4844805/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariuslucianand_1-1617350967426.png" alt="mariuslucianand_1-1617350967426.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now you can build and flash the code using USB Multilink.&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>Fri, 02 Apr 2021 08:12:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/RDVCU5775EVM-Upload-Simulink-Code-Problem/m-p/1256214#M5932</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2021-04-02T08:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: RDVCU5775EVM Upload Simulink Code Problem</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/RDVCU5775EVM-Upload-Simulink-Code-Problem/m-p/1256253#M5933</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&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;&amp;nbsp;Thank you it worked.&amp;nbsp;&lt;SPAN&gt;I have one more question;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When the device is in normal mode, it works for a second or two and goes to sleep.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;KL15&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;connected +12V&amp;nbsp; ==&amp;gt;&amp;nbsp; T&lt;/SPAN&gt;&lt;SPAN&gt;he result does not change.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I run the device in normal mode?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 09:38:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/RDVCU5775EVM-Upload-Simulink-Code-Problem/m-p/1256253#M5933</guid>
      <dc:creator>MuhammedAhmet</dc:creator>
      <dc:date>2021-04-02T09:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: RDVCU5775EVM Upload Simulink Code Problem</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/RDVCU5775EVM-Upload-Simulink-Code-Problem/m-p/1256279#M5934</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/185197"&gt;@MuhammedAhmet&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please describe what you are trying to do? Are you trying to communicate over CAN?&lt;/P&gt;
&lt;P&gt;Also, is the J1 connected, so the SBC is in debug mode?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 10:34:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/RDVCU5775EVM-Upload-Simulink-Code-Problem/m-p/1256279#M5934</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2021-04-02T10:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: RDVCU5775EVM Upload Simulink Code Problem</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/RDVCU5775EVM-Upload-Simulink-Code-Problem/m-p/1256283#M5935</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&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;There is a simple code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes J1 connected. W&lt;/SPAN&gt;&lt;SPAN&gt;orks fine in connected state&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but when not connected SBC does not work.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 10:42:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/RDVCU5775EVM-Upload-Simulink-Code-Problem/m-p/1256283#M5935</guid>
      <dc:creator>MuhammedAhmet</dc:creator>
      <dc:date>2021-04-02T10:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: RDVCU5775EVM Upload Simulink Code Problem</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/RDVCU5775EVM-Upload-Simulink-Code-Problem/m-p/1256291#M5936</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/185197"&gt;@MuhammedAhmet&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The SBCs behavior is quite normal. When you have the J1 connected, it will run in debug mode and will not reset the MCU. But when the J1 is not connected, the SBC will be active and at some point its watchdog will be enabled and it will reset the MCU.&lt;/P&gt;
&lt;P&gt;Now you have two options:&lt;/P&gt;
&lt;P&gt;1. Keep the J1 connected and the SBC in Debug mode as long as you want to develop your application.&lt;/P&gt;
&lt;P&gt;2. If you want to use the SBC in your application, this has to be configured via the SPI protocol. Now, we do not provide blocks in MBDT for this SBC, but, on the NXP website you will find the C driver for this SBC here:&amp;nbsp;&lt;A href="https://www.nxp.com/products/power-management/pmics-and-sbcs/safety-sbcs/grade-1-and-grade-0-safety-power-system-basis-chip-with-can-flexible-data-transceiver:FS6500?tab=Design_Tools_Tab" target="_blank"&gt;https://www.nxp.com/products/power-management/pmics-and-sbcs/safety-sbcs/grade-1-and-grade-0-safety-power-system-basis-chip-with-can-flexible-data-transceiver:FS6500?tab=Design_Tools_Tab&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use this C driver code in the Simulink model by inserting custom code. To help you with that, we have the following article which describes the custom code insertion process.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/How-to-use-your-own-C-code-in-our-Toolbox-Battery-Management/ta-p/1119004" target="_blank"&gt;https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/How-to-use-your-own-C-code-in-our-Toolbox-Battery-Management/ta-p/1119004&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 11:10:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/RDVCU5775EVM-Upload-Simulink-Code-Problem/m-p/1256291#M5936</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2021-04-02T11:10:39Z</dc:date>
    </item>
  </channel>
</rss>

