<?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 S32K311 met failed to execute MI command problem in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K311-met-failed-to-execute-MI-command-problem/m-p/1945867#M40468</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I've transferred my project from s32k312 to s32k311, but the same progrom may met&amp;nbsp;failed to execute MI command problem in the new project.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jhuang1_0-1725335063355.bmp" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296730iFE05DCEAE87D8E98/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jhuang1_0-1725335063355.bmp" alt="jhuang1_0-1725335063355.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The UartReceive() function can not be executed when be placed at the main() function, and its code memory showed error command. At this time the breakpoint can not be placed at the&amp;nbsp;UartReceive() function too.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jhuang1_1-1725335229508.bmp" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296731i350CCC1FCD73DBBD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jhuang1_1-1725335229508.bmp" alt="jhuang1_1-1725335229508.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;But when i change the&amp;nbsp;UartReceive() function to another place, it can be executed and can be break.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jhuang1_3-1725335328691.bmp" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296734i7D1BB6D416C9D5B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jhuang1_3-1725335328691.bmp" alt="jhuang1_3-1725335328691.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I tried two method to solve the problem but were both faied.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; First, I change the emulator from jlink to PE;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Second, I burn the program bin file to flash via jlink, power up the board without emulator.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Are there anyone met the same problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Sep 2024 03:53:45 GMT</pubDate>
    <dc:creator>jhuang1</dc:creator>
    <dc:date>2024-09-03T03:53:45Z</dc:date>
    <item>
      <title>S32K311 met failed to execute MI command problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-met-failed-to-execute-MI-command-problem/m-p/1945867#M40468</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I've transferred my project from s32k312 to s32k311, but the same progrom may met&amp;nbsp;failed to execute MI command problem in the new project.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jhuang1_0-1725335063355.bmp" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296730iFE05DCEAE87D8E98/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jhuang1_0-1725335063355.bmp" alt="jhuang1_0-1725335063355.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The UartReceive() function can not be executed when be placed at the main() function, and its code memory showed error command. At this time the breakpoint can not be placed at the&amp;nbsp;UartReceive() function too.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jhuang1_1-1725335229508.bmp" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296731i350CCC1FCD73DBBD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jhuang1_1-1725335229508.bmp" alt="jhuang1_1-1725335229508.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;But when i change the&amp;nbsp;UartReceive() function to another place, it can be executed and can be break.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jhuang1_3-1725335328691.bmp" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296734i7D1BB6D416C9D5B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jhuang1_3-1725335328691.bmp" alt="jhuang1_3-1725335328691.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I tried two method to solve the problem but were both faied.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; First, I change the emulator from jlink to PE;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Second, I burn the program bin file to flash via jlink, power up the board without emulator.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Are there anyone met the same problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 03:53:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-met-failed-to-execute-MI-command-problem/m-p/1945867#M40468</guid>
      <dc:creator>jhuang1</dc:creator>
      <dc:date>2024-09-03T03:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: S32K311 met failed to execute MI command problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-met-failed-to-execute-MI-command-problem/m-p/1947598#M40575</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217679"&gt;@jhuang1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;When you transferred the project, have you created a new one with the S32K311 device selected? Please share the project if possible.&lt;/P&gt;
&lt;P&gt;Could you also share where are you moving the function in the main code? Could it be an issue with moving the function before initialization or configuration for the DMA or the UART module?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 23:08:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-met-failed-to-execute-MI-command-problem/m-p/1947598#M40575</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-09-04T23:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: S32K311 met failed to execute MI command problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-met-failed-to-execute-MI-command-problem/m-p/1948677#M40621</link>
      <description>&lt;P&gt;The project was created with s32k311 selected, RTD300.&lt;/P&gt;&lt;P&gt;I think i find the problem, it seems the functions whitch may execute abnormally all include some string functions, such as memmove(), memcpy(). I rewrote these functions, then all the functions can be executed.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 03:36:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-met-failed-to-execute-MI-command-problem/m-p/1948677#M40621</guid>
      <dc:creator>jhuang1</dc:creator>
      <dc:date>2024-09-06T03:36:35Z</dc:date>
    </item>
  </channel>
</rss>

