<?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>i.MX ProcessorsのトピックIssue: Application Stuck When Running TFLite Model on NPU (A55) While M33 Core is Executing .ELF Bin</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Issue-Application-Stuck-When-Running-TFLite-Model-on-NPU-A55/m-p/2082671#M236462</link>
    <description>&lt;P class=""&gt;I'm currently working on a system where:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Cortex-M33 core&lt;/STRONG&gt; is running a "hello_world.elf" binary.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Cortex-A55 core&lt;/STRONG&gt; is responsible for running a TensorFlow Lite model using the NPU.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;The problem I’m facing is that &lt;STRONG&gt;when the M33 core starts executing the "hello_world.elf" &lt;/STRONG&gt;, the &lt;STRONG&gt;TFLite model on the A55 side gets stuck&lt;/STRONG&gt; - the model not loaded , and inference stucks to execute.&lt;BR /&gt;&lt;BR /&gt;Any suggestions or debugging tips would be greatly, Please give the reason behind it.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Apr 2025 15:20:19 GMT</pubDate>
    <dc:creator>jagadesh</dc:creator>
    <dc:date>2025-04-17T15:20:19Z</dc:date>
    <item>
      <title>Issue: Application Stuck When Running TFLite Model on NPU (A55) While M33 Core is Executing .ELF Bin</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-Application-Stuck-When-Running-TFLite-Model-on-NPU-A55/m-p/2082671#M236462</link>
      <description>&lt;P class=""&gt;I'm currently working on a system where:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Cortex-M33 core&lt;/STRONG&gt; is running a "hello_world.elf" binary.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Cortex-A55 core&lt;/STRONG&gt; is responsible for running a TensorFlow Lite model using the NPU.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;The problem I’m facing is that &lt;STRONG&gt;when the M33 core starts executing the "hello_world.elf" &lt;/STRONG&gt;, the &lt;STRONG&gt;TFLite model on the A55 side gets stuck&lt;/STRONG&gt; - the model not loaded , and inference stucks to execute.&lt;BR /&gt;&lt;BR /&gt;Any suggestions or debugging tips would be greatly, Please give the reason behind it.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 15:20:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-Application-Stuck-When-Running-TFLite-Model-on-NPU-A55/m-p/2082671#M236462</guid>
      <dc:creator>jagadesh</dc:creator>
      <dc:date>2025-04-17T15:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Issue: Application Stuck When Running TFLite Model on NPU (A55) While M33 Core is Executing .ELF</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-Application-Stuck-When-Running-TFLite-Model-on-NPU-A55/m-p/2082690#M236465</link>
      <description>&lt;P&gt;&lt;SPAN&gt;root@ccimx93-dvk:~#&amp;nbsp;cat /sys/class/remoteproc/remoteproc0/firmware&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ethosu_firmware&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;root@ccimx93-dvk:~# [Apr17 15:35] imx-rproc remoteproc-cm33: can't change firmware while running[Apr17 15:35] imx-rproc remoteproc-cm33: can't change firmware while running&lt;BR /&gt;&lt;BR /&gt;Please add suggestions.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 15:47:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-Application-Stuck-When-Running-TFLite-Model-on-NPU-A55/m-p/2082690#M236465</guid>
      <dc:creator>jagadesh</dc:creator>
      <dc:date>2025-04-17T15:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issue: Application Stuck When Running TFLite Model on NPU (A55) While M33 Core is Executing .ELF</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-Application-Stuck-When-Running-TFLite-Model-on-NPU-A55/m-p/2082754#M236467</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249018"&gt;@jagadesh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing very well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This behavior is expected. As you can see on the&amp;nbsp;&lt;A href="https://github.com/nxp-imx/linux-imx/blob/37d02f4dcbbe6677dc9f5fc17f386c05d6a7bd7a/drivers/staging/ethosu/ethosu_device.c#L227" target="_self"&gt;ethosu_device.c&lt;/A&gt; driver, the rproc is loading the&amp;nbsp;ETHOSU_FIRMWARE firmware to the Cortex M33.&lt;/P&gt;
&lt;P&gt;Why?&lt;/P&gt;
&lt;P&gt;This can be confirmed on the&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX-MACHINE-LEARNING-UG.pdf" target="_self"&gt;i.MX Machine Learning User's Guide&lt;/A&gt;, in figure 2:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Manuel_Salas_0-1744917787456.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/333735iAB65E4D1AB9221E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Manuel_Salas_0-1744917787456.png" alt="Manuel_Salas_0-1744917787456.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Ethos-U runs in the Cortex M33 of i.MX93.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Manuel_Salas_1-1744917846396.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/333736iC2F9BFFA5E9104EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Manuel_Salas_1-1744917846396.png" alt="Manuel_Salas_1-1744917846396.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is the reason why you are having that issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this can helps to you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 19:24:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-Application-Stuck-When-Running-TFLite-Model-on-NPU-A55/m-p/2082754#M236467</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2025-04-17T19:24:47Z</dc:date>
    </item>
  </channel>
</rss>

