<?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: MBDT toolbox for generating and flashing an example code to S32K12 using J-link. in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-toolbox-for-generating-and-flashing-an-example-code-to/m-p/2321188#M10649</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199423"&gt;@dragostoma&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you for your support.&lt;BR /&gt;&lt;BR /&gt;I am trying to run freeMaster but getting few errors.&lt;BR /&gt;&lt;BR /&gt;S32K312 board is connect to PC via segger J-link.&lt;BR /&gt;&lt;BR /&gt;Initially when I open **.pmpx file with freeMaster and click on GO, I got this error (image Error_FM.jpj)&lt;BR /&gt;&lt;BR /&gt;I tried to configure few things on the tool but still did not succeed to.( image freeMAster_snip.jpj) with baudrate 11520.&lt;BR /&gt;&lt;BR /&gt;can you please provide me any detailed reference for freeMaster tool configuration using Segger-Jlink.&lt;BR /&gt;&lt;BR /&gt;Also, can you please provide me some detailed reference examples which use potentiometer and ADC ports?&lt;BR /&gt;&lt;BR /&gt;&lt;LI-PRODUCT title="FREEMASTER" id="FREEMASTER"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;LI-PRODUCT title="MBDT" id="MBDT"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;#S32k312&lt;BR /&gt;&lt;BR /&gt;Thank you&amp;nbsp;&lt;BR /&gt;Jyoti C&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Feb 2026 09:31:34 GMT</pubDate>
    <dc:creator>jyoti_c</dc:creator>
    <dc:date>2026-02-23T09:31:34Z</dc:date>
    <item>
      <title>MBDT toolbox for generating and flashing an example code to S32K12 using J-link.</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-toolbox-for-generating-and-flashing-an-example-code-to/m-p/2316817#M10636</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Am trying to build and flash the example provided by MBDT for NXP toolbox on to S32K312 board using Jlink.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am providing path to Jlink executables as below in the image.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jyoti_c_0-1770715820371.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/376337iCA10853B429D1C96/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jyoti_c_0-1770715820371.png" alt="jyoti_c_0-1770715820371.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But once I try to build and deploy the example on to the board, the Execution is getting stuck at&amp;nbsp;&lt;BR /&gt;this line(from log),&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\Users\sel.mechanical.lab1\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3\S32K3_Examples\pwm\s32k312_pwm_lcu_mod_carrier_s32ct\s32k312_pwm_lcu_mod_carrier_s32ct_ert_rtw&amp;gt;if "~""" == "" ("C:\NXP\S32DS.3.5\Drivers\Segger\JLinkGDBServerCL.exe" -if SWD -speed auto -commanderscript "C:\Users\sel.mechanical.lab1\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3\S32K3_Examples\pwm\s32k312_pwm_lcu_mod_carrier_s32ct\script.jlink" -device S32K312 1&amp;gt;"C:\Users\sel.mechanical.lab1\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3\S32K3_Examples\pwm\s32k312_pwm_lcu_mod_carrier_s32ct\program_board.log" ) else ("C:\NXP\S32DS.3.5\Drivers\Segger\JLinkGDBServerCL.exe" -if SWD -speed auto -jlinkscriptfile "" -commanderscript "C:\Users\sel.mechanical.lab1\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3\S32K3_Examples\pwm\s32k312_pwm_lcu_mod_carrier_s32ct\script.jlink" -device S32K312 1&amp;gt;"C:\Users\sel.mechanical.lab1\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3\S32K3_Examples\pwm\s32k312_pwm_lcu_mod_carrier_s32ct\program_board.log" )&lt;/P&gt;&lt;P&gt;seems like it is waiting for connection continuously.&lt;BR /&gt;&lt;BR /&gt;However, It works when I directly flash (i.e., from S32 Design Studio 3.5)&lt;BR /&gt;&lt;BR /&gt;can you please help me to know what am missing and help to fix this issue.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;LI-PRODUCT title="MBDT" id="MBDT"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;LI-PRODUCT title="S32K312EVB-Q172" id="S32K312EVB-Q172"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp; &amp;nbsp;#JLINK&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 04:56:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-toolbox-for-generating-and-flashing-an-example-code-to/m-p/2316817#M10636</guid>
      <dc:creator>jyoti_c</dc:creator>
      <dc:date>2026-02-12T04:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: MBDT toolbox for generating and flashing an example code to S32K12 using J-link.</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-toolbox-for-generating-and-flashing-an-example-code-to/m-p/2316926#M10638</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/259746"&gt;@jyoti_c&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your interest into Model-Based Design Toolbox for S32K3.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Based on the screenshot you provided, the J-Link location appears to be incorrectly configured. This is the primary cause of the error you are encountering.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To successfully deploy using the J-Link interface, the correct &lt;STRONG&gt;JLink.exe&lt;/STRONG&gt; location must be specified.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For additional guidance, please refer to the following article, which demonstrates the deployment process using a J-Link device:&lt;/SPAN&gt; &lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Interacting-with-Digital-Inputs-Outputs-on-MR-CANHUBK344/ta-p/1746789" target="_blank"&gt;Interacting with Digital Inputs/Outputs on MR-CANHUBK344&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dragos&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 09:01:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-toolbox-for-generating-and-flashing-an-example-code-to/m-p/2316926#M10638</guid>
      <dc:creator>dragostoma</dc:creator>
      <dc:date>2026-02-12T09:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: MBDT toolbox for generating and flashing an example code to S32K12 using J-link.</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-toolbox-for-generating-and-flashing-an-example-code-to/m-p/2321188#M10649</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199423"&gt;@dragostoma&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you for your support.&lt;BR /&gt;&lt;BR /&gt;I am trying to run freeMaster but getting few errors.&lt;BR /&gt;&lt;BR /&gt;S32K312 board is connect to PC via segger J-link.&lt;BR /&gt;&lt;BR /&gt;Initially when I open **.pmpx file with freeMaster and click on GO, I got this error (image Error_FM.jpj)&lt;BR /&gt;&lt;BR /&gt;I tried to configure few things on the tool but still did not succeed to.( image freeMAster_snip.jpj) with baudrate 11520.&lt;BR /&gt;&lt;BR /&gt;can you please provide me any detailed reference for freeMaster tool configuration using Segger-Jlink.&lt;BR /&gt;&lt;BR /&gt;Also, can you please provide me some detailed reference examples which use potentiometer and ADC ports?&lt;BR /&gt;&lt;BR /&gt;&lt;LI-PRODUCT title="FREEMASTER" id="FREEMASTER"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;LI-PRODUCT title="MBDT" id="MBDT"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;#S32k312&lt;BR /&gt;&lt;BR /&gt;Thank you&amp;nbsp;&lt;BR /&gt;Jyoti C&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2026 09:31:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-toolbox-for-generating-and-flashing-an-example-code-to/m-p/2321188#M10649</guid>
      <dc:creator>jyoti_c</dc:creator>
      <dc:date>2026-02-23T09:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: MBDT toolbox for generating and flashing an example code to S32K12 using J-link.</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-toolbox-for-generating-and-flashing-an-example-code-to/m-p/2321228#M10650</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/259746"&gt;@jyoti_c&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;To ensure the &lt;STRONG&gt;J-Link&lt;/STRONG&gt; interface is configured correctly in FreeMASTER, please refer to the following documentation:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; Click on &lt;STRONG&gt;Tools&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;Connection Wizard&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 257px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/377528iF64A14801026DE96/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2.&amp;nbsp;&lt;/STRONG&gt;Click &lt;STRONG&gt;Next&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 499px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/377535i6C84EDC74B3855C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3.&lt;/STRONG&gt; Select&amp;nbsp;&lt;STRONG&gt;Connect through a debugger probe or on-board debugger interface&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 501px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/377536i21DB73E8ECD68853/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;4. &lt;/STRONG&gt;Select&amp;nbsp;&lt;STRONG&gt;J-Link or J-Trace interface from Segger Microcontroller (Also supports RTT)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 501px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/377537i7E82893E158FF848/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;5.&amp;nbsp;&lt;/STRONG&gt;Select&amp;nbsp;&lt;STRONG&gt;Direct access to target microcontroller memory&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 496px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/377538i03B638737E66CABC/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;6.&amp;nbsp;&lt;/STRONG&gt;Click on&amp;nbsp;&lt;STRONG&gt;Read more&amp;nbsp;&lt;/STRONG&gt;link in order to access the guide on how to set up the connection using J-Link&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 495px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/377540i8E756806B08355FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/377539iABF7B3781E088BDE/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;7.&lt;/STRONG&gt; Press&amp;nbsp;&lt;STRONG&gt;Plug-in Configuration&amp;nbsp;&lt;/STRONG&gt;in order to apply the instructions from the above guide&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;8.&amp;nbsp;&lt;/STRONG&gt;Once the configuration is completed and the connection test passes successfully, you can establish a connection to the target board via J-Link.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For detailed examples showcasing the potentiometers and ADC ports, you can refer to the following model examples from &lt;STRONG&gt;adc&lt;/STRONG&gt; folder:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;s32k3xx_adc_ctu_ebt&lt;/LI&gt;
&lt;LI&gt;s32k3xx_adc_single_read_s32ct&lt;/LI&gt;
&lt;LI&gt;s32k3xx_adc_stream_read_ebt&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dragos&lt;/P&gt;
&lt;DIV id="tinyMceEditordragostoma_3" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2026 10:30:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-toolbox-for-generating-and-flashing-an-example-code-to/m-p/2321228#M10650</guid>
      <dc:creator>dragostoma</dc:creator>
      <dc:date>2026-02-23T10:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: MBDT toolbox for generating and flashing an example code to S32K12 using J-link.</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-toolbox-for-generating-and-flashing-an-example-code-to/m-p/2321813#M10651</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199423"&gt;@dragostoma&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I tried with the above steps, but I still face with following issue :&lt;BR /&gt;&lt;BR /&gt;1. After making all the configuration , when I click on GO, I get a pop up saying device name is "Unspecified". (image On_Go.jpj )&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="On_Go.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/377649i5D2AD98E6E63EE7E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="On_Go.jpg" alt="On_Go.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;2. After that , I get an option to select the target. And I select my board i.e. S32K312. (image SelTarget.jpj ) &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SelTarget.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/377650iB97E61C4C507E358/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SelTarget.jpg" alt="SelTarget.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3. After that the TestConnection runs proper and I get the connected pop up (image&lt;SPAN&gt;&amp;nbsp;FM_Config.jpg ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FM_Config.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/377651i6B18E16472B8293C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FM_Config.jpg" alt="FM_Config.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;4. But , once the connection is done, the varible value is getting stuck at whereever it was running. (like if red LED was blinking, it stops at RED. ) ( image StoppingAtLastValue.jpj)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StoppingAtlastValue.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/377652i0A58C0418C8D3808/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StoppingAtlastValue.jpg" alt="StoppingAtlastValue.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;can you help me to know whats the mistake ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Also, I see my configuration is asking for Jlink Script path, but I dont see it in the configuration GUI thats mentioned in Readmore doc. (image JlinkScriptPath.jpj) &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JlinkScriptPath.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/377653i1099CC6291C224DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JlinkScriptPath.jpg" alt="JlinkScriptPath.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2026 08:56:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-toolbox-for-generating-and-flashing-an-example-code-to/m-p/2321813#M10651</guid>
      <dc:creator>jyoti_c</dc:creator>
      <dc:date>2026-02-24T08:56:08Z</dc:date>
    </item>
  </channel>
</rss>

