<?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)中的主题 Re: After MBD Toolbox Update</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/After-MBD-Toolbox-Update/m-p/1052627#M4440</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/youngkugpark"&gt;youngkugpark&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to run your models and indeed the PTA10 LED on the MPC5748G board is not blinking and the CAN communication is not working. The problem is that the FlexCAN ISR is initialized before FlexCAN module. The fix is to set the priority of the FCAN_Config block to 1. This way the code is generated for FCAN_Config block before the FCAN_ISR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right click on the &lt;STRONG&gt;FCAN_Config&lt;/STRONG&gt; block, select &lt;STRONG&gt;Properties, &lt;/STRONG&gt;and&lt;STRONG&gt; &lt;/STRONG&gt;set the &lt;STRONG&gt;Priority&lt;/STRONG&gt; field to 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Apr 2020 23:41:22 GMT</pubDate>
    <dc:creator>paulvlase</dc:creator>
    <dc:date>2020-04-20T23:41:22Z</dc:date>
    <item>
      <title>After MBD Toolbox Update</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/After-MBD-Toolbox-Update/m-p/1052625#M4438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Hello,&amp;nbsp;Constantin Razvan Chivu&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="" style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;BR /&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;After I updated to MBD Toolbox ver3.2, DEVKIT-MP5744P Rev.B and DEVKIT-MP5748G Rev.D1 did not work properly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I changed the rbf on each board and installed it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. DEVKIT-MPC5744P --&amp;gt; MPC574xP_S32DS_UART1_CAN0_OpenSDA.rbf&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. DEVKIT-MPC5748G --&amp;gt; MPC5748G_S32DS_UART2_CAN0.rbf&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;This installation seemed to work normally, but problems reoccurred in FlexCAN communication.&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;Q1. Is each RBF file correct?&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;The attached file is modified to suit my purpose by using the example program provided by NXP, although it is a compilation but does not work normally. &lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;The LED on the board does not work, and I have confirmed that the CAN transmission does not work using the oscilloscope.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;If sent from DEVKIT-MPC5748G to CAN0 at 0x100, it is received at DEVKIT-MPC5744P. Of course, the CAN resistance was confirmed, and both boards used external power.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm sorry, but I'd appreciate it if you could review the attached file.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;(&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;As you already know, I'm using Matlab2019b.)&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;I spent last weekend in the lab because of my ignorance.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 10:54:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/After-MBD-Toolbox-Update/m-p/1052625#M4438</guid>
      <dc:creator>youngkugpark</dc:creator>
      <dc:date>2020-04-20T10:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: After MBD Toolbox Update</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/After-MBD-Toolbox-Update/m-p/1052626#M4439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/youngkugpark"&gt;youngkugpark&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our responses are delayed due to the Christian Easter Holiday. I hope you understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, how the bootloader works is not being changed from one release to another, so let's isolate if the problem is related to the CAN or Bootloader.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;This installation seemed to work normally, but problems reoccurred in FlexCAN communication.&amp;nbsp;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;1. When you say installation, are you referring to flashing the bootloader?&lt;/P&gt;&lt;P&gt;2. How do you download the generated code on the board, via UART communication?&lt;/P&gt;&lt;P&gt;3. Try flashing over the bootloader a simple GPIO example and see if the code works as expected or not.&lt;/P&gt;&lt;P&gt;4. If the &lt;SPAN&gt;GPIO&amp;nbsp;&lt;/SPAN&gt;example is not working, try flashing the generated elf file (GPIO or CAN example as well) directly using the S32DS bypassing the bootloader. This way, eliminating the bootloader we can see if the issue is related to the CAN or&amp;nbsp;bootloader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 11:45:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/After-MBD-Toolbox-Update/m-p/1052626#M4439</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2020-04-20T11:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: After MBD Toolbox Update</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/After-MBD-Toolbox-Update/m-p/1052627#M4440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/youngkugpark"&gt;youngkugpark&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to run your models and indeed the PTA10 LED on the MPC5748G board is not blinking and the CAN communication is not working. The problem is that the FlexCAN ISR is initialized before FlexCAN module. The fix is to set the priority of the FCAN_Config block to 1. This way the code is generated for FCAN_Config block before the FCAN_ISR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right click on the &lt;STRONG&gt;FCAN_Config&lt;/STRONG&gt; block, select &lt;STRONG&gt;Properties, &lt;/STRONG&gt;and&lt;STRONG&gt; &lt;/STRONG&gt;set the &lt;STRONG&gt;Priority&lt;/STRONG&gt; field to 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 23:41:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/After-MBD-Toolbox-Update/m-p/1052627#M4440</guid>
      <dc:creator>paulvlase</dc:creator>
      <dc:date>2020-04-20T23:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: After MBD Toolbox Update</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/After-MBD-Toolbox-Update/m-p/1052628#M4441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Andrei&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;As you mentioned, I compiled the GPIO example and downloaded it and confirmed that it worked properly on two boards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From this I knew there was no problem with the bootloader provided by NXP. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And the good news is that Paul Vlase advised me to modify the CAN example program, and confirmed that it worked normally on both boards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you, too, Paul Blase.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2020 00:18:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/After-MBD-Toolbox-Update/m-p/1052628#M4441</guid>
      <dc:creator>youngkugpark</dc:creator>
      <dc:date>2020-04-21T00:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: After MBD Toolbox Update</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/After-MBD-Toolbox-Update/m-p/1052629#M4442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Paul Blase.&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for pointing out that you can review and modify my stupid model. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Thanks to you, I have saved a lot of time.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2020 00:24:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/After-MBD-Toolbox-Update/m-p/1052629#M4442</guid>
      <dc:creator>youngkugpark</dc:creator>
      <dc:date>2020-04-21T00:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: After MBD Toolbox Update</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/After-MBD-Toolbox-Update/m-p/1052630#M4443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/youngkugpark"&gt;youngkugpark&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is our fault that we didn't include this priority check.&lt;/P&gt;&lt;P&gt;We will update the FlexCAN consistency check in the next cumulative patch or release.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2020 00:30:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/After-MBD-Toolbox-Update/m-p/1052630#M4443</guid>
      <dc:creator>paulvlase</dc:creator>
      <dc:date>2020-04-21T00:30:46Z</dc:date>
    </item>
  </channel>
</rss>

