<?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: Simulink Generated Code Not Executing on DEVKIT-MPC5744P RevE</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Simulink-Generated-Code-Not-Executing-on-DEVKIT-MPC5744P-RevE/m-p/1434330#M7115</link>
    <description>&lt;P&gt;So the second, possibly newer board worked!&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I plugged in my spare board.&lt;/LI&gt;&lt;LI&gt;I flashed the OpenSDA RBF RevE file needed to flash via Simulink&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Using Simulink 2020b Update 7, I generated and built code (COM port properly updated under build settings), placed board in BAM mode using reset switch&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;After flash completed, program executes (blue light blinks, I tried SW1, SW2 and lights changed)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Jumper settings are the same as other board.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Here are the relevant details of the board that worked on my first attempt:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;SCH-29333&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;REV E1&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;700-29333&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;REV A&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Another sticker:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;TDA7081&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;MT19361762&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;MCU Stamping:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;SPC5744PFMLQ9&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;1N15P&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;QMZFA1922H&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is my other board defective or damaged? Are there any options to get it repaired? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It works fine when building hand code from S32DS so I am struggling to understand how it is a hardware issue. Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Mar 2022 23:44:02 GMT</pubDate>
    <dc:creator>agBoiler18</dc:creator>
    <dc:date>2022-03-25T23:44:02Z</dc:date>
    <item>
      <title>Simulink Generated Code Not Executing on DEVKIT-MPC5744P RevE</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Simulink-Generated-Code-Not-Executing-on-DEVKIT-MPC5744P-RevE/m-p/1434325#M7113</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have spent about 12 solid hours trying to figure this issue out. My issue is:&lt;/P&gt;&lt;P&gt;Code generated using MBDT 3.2.0 does not execute on DEVKIT-MPC5744P REV E board.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a list of facts/conditions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If I load an example LED hello world project in S32DS, build and flash, everything works without an issue.&lt;/LI&gt;&lt;LI&gt;Using Simulink 2020b Update 7 (I suspected this was my main issue since 2020a is latest compatible with MBDT 3.2.0).&lt;UL&gt;&lt;LI&gt;I am unable to install 2020a due to severe hard-drive limits on my workstation&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;I tried the hot fixes for MBDT 3x, which caused the toolbox to fail (lots of errors and broken links), so had to reinstall MBDT 3.2.0 without hot-fixes&lt;/LI&gt;&lt;LI&gt;I am using the RBF file from MBDT 3.2's tools/bootloader folder&lt;UL&gt;&lt;LI&gt;I also tried the RBF file from hot-fixes, no change to issue&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;I tried two versions of S32DS (2.1, 2.1 with updates, reinstalled several times, 2017R). Using 2.1 with updates using online updater.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Jumper settings:&lt;UL&gt;&lt;LI&gt;I have J31 un-populated, J39 un-populated, J30 connected 1-2, all others are as recommended&lt;/LI&gt;&lt;LI&gt;I tried J30 unpopulated with J39 populated, J31 un-populated to match another employee post, that didn't change anything. Schematic suggests that switches PWM to analog for Ardunio compatibility&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Summary of steps carried out:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I flashed the DEVKIT with the RevE RBF file needed to be able to flash via Simulink.&lt;UL&gt;&lt;LI&gt;If I failed to do this, then RBF would get stuck at init (so at least I know this was somewhat working).&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;I loaded gpio_mpc457x which makes the blue LED toggle by default, upon pressing SW1, light goes green, SW2 results in red light&lt;UL&gt;&lt;LI&gt;I also tried the hello world UART model, no luck, figured the LED example is easier since I don't have to keep trying to terminal in&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;I tried to generate code from Simulink, when prompted, I pressed reset then released and let Simulink call the flasher, RAppID BL Progress shows Erasing, then completes flash (100%) and closes itself.&lt;/LI&gt;&lt;LI&gt;I reset the board and I don't see any LED changes. Application doesn't seem to be executing.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Next:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Import the project from Simulink (the one generated above) into S32DS using the procedure posted on this board with the following "fixes":&lt;UL&gt;&lt;LI&gt;Rename .S to .s extension of any files in the new project directory&lt;/LI&gt;&lt;LI&gt;Change project settings to reselect the E200Z4 with re-selection of libraries with support.&lt;/LI&gt;&lt;LI&gt;I then was able to build successfully (with warnings, no errors).&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;I then attempted to flash the generated ELF and same issue, the program did not execute.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I am suspecting there is something wrong with my board. Or it could also be a Simulink version issue. Can someone please advise?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for lengthy post. Thank you in advance for your help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 23:23:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Simulink-Generated-Code-Not-Executing-on-DEVKIT-MPC5744P-RevE/m-p/1434325#M7113</guid>
      <dc:creator>agBoiler18</dc:creator>
      <dc:date>2022-03-25T23:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Simulink Generated Code Not Executing on DEVKIT-MPC5744P RevE</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Simulink-Generated-Code-Not-Executing-on-DEVKIT-MPC5744P-RevE/m-p/1434326#M7114</link>
      <description>&lt;P&gt;When I was posting this question, three similar topics came up, they are unresolved but seem to suggest a hardware issue.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Code-not-Executing-on-MPC5744P-DevKit/td-p/948514" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Code-not-Executing-on-MPC5744P-DevKit/td-p/948514&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Code-generated-by-mbdtool-not-excute-on-the-MPC5744p-revE-board/td-p/1063438" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Code-generated-by-mbdtool-not-excute-on-the-MPC5744p-revE-board/td-p/1063438&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/code-generated-by-MBDtool-not-executed-on-MPC5744P-devkit/td-p/999808" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/code-generated-by-MBDtool-not-executed-on-MPC5744P-devkit/td-p/999808&amp;nbsp;&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Here is what the sticker on the back of my board says:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SCH-29333&lt;/LI&gt;&lt;LI&gt;REV E1&lt;/LI&gt;&lt;LI&gt;700-29333&lt;/LI&gt;&lt;LI&gt;REV A&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Another couple stickers read:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;TDA7081&lt;/LI&gt;&lt;LI&gt;MT19361609&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The MCU itself has the following stamped on it:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SPC5744PFMLQ9&lt;/LI&gt;&lt;LI&gt;1N15P&lt;/LI&gt;&lt;LI&gt;QMZDN1911T&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I happen to have one more DEVKIT MPC5744P RevE I can try. I am hesitant since they are expensive (used to be around 35 USD, now over 125 USD). I will post back with results.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 23:49:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Simulink-Generated-Code-Not-Executing-on-DEVKIT-MPC5744P-RevE/m-p/1434326#M7114</guid>
      <dc:creator>agBoiler18</dc:creator>
      <dc:date>2022-03-25T23:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Simulink Generated Code Not Executing on DEVKIT-MPC5744P RevE</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Simulink-Generated-Code-Not-Executing-on-DEVKIT-MPC5744P-RevE/m-p/1434330#M7115</link>
      <description>&lt;P&gt;So the second, possibly newer board worked!&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I plugged in my spare board.&lt;/LI&gt;&lt;LI&gt;I flashed the OpenSDA RBF RevE file needed to flash via Simulink&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Using Simulink 2020b Update 7, I generated and built code (COM port properly updated under build settings), placed board in BAM mode using reset switch&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;After flash completed, program executes (blue light blinks, I tried SW1, SW2 and lights changed)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Jumper settings are the same as other board.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Here are the relevant details of the board that worked on my first attempt:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;SCH-29333&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;REV E1&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;700-29333&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;REV A&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Another sticker:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;TDA7081&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;MT19361762&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;MCU Stamping:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;SPC5744PFMLQ9&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;1N15P&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;QMZFA1922H&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is my other board defective or damaged? Are there any options to get it repaired? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It works fine when building hand code from S32DS so I am struggling to understand how it is a hardware issue. Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 23:44:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Simulink-Generated-Code-Not-Executing-on-DEVKIT-MPC5744P-RevE/m-p/1434330#M7115</guid>
      <dc:creator>agBoiler18</dc:creator>
      <dc:date>2022-03-25T23:44:02Z</dc:date>
    </item>
  </channel>
</rss>

