<?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: Own design board with MK20, how to be able to print debugging info on console in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Own-design-board-with-MK20-how-to-be-able-to-print-debugging/m-p/419982#M3400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The j-link support virtual COM port, you can find the description in the document &lt;A href="http://www.segger.com/cms/admin/uploads/productDocs/UM08001_JLink.pdf" title="http://www.segger.com/cms/admin/uploads/productDocs/UM08001_JLink.pdf"&gt;http://www.segger.com/cms/admin/uploads/productDocs/UM08001_JLink.pdf&lt;/A&gt;, chapter 5.14 Virtual COM Port (VCOM).&lt;/P&gt;&lt;P&gt;In this case you need to have connected pins J-Link-Tx and J-Link-Rx to your MCU pins (to an UART device). &lt;/P&gt;&lt;P&gt;In the KDS project, you can add the fsl_debug_console component into your application, select the UART device that is connected to J-link port (J-Link-Tx and J-Link-Rx pins), select the baudrate and correct pins. Then you can use printf() function in your application. See below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49345i0D48D9553C01FFE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case you can use the virtual COM port on your computer - use the COM port by your Terminal to send and receive data (for example you can use TeraTerm terminal).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your MK20 board design does not provide the connection of UART pins to j-link port you can use the Segger RTT (Real Time Terminal). You can find description in the document &lt;A href="http://www.segger.com/cms/admin/uploads/productDocs/UM08001_JLink.pdf" title="http://www.segger.com/cms/admin/uploads/productDocs/UM08001_JLink.pdf"&gt;http://www.segger.com/cms/admin/uploads/productDocs/UM08001_JLink.pdf&lt;/A&gt; and on the page &lt;A href="https://www.segger.com/jlink-real-time-terminal.html" title="https://www.segger.com/jlink-real-time-terminal.html"&gt;SEGGER - The Embedded Experts - Real Time Terminal&lt;/A&gt; (use this link to download the software). In this case you can use SEGGER_RTT_printf and other functions that are provided in the Segger RTT Implementation Pack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Apr 2015 11:39:22 GMT</pubDate>
    <dc:creator>marek_neuzil</dc:creator>
    <dc:date>2015-04-23T11:39:22Z</dc:date>
    <item>
      <title>Own design board with MK20, how to be able to print debugging info on console</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Own-design-board-with-MK20-how-to-be-able-to-print-debugging/m-p/419981#M3399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As question above, I have own designed board with MK20 processor. I am using processor expert + MQX-Lite on KDS.&lt;/P&gt;&lt;P&gt;Currently, one side JLink-EDU is connected to JTAG on board and the other side is connected to usb port on computer. &lt;/P&gt;&lt;P&gt;I have a micro usb designed on the board.&lt;/P&gt;&lt;P&gt;What I would like to do is to print something on terminal window via connecting microusb. Is it doable and how would &lt;/P&gt;&lt;P&gt;I do it? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yaran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 14:12:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Own-design-board-with-MK20-how-to-be-able-to-print-debugging/m-p/419981#M3399</guid>
      <dc:creator>yarannan</dc:creator>
      <dc:date>2015-04-17T14:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Own design board with MK20, how to be able to print debugging info on console</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Own-design-board-with-MK20-how-to-be-able-to-print-debugging/m-p/419982#M3400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The j-link support virtual COM port, you can find the description in the document &lt;A href="http://www.segger.com/cms/admin/uploads/productDocs/UM08001_JLink.pdf" title="http://www.segger.com/cms/admin/uploads/productDocs/UM08001_JLink.pdf"&gt;http://www.segger.com/cms/admin/uploads/productDocs/UM08001_JLink.pdf&lt;/A&gt;, chapter 5.14 Virtual COM Port (VCOM).&lt;/P&gt;&lt;P&gt;In this case you need to have connected pins J-Link-Tx and J-Link-Rx to your MCU pins (to an UART device). &lt;/P&gt;&lt;P&gt;In the KDS project, you can add the fsl_debug_console component into your application, select the UART device that is connected to J-link port (J-Link-Tx and J-Link-Rx pins), select the baudrate and correct pins. Then you can use printf() function in your application. See below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49345i0D48D9553C01FFE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case you can use the virtual COM port on your computer - use the COM port by your Terminal to send and receive data (for example you can use TeraTerm terminal).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your MK20 board design does not provide the connection of UART pins to j-link port you can use the Segger RTT (Real Time Terminal). You can find description in the document &lt;A href="http://www.segger.com/cms/admin/uploads/productDocs/UM08001_JLink.pdf" title="http://www.segger.com/cms/admin/uploads/productDocs/UM08001_JLink.pdf"&gt;http://www.segger.com/cms/admin/uploads/productDocs/UM08001_JLink.pdf&lt;/A&gt; and on the page &lt;A href="https://www.segger.com/jlink-real-time-terminal.html" title="https://www.segger.com/jlink-real-time-terminal.html"&gt;SEGGER - The Embedded Experts - Real Time Terminal&lt;/A&gt; (use this link to download the software). In this case you can use SEGGER_RTT_printf and other functions that are provided in the Segger RTT Implementation Pack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 11:39:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Own-design-board-with-MK20-how-to-be-able-to-print-debugging/m-p/419982#M3400</guid>
      <dc:creator>marek_neuzil</dc:creator>
      <dc:date>2015-04-23T11:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Own design board with MK20, how to be able to print debugging info on console</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Own-design-board-with-MK20-how-to-be-able-to-print-debugging/m-p/419983#M3401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marek,&lt;/P&gt;&lt;P&gt;Thanks. That is really helpful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yaran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 14:13:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Own-design-board-with-MK20-how-to-be-able-to-print-debugging/m-p/419983#M3401</guid>
      <dc:creator>yarannan</dc:creator>
      <dc:date>2015-04-23T14:13:22Z</dc:date>
    </item>
  </channel>
</rss>

