<?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: faill to init shell, implementing shell into an application in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/faill-to-init-shell-implementing-shell-into-an-application/m-p/1089202#M9516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hello Claude,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hope you are doing well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I'd recommend to grab the hello world example and using the&amp;nbsp;BOARD_InitDebugConsole(); function as reference to initialize what you'd like to work with. Once you have it working in this example you may merge them together with your custom application.This function uses the&amp;nbsp;SerialManager_OpenReadHandle and you may see how it is used.In addition if you would like to understand the API here is the link for more details on the functions and returned status.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/api_doc/dev/1624/group__serialmanager.html#ga66915bf8f50a417620ef94951d1df4b8" title="https://mcuxpresso.nxp.com/api_doc/dev/1624/group__serialmanager.html#ga66915bf8f50a417620ef94951d1df4b8"&gt;MCUXpresso SDK API Reference Manual: Serial Manager&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Also check what is returned.&amp;nbsp;The reading handle can not be opened multiple at the same time. The error code kStatus_SerialManager_Busy would be returned when the previous reading handle is not closed. And there can only be one buffer for receiving for the reading handle at the same time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Sabina&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;-----------------------------------------------------------------------------------------------------------------------&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jun 2020 15:58:39 GMT</pubDate>
    <dc:creator>Sabina_Bruce</dc:creator>
    <dc:date>2020-06-26T15:58:39Z</dc:date>
    <item>
      <title>faill to init shell, implementing shell into an application</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/faill-to-init-shell-implementing-shell-into-an-application/m-p/1089201#M9515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've started a project from an example(lpi2c_pooling) and i want to add a shell structure to it. However the init of the shell crash when it come to those lines&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;status = SerialManager_OpenReadHandle(shellContextHandle-&amp;gt;serialHandle, shellContextHandle-&amp;gt;serialReadHandle);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; assert(kStatus_SerialManager_Success == status);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;SerialManager_OpenReadHandle return with that its busy cause the function can't turn off DisableGlobalIRQ(). &lt;/P&gt;&lt;P&gt;what could be the problem here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also don't tell me to try the example code first, i did but now i need to integrate it into my application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I joined the code so you can help me debug it.&amp;nbsp; im using the eval kit for the i.mx rt 1010 processor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2020 01:07:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/faill-to-init-shell-implementing-shell-into-an-application/m-p/1089201#M9515</guid>
      <dc:creator>claudecdg66</dc:creator>
      <dc:date>2020-06-25T01:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: faill to init shell, implementing shell into an application</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/faill-to-init-shell-implementing-shell-into-an-application/m-p/1089202#M9516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hello Claude,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hope you are doing well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I'd recommend to grab the hello world example and using the&amp;nbsp;BOARD_InitDebugConsole(); function as reference to initialize what you'd like to work with. Once you have it working in this example you may merge them together with your custom application.This function uses the&amp;nbsp;SerialManager_OpenReadHandle and you may see how it is used.In addition if you would like to understand the API here is the link for more details on the functions and returned status.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/api_doc/dev/1624/group__serialmanager.html#ga66915bf8f50a417620ef94951d1df4b8" title="https://mcuxpresso.nxp.com/api_doc/dev/1624/group__serialmanager.html#ga66915bf8f50a417620ef94951d1df4b8"&gt;MCUXpresso SDK API Reference Manual: Serial Manager&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Also check what is returned.&amp;nbsp;The reading handle can not be opened multiple at the same time. The error code kStatus_SerialManager_Busy would be returned when the previous reading handle is not closed. And there can only be one buffer for receiving for the reading handle at the same time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Sabina&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;-----------------------------------------------------------------------------------------------------------------------&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2020 15:58:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/faill-to-init-shell-implementing-shell-into-an-application/m-p/1089202#M9516</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2020-06-26T15:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: faill to init shell, implementing shell into an application</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/faill-to-init-shell-implementing-shell-into-an-application/m-p/1089203#M9517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's interesting but witch other handle is blocking the api i didn't add one and the rest of the code is exactly like the example. i even used beyond compare to be sure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jun 2020 02:35:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/faill-to-init-shell-implementing-shell-into-an-application/m-p/1089203#M9517</guid>
      <dc:creator>claudecdg66</dc:creator>
      <dc:date>2020-06-27T02:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: faill to init shell, implementing shell into an application</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/faill-to-init-shell-implementing-shell-into-an-application/m-p/1089204#M9518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I founded the problem&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;/*!@ brief Whether enable the RX function&lt;BR /&gt;&amp;nbsp;* If the macro is zero, the receive function of the debug console is disabled.&lt;BR /&gt;&amp;nbsp;*/&lt;BR /&gt;#ifndef DEBUG_CONSOLE_RX_ENABLE&lt;BR /&gt;#define DEBUG_CONSOLE_RX_ENABLE (0U)&lt;BR /&gt;#endif /* DEBUG_CONSOLE_RX_ENABLE */&lt;/BLOCKQUOTE&gt;&lt;P&gt;DEBUG_CONSOLE_RX_ENABLE was at 1 while in the example it was to 0 not the code work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jun 2020 23:25:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/faill-to-init-shell-implementing-shell-into-an-application/m-p/1089204#M9518</guid>
      <dc:creator>claudecdg66</dc:creator>
      <dc:date>2020-06-27T23:25:10Z</dc:date>
    </item>
  </channel>
</rss>

