<?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: multiple instances of debug console in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/multiple-instances-of-debug-console/m-p/440417#M2782</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Earl Orlando,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the support. The solution indeed works, but it did not suited my implementation, so I've gone for option 3 and implemented the PRINTF and SCANF on top of a FSL_UART component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I can use PRINTF/SCANF with USB and a Serial port simultaneously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the support anyway !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jul 2015 17:07:09 GMT</pubDate>
    <dc:creator>thiagopalmieri</dc:creator>
    <dc:date>2015-07-28T17:07:09Z</dc:date>
    <item>
      <title>multiple instances of debug console</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/multiple-instances-of-debug-console/m-p/440415#M2780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is is possible to use multiple instances of debug console?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use the debug console on two "serial" ports, the USB CDC virtual com, and LPUART0. My main reason for that is SCANF, which is available on the FSL_DEBUG_CONSOLE component.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm able to set it for one or another, and it works fine, but when I try to add another debug component so I can activate both "serials", the KDS complains that only one is supported.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to do that?&amp;nbsp; I can think of three alternatives (in order of preference):&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Add another component. (how?)&lt;/P&gt;&lt;P&gt;2. Re-init the component when I change "serials", pointing it to the corresponding "serial".&lt;/P&gt;&lt;P&gt;3. Or keep the debug component on one of then (USB CDC) and write a "SCANF" function and use it on a FSL_LPUART component.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using MKL43Z with FreeRTOS.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 19:28:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/multiple-instances-of-debug-console/m-p/440415#M2780</guid>
      <dc:creator>thiagopalmieri</dc:creator>
      <dc:date>2015-07-23T19:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: multiple instances of debug console</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/multiple-instances-of-debug-console/m-p/440416#M2781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Thiago,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is supported just one instance at the same time. I think that the best alternative is the second one that you listed above. You can De-Init a component by calling the function &lt;STRONG&gt;DbgConsole_DeInit &lt;/STRONG&gt;and then Re-Init the module by calling the functions &lt;STRONG&gt;configure_uart_pins&lt;/STRONG&gt; and &lt;STRONG&gt;DbgConsole_Init &lt;/STRONG&gt;as they are called in the function &lt;STRONG&gt;dbg_uart_init&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this information is useful or if I can do anything else for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Earl Orlando.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2015 18:47:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/multiple-instances-of-debug-console/m-p/440416#M2781</guid>
      <dc:creator>EarlOrlando</dc:creator>
      <dc:date>2015-07-24T18:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: multiple instances of debug console</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/multiple-instances-of-debug-console/m-p/440417#M2782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Earl Orlando,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the support. The solution indeed works, but it did not suited my implementation, so I've gone for option 3 and implemented the PRINTF and SCANF on top of a FSL_UART component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I can use PRINTF/SCANF with USB and a Serial port simultaneously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the support anyway !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 17:07:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/multiple-instances-of-debug-console/m-p/440417#M2782</guid>
      <dc:creator>thiagopalmieri</dc:creator>
      <dc:date>2015-07-28T17:07:09Z</dc:date>
    </item>
  </channel>
</rss>

