<?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: S32K144 EVB problem with flashing programs in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-EVB-problem-with-flashing-programs/m-p/1031237#M4210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me if I understand OpenSDA correctly? When I'm uploading a program to the board via the USB port, the compiled file is copied to the MSD folder of OpenSDA, which then flash the program to the s32k. What lines does OpenSDA uses to program the s32k? Is it the SWD_DIO and CLK lines or UART, or the SPI lies?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Mar 2020 21:26:14 GMT</pubDate>
    <dc:creator>raywu</dc:creator>
    <dc:date>2020-03-16T21:26:14Z</dc:date>
    <item>
      <title>S32K144 EVB problem with flashing programs</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-EVB-problem-with-flashing-programs/m-p/1031234#M4207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having trouble flashing anything to the EVB currently. When I drag the compiled .mot file to the mass storage device folder the LED next to the OpenSDA MCU blinks 8 times, stop for a second but then just keeps on repeating and never stops. Previously it would stop blinking to signify the program is done downloading.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Mar 2020 23:49:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-EVB-problem-with-flashing-programs/m-p/1031234#M4207</guid>
      <dc:creator>raywu</dc:creator>
      <dc:date>2020-03-14T23:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 EVB problem with flashing programs</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-EVB-problem-with-flashing-programs/m-p/1031235#M4208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried different USB ports, flashing from Simulink, both give the same result. Even a simple program like blinking the RGB LED can't be downloaded to the board&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Mar 2020 23:52:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-EVB-problem-with-flashing-programs/m-p/1031235#M4208</guid>
      <dc:creator>raywu</dc:creator>
      <dc:date>2020-03-14T23:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 EVB problem with flashing programs</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-EVB-problem-with-flashing-programs/m-p/1031236#M4209</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/raywu@wayne.edu"&gt;raywu@wayne.edu&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you will find useful this thread&amp;nbsp;&lt;A href="https://community.nxp.com/thread/507223"&gt;https://community.nxp.com/thread/507223&lt;/A&gt;&amp;nbsp;&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, 16 Mar 2020 08:29:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-EVB-problem-with-flashing-programs/m-p/1031236#M4209</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2020-03-16T08:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 EVB problem with flashing programs</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-EVB-problem-with-flashing-programs/m-p/1031237#M4210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me if I understand OpenSDA correctly? When I'm uploading a program to the board via the USB port, the compiled file is copied to the MSD folder of OpenSDA, which then flash the program to the s32k. What lines does OpenSDA uses to program the s32k? Is it the SWD_DIO and CLK lines or UART, or the SPI lies?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2020 21:26:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-EVB-problem-with-flashing-programs/m-p/1031237#M4210</guid>
      <dc:creator>raywu</dc:creator>
      <dc:date>2020-03-16T21:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 EVB problem with flashing programs</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-EVB-problem-with-flashing-programs/m-p/1031238#M4211</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/raywu@wayne.edu"&gt;raywu@wayne.edu&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;When I'm uploading a program to the board via the USB port, the compiled file is copied to the MSD folder of OpenSDA, which then flash the program to the s32k.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That's right. Once the program has been copied on the OpenSDA drive it will then program the board via SWD (DIO and CLK).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, blinking 8th times, this means an error according to the document that I posted in the previous discussion (&lt;A href="https://community.nxp.com/thread/507223"&gt;Simulink Freezes With Build Command&lt;/A&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;If I were in this situation I would probably trying something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;1. Make sure that the controller is powered up, all the jumpers are in their right place.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;2. Flash&amp;nbsp;the mot or an s32SDK example using S32DS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;3. If 2&amp;nbsp;is successfully, then try the indication from&amp;nbsp;here&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-340263"&gt;HOWTO: Update OpenSDA Firmware on EVB&lt;/A&gt;&amp;nbsp;, basically updating the OpenSDA firmware.&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>Tue, 17 Mar 2020 07:28:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-EVB-problem-with-flashing-programs/m-p/1031238#M4211</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2020-03-17T07:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 EVB problem with flashing programs</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-EVB-problem-with-flashing-programs/m-p/1031239#M4212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok I think I see the problem now. I assigned PTA4 as input, which is also SWD_DIO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried flashing from S32 design studio but I'm getting a connection error. &lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/97353i23E1F7145AEC1E07/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found someone that did something similar but on a Freedom board. &lt;A class="link-titled" href="https://mcuoneclipse.com/2013/06/16/bricking-and-recovering-frdm-kl25z-boards-reset-swd-clock-and-low-power/" title="https://mcuoneclipse.com/2013/06/16/bricking-and-recovering-frdm-kl25z-boards-reset-swd-clock-and-low-power/"&gt;Bricking and Recovering FRDM-KL25Z Boards: Reset, SWD Clock and Low Power | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the recovery utility he linked, but looks like an external programmer is needed. I was unable to interrupt the S32K over OpenSDA. Do you see any other way to interrupt the S32K?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For future reference should PTA4 and PTC4 on the EVB be avoided? I'm also seeing some tutorial about pin muxing in S32 design studio. Is there a block to set that up in Simulink?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2020 19:17:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-EVB-problem-with-flashing-programs/m-p/1031239#M4212</guid>
      <dc:creator>raywu</dc:creator>
      <dc:date>2020-03-17T19:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 EVB problem with flashing programs</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-EVB-problem-with-flashing-programs/m-p/1031240#M4213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/raywu@wayne.edu"&gt;raywu@wayne.edu&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We don't have a block that is only used for pin muxing, like S32 Design Studio has the Pins tool from Processor Expert or S32 Configuration Tool. When you are using a peripheral's configuration block, you just select the pin(s) you want to use and the routing is automatically done by our toolbox, for those pins. For example, when you put the GPI block and select PTA4, our toolbox generates code that configures PTA4 pin to be used as an input and changes the mux to a general purpose input, so it is no longer used for SWD_DIO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this clarifies things a bit.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2020 07:51:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-EVB-problem-with-flashing-programs/m-p/1031240#M4213</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2020-03-18T07:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 EVB problem with flashing programs</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-EVB-problem-with-flashing-programs/m-p/1031241#M4214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, so to clarify, PTA4 and PTC4 on the EVB be avoided if I'm planning on using OpenSDA?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2020 13:45:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-EVB-problem-with-flashing-programs/m-p/1031241#M4214</guid>
      <dc:creator>raywu</dc:creator>
      <dc:date>2020-03-18T13:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 EVB problem with flashing programs</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-EVB-problem-with-flashing-programs/m-p/1031242#M4215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/raywu@wayne.edu"&gt;raywu@wayne.edu&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, that would be correct. What do you want to use those pins for? We can help you out re-routing if you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2020 08:07:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-EVB-problem-with-flashing-programs/m-p/1031242#M4215</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2020-03-23T08:07:53Z</dc:date>
    </item>
  </channel>
</rss>

