<?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 RT Crossover MCUsのトピックRe: Tensorflow Lite Micro on RT 600 DSP</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Tensorflow-Lite-Micro-on-RT-600-DSP/m-p/1038909#M7502</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="362481" data-username="rt600user" href="https://community.nxp.com/people/rt600user" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Abe Mbise&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and &lt;BR /&gt;for the opportunity to serve you.&lt;BR /&gt;Before answering your question, I need to know what board you used.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jul 2020 10:54:26 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2020-07-30T10:54:26Z</dc:date>
    <item>
      <title>Tensorflow Lite Micro on RT 600 DSP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Tensorflow-Lite-Micro-on-RT-600-DSP/m-p/1038908#M7501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similar to&amp;nbsp;&lt;A href="https://community.nxp.com/thread/537595" rel="nofollow noopener noreferrer" target="_blank"&gt;TFLite for Microcontrollers on RT686&lt;/A&gt;, I'm trying to&amp;nbsp;run&amp;nbsp;tflite micro examples on an RT600 board which I've built for the Xtensa HiFi 4 on the board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case it helps someone else, the procedure for building seems relatively straightforward, assuming MCUXpresso and Xtensa tools are setup correctly:&lt;/P&gt;&lt;PRE style="padding-left: 30px;"&gt;# DSP toolchain
export XTENSA_CORE=nxp_rt600_RI2019_newlib
export XTENSA_SYSTEM=/opt/xtensa/XtDevTools/install/builds/RI-2019.1-linux/$XTENSA_CORE/config
export XTENSA_TOOLS_ROOT=/opt/xtensa/XtDevTools/install/tools/RI-2019.1-linux/XtensaTools

# MCU toolchain
export MCUXPRESSO_TOOLCHAIN=/usr/local/mcuxpressoide-11.1.1_3241/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.1.0.202001081728/tools

# Export paths
PATH=$MCUXPRESSO_TOOLCHAIN/bin:$PATH
PATH=$XTENSA_TOOLS_ROOT/bin:$PATH

# Clone and build
git clone &lt;A class="jivelink5" href="https://github.com/tensorflow/tensorflow" rel="nofollow noopener noreferrer" title="https://github.com/tensorflow/tensorflow" target="_blank"&gt;https://github.com/tensorflow/tensorflow&lt;/A&gt;
cd tensorflow
make -f tensorflow/lite/micro/tools/make/Makefile clean test_keyword_benchmark TARGET=xtensa_hifi TARGET_ARCH=hifi4 TAGS=xtensa_hifi&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this to&amp;nbsp;build two&amp;nbsp;examples and one benchmark on the &lt;A href="https://github.com/tensorflow/tensorflow/tree/0f63bc53c59883d378199640080de367a7da3f66" rel="nofollow noopener noreferrer" target="_blank"&gt;master branch @&amp;nbsp;0f63bc53&lt;/A&gt;&amp;nbsp;and obtained these binaries:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/micro/examples/micro_speech" rel="nofollow noopener noreferrer" title="https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/micro/examples/micro_speech" target="_blank"&gt;micro speech · tensorflow/tensorflow · GitHub&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/micro/examples/person_detection" rel="nofollow noopener noreferrer" title="https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/micro/examples/person_detection" target="_blank"&gt;person detection · tensorflow/tensorflow · GitHub&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/micro/benchmarks#keyword-benchmark" rel="nofollow noopener noreferrer" title="https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/micro/benchmarks#keyword-benchmark" target="_blank"&gt;keyword detection benchmark · tensorflow/tensorflow · GitHub&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&amp;nbsp;tried&amp;nbsp;flashing them using the GUI flash tool in MCUXpresso (through SEGGER J-Link probe) but I get this error towards the end of the process:&lt;/P&gt;&lt;PRE style="padding-left: 30px;"&gt;...
Downloading file [/home/user/Workspace/tensorflow/tensorflow/lite/micro/tools/make/gen/xtensa_hifi_hifi4/bin/keyword_benchmark.hex]...
Writing target memory failed.
Script processing completed.
****** Error: Could not start CPU core. (ErrorCode: -2)
Unable to perform operation!
Command failed with exit code 1&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see full logs attached, including the binaries and deployment scripts generated by the GUI flash tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2020 09:48:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Tensorflow-Lite-Micro-on-RT-600-DSP/m-p/1038908#M7501</guid>
      <dc:creator>rt600user</dc:creator>
      <dc:date>2020-07-29T09:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Tensorflow Lite Micro on RT 600 DSP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Tensorflow-Lite-Micro-on-RT-600-DSP/m-p/1038909#M7502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="362481" data-username="rt600user" href="https://community.nxp.com/people/rt600user" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Abe Mbise&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and &lt;BR /&gt;for the opportunity to serve you.&lt;BR /&gt;Before answering your question, I need to know what board you used.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2020 10:54:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Tensorflow-Lite-Micro-on-RT-600-DSP/m-p/1038909#M7502</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2020-07-30T10:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Tensorflow Lite Micro on RT 600 DSP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Tensorflow-Lite-Micro-on-RT-600-DSP/m-p/1038910#M7503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, It's the&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/i-mx-rt600-evaluation-kit:MIMXRT685-EVK" title="https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/i-mx-rt600-evaluation-kit:MIMXRT685-EVK"&gt;i.MX RT600 Evaluation Kit | NXP&lt;/A&gt;&amp;nbsp;board. Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2020 15:22:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Tensorflow-Lite-Micro-on-RT-600-DSP/m-p/1038910#M7503</guid>
      <dc:creator>rt600user</dc:creator>
      <dc:date>2020-07-30T15:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Tensorflow Lite Micro on RT 600 DSP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Tensorflow-Lite-Micro-on-RT-600-DSP/m-p/1038911#M7504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="362481" data-objecttype="3" href="https://community.nxp.com/people/rt600user" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Abe Mbise&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;Firstly, I'm not sure the generated image file is suited to the i.MX RT685 actually, secondary, to program the image file to the QSPI, you can try either the J-Flash Lite or the&lt;A href="https://github.com/JayHeng/NXP-MCUBootUtility"&gt; NXP-MCUBootUtility&lt;/A&gt; tools.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2020 07:14:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Tensorflow-Lite-Micro-on-RT-600-DSP/m-p/1038911#M7504</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2020-07-31T07:14:30Z</dc:date>
    </item>
  </channel>
</rss>

