<?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: Unable to flash S32K3X4EVB-T172 using MBDT</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Unable-to-flash-S32K3X4EVB-T172-using-MBDT/m-p/2247253#M10531</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/255800"&gt;@eduardovila&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check the latest &lt;STRONG&gt;MBDT 1.7.0 release&lt;/STRONG&gt;, as the &lt;STRONG&gt;S32K3X4EVB-T172 board was not validated on version 1.4.0&lt;/STRONG&gt;, which might explain the download issue you are seeing. The newer release includes important fixes and extended support for S32K3 devices.&lt;/P&gt;
&lt;P&gt;Also, review the NXP Community thread (&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3X4EVB-T172-with-MBD/m-p/1639221#M8177" target="_blank" rel="noopener"&gt;link&lt;/A&gt;) in case you encounter&amp;nbsp;&lt;STRONG&gt;reset-related issues&lt;/STRONG&gt; similar to those discussed there. Some users reported that incorrect reset handling during flashing, and I suggested some workarounds there.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Victor&lt;/P&gt;</description>
    <pubDate>Mon, 24 Nov 2025 11:27:50 GMT</pubDate>
    <dc:creator>georgevictor</dc:creator>
    <dc:date>2025-11-24T11:27:50Z</dc:date>
    <item>
      <title>Unable to flash S32K3X4EVB-T172 using MBDT</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Unable-to-flash-S32K3X4EVB-T172-using-MBDT/m-p/2196555#M10505</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We have purchased a S32K3X4EVB-T172 board for PIL testing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On my windows machine, I installed all software according to the guide&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.nxp.com/document/guide/mcu-automotive-board-quick-starts:GS-S32K3X4EVB-T172" target="_blank" rel="noopener"&gt;https://www.nxp.com/document/guide/mcu-automotive-board-quick-starts:GS-S32K3X4EVB-T172&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am able to flash via S32 Design Studio for the S32 Platform 3.6.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But once I try using MATLAB 2023a and NXP Support Package S32K3 1.4.0, I am not able to flash.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using these outdated versions since they are the latest supported by the BMS Support Package.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In an empty directory, I created a blank simulink model (asdf.mdl) and in the hardware settings:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Hardware&amp;gt; Set it to Hardware Part: S32K344-Q172;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Tool Paths &amp;gt; Set it to Configuration Tool: S32 Configuration Tool;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Download &amp;gt; Left it to USB Multilink/Embedded Debugger - JTAG, Target Memory: FLASH&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I press "Build, Deploy &amp;amp; Start", it builds but is unable to download to the board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Simulink diagnostics says "Error:Problem occured while downloading the application on target. Download aborted!"&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;A pop-up says "&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;Runtime error 216 at 6C64A7AE&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN class=""&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;A command line window says:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;C:\Users\EduardoVila\Repos\asdf\asdf_ert_rtw&amp;gt;set WINDOW_TITLE="mbd_s32k3_pegdbserver_window_title"&lt;/P&gt;&lt;P&gt;C:\Users\EduardoVila\Repos\asdf\asdf_ert_rtw&amp;gt;set SERVER_FULL_NAME="C:\Users\EduardoVila\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.alpha_5.4.7.202301252033\win32\pegdbserver_console.exe"&lt;/P&gt;&lt;P&gt;C:\Users\EduardoVila\Repos\asdf\asdf_ert_rtw&amp;gt;set S32K3_PLATFORM="NXP_S32K3xx_S32K344"&lt;/P&gt;&lt;P&gt;C:\Users\EduardoVila\Repos\asdf\asdf_ert_rtw&amp;gt;set SERVER_PORT=7224&lt;/P&gt;&lt;P&gt;C:\Users\EduardoVila\Repos\asdf\asdf_ert_rtw&amp;gt;set MI_PORT=6224&lt;/P&gt;&lt;P&gt;C:\Users\EduardoVila\Repos\asdf\asdf_ert_rtw&amp;gt;set SPEED=5000&lt;/P&gt;&lt;P&gt;C:\Users\EduardoVila\Repos\asdf\asdf_ert_rtw&amp;gt;title "mbd_s32k3_pegdbserver_window_title"&lt;/P&gt;&lt;P&gt;C:\Users\EduardoVila\Repos\asdf\asdf_ert_rtw&amp;gt;"C:\Users\EduardoVila\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.alpha_5.4.7.202301252033\win32\pegdbserver_console.exe" -device="NXP_S32K3xx_S32K344" -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=5000 -port=USB1&lt;/P&gt;&lt;P&gt;P&amp;amp;E GDB Server for Arm(R) devices, Version 9.01.00.00&lt;BR /&gt;Copyright 2018, P&amp;amp;E Microcomputer Systems Inc, All rights reserved&lt;/P&gt;&lt;P&gt;Loading library C:\Users\EduardoVila\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.alpha_5.4.7.202301252033\win32\gdi\unit_ngs_arm_internal.dll ... Done.&lt;/P&gt;&lt;P&gt;Command line arguments: -device=NXP_S32K3xx_S32K344 -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=5000 -port=USB1&lt;BR /&gt;Device selected is NXP_S32K3xx_S32K344&lt;BR /&gt;User Specified Hardware Selection : Interface=USBMULTILINK and Port=USB1&lt;BR /&gt;Connecting to target.&lt;BR /&gt;Unable to load libusb0.dll&lt;BR /&gt;PEmicro Interface detected - Flash Version 10.98&lt;/P&gt;&lt;P&gt;Starting reset script (C:\Users\EduardoVila\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.alpha_5.4.7.202301252033\win32\gdi\P&amp;amp;E\supportFiles_ARM\NXP\S32K3xx\S32K344.mac) ...o&lt;BR /&gt;REM Enable clocks for selected cores in MC_ME module (the sequence below enables all clocks).&lt;BR /&gt;REM Initialize RAM and DMA:&lt;BR /&gt;REM Initialize DMA TCD:&lt;BR /&gt;REM Copy valid executable code to RAM for each core to be used.&lt;BR /&gt;REM Enable required cores in MC_ME:&lt;BR /&gt;Delaying for 20mS ...&lt;BR /&gt;Done.&lt;/P&gt;&lt;P&gt;Reset script (C:\Users\EduardoVila\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.alpha_5.4.7.202301252033\win32\gdi\P&amp;amp;E\supportFiles_ARM\NXP\S32K3xx\S32K344.mac) completed.&lt;/P&gt;&lt;P&gt;Device is NXP_S32K3xx_S32K344.&lt;BR /&gt;Mode is In-Circuit Debug.&lt;/P&gt;&lt;P&gt;(C)opyright 2012, P&amp;amp;E Microcomputer Systems, Inc. (&lt;A href="http://www.pemicro.com" target="_blank"&gt;www.pemicro.com&lt;/A&gt;)&lt;BR /&gt;API version is 101&lt;/P&gt;&lt;P&gt;TARGET XML PATH is C:\Users\EduardoVila\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.alpha_5.4.7.202301252033\win32\gdi\P&amp;amp;E\supportFiles_ARM\target_v7m_vfp.xml&lt;BR /&gt;Server 1 running on 127.0.0.1:7224&lt;BR /&gt;Server 2 running on 127.0.0.1:7226&lt;BR /&gt;Server 3 running on 127.0.0.1:7228&lt;BR /&gt;Server 4 running on 127.0.0.1:7230&lt;BR /&gt;Server 5 running on 127.0.0.1:7232&lt;BR /&gt;Server 6 running on 127.0.0.1:7234&lt;BR /&gt;Server 7 running on 127.0.0.1:7236&lt;BR /&gt;Server 8 running on 127.0.0.1:7238&lt;BR /&gt;Server 9 running on 127.0.0.1:7240&lt;BR /&gt;Server 10 running on 127.0.0.1:7242&lt;BR /&gt;Server 11 running on 127.0.0.1:6224&lt;BR /&gt;All Servers Running&lt;BR /&gt;Connection from "127.0.0.1" via 127.0.0.1. Connection from port "56192" to 7224&lt;BR /&gt;Searching for Kernel Symbols...&lt;BR /&gt;rsp_qC - qSymbol: 5F74785F7468726561645F63757272656E745F707472&lt;BR /&gt;_tx_thread_current_ptr not found. ThreadX analysis not enabled.&lt;BR /&gt;rsp_qC - qSymbol: 707843757272656E74544342&lt;BR /&gt;pxCurrentTCB not found. FreeRTOS analysis not enabled.&lt;BR /&gt;Unable to load libusb0.dll&lt;BR /&gt;Copyright 2023 P&amp;amp;E Microcomputer Systems,Inc.&lt;BR /&gt;Command Line :"C:\Users\EduardoVila\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.alpha_5.4.7.202301252033\win32\pegdbserver_console.exe" -device="NXP_S32K3xx_S32K344" -star?&lt;BR /&gt;PEmicro Interface detected - Flash Version 10.98&lt;/P&gt;&lt;P&gt;CMD&amp;gt;RE&lt;/P&gt;&lt;P&gt;Initializing.&lt;BR /&gt;Target has been RESET and is active.&lt;BR /&gt;CMD&amp;gt;CM C:\Users\EduardoVila\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.alpha_5.4.7.202301252033\win32\gdi\P&amp;amp;E\supportFiles_ARM\NXP\S32K3xx\nxp_s32k344_1x32x1012k_hse_disab&lt;/P&gt;&lt;P&gt;.ARP file does not exist.&lt;BR /&gt;Error loading programming algorithm - load aborted.&lt;BR /&gt;Error occured during Flash programming.&lt;/P&gt;&lt;P&gt;Starting reset script (C:\Users\EduardoVila\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.alpha_5.4.7.202301252033\win32\gdi\P&amp;amp;E\supportFiles_ARM\NXP\S32K3xx\S32K344.mac) ...o&lt;BR /&gt;REM Enable clocks for selected cores in MC_ME module (the sequence below enables all clocks).&lt;BR /&gt;REM Initialize RAM and DMA:&lt;BR /&gt;REM Initialize DMA TCD:&lt;BR /&gt;REM Copy valid executable code to RAM for each core to be used.&lt;BR /&gt;REM Enable required cores in MC_ME:&lt;BR /&gt;Delaying for 20mS ...&lt;BR /&gt;Done.&lt;/P&gt;&lt;P&gt;Reset script (C:\Users\EduardoVila\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.alpha_5.4.7.202301252033\win32\gdi\P&amp;amp;E\supportFiles_ARM\NXP\S32K3xx\S32K344.mac) completed.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PEmicro GDB Launch Failure : Error during flash programming. Terminating debug session.&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;And I also get a log from Simulink saying:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;C:\Users\EduardoVila\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\gdb-arm\arm32-eabi\bin\arm-none-eabi-gdb.exe: warning: Couldn't determine a path for the index cache directory.&lt;BR /&gt;GNU gdb (GDB build.sh rev=g0219b1f s=F930 Earmv7nGDB (BLD = 1701)) 9.2&lt;BR /&gt;Copyright (C) 2020 Free Software Foundation, Inc.&lt;BR /&gt;License GPLv3+: GNU GPL version 3 or later &amp;lt;&lt;A href="http://gnu.org/licenses/gpl.html" target="_blank"&gt;http://gnu.org/licenses/gpl.html&lt;/A&gt;&amp;gt;&lt;BR /&gt;This is free software: you are free to change and redistribute it.&lt;BR /&gt;There is NO WARRANTY, to the extent permitted by law.&lt;BR /&gt;Type "show copying" and "show warranty" for details.&lt;BR /&gt;This GDB was configured as "--host=i686-w64-mingw32 --target=arm-none-eabi".&lt;BR /&gt;Type "show configuration" for configuration details.&lt;BR /&gt;For bug reporting instructions, please see:&lt;BR /&gt;&amp;lt;&lt;A href="http://www.gnu.org/software/gdb/bugs/" target="_blank"&gt;http://www.gnu.org/software/gdb/bugs/&lt;/A&gt;&amp;gt;.&lt;BR /&gt;Find the GDB manual and other documentation resources online at:&lt;BR /&gt;&amp;lt;&lt;A href="http://www.gnu.org/software/gdb/documentation/" target="_blank"&gt;http://www.gnu.org/software/gdb/documentation/&lt;/A&gt;&amp;gt;.&lt;/P&gt;&lt;P&gt;For help, type "help".&lt;BR /&gt;Type "apropos word" to search for commands related to "word"...&lt;BR /&gt;Reading symbols from C:/Users/EduardoVila/Repos/asdf/asdf.elf...&lt;BR /&gt;Remote debugging using tcp:localhost:7224&lt;BR /&gt;0x00402420 in Adc_Calibrate (Unit=&amp;lt;optimized out&amp;gt;, pStatus=0x0)&lt;BR /&gt;at C:/Users/EduardoVila/Repos/asdf/asdf_Config/RTD/src/Adc.c:4463&lt;BR /&gt;4463 if ((Std_ReturnType)E_OK == Adc_ValidateCallAndUnit(ADC_CALIBRATE_ID, Unit, CoreId))&lt;BR /&gt;Loading section .pflash, size 0x23508 lma 0x400000&lt;BR /&gt;Loading section .ARM.exidx, size 0x8 lma 0x423508&lt;BR /&gt;Loading section .sram_data, size 0x180 lma 0x423510&lt;BR /&gt;Loading section .non_cacheable_data, size 0x10 lma 0x423690&lt;BR /&gt;Remote communication error. Target disconnected.: Not a directory.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2025 09:49:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Unable-to-flash-S32K3X4EVB-T172-using-MBDT/m-p/2196555#M10505</guid>
      <dc:creator>eduardovila</dc:creator>
      <dc:date>2025-10-31T09:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to flash S32K3X4EVB-T172 using MBDT</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Unable-to-flash-S32K3X4EVB-T172-using-MBDT/m-p/2247253#M10531</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/255800"&gt;@eduardovila&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check the latest &lt;STRONG&gt;MBDT 1.7.0 release&lt;/STRONG&gt;, as the &lt;STRONG&gt;S32K3X4EVB-T172 board was not validated on version 1.4.0&lt;/STRONG&gt;, which might explain the download issue you are seeing. The newer release includes important fixes and extended support for S32K3 devices.&lt;/P&gt;
&lt;P&gt;Also, review the NXP Community thread (&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3X4EVB-T172-with-MBD/m-p/1639221#M8177" target="_blank" rel="noopener"&gt;link&lt;/A&gt;) in case you encounter&amp;nbsp;&lt;STRONG&gt;reset-related issues&lt;/STRONG&gt; similar to those discussed there. Some users reported that incorrect reset handling during flashing, and I suggested some workarounds there.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Victor&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 11:27:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Unable-to-flash-S32K3X4EVB-T172-using-MBDT/m-p/2247253#M10531</guid>
      <dc:creator>georgevictor</dc:creator>
      <dc:date>2025-11-24T11:27:50Z</dc:date>
    </item>
  </channel>
</rss>

