<?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: printf(0, IAR &amp; Kwikstick in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/printf-0-IAR-Kwikstick/m-p/175561#M1479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kwikstik has 2 micro AB USB port.&lt;/P&gt;&lt;P&gt;One is for JLink, the other one is for USB (device) functionality.&lt;/P&gt;&lt;P&gt;So you can use Kinetis's USB function when you are debugging your app with JLink.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With MQX for Kwikstik, the default serial port (where printf puts data out) is ttyf (defined in Freescale MQX 3.7\config\kwikstikk40x256\user_config.h and Freescale MQX 3.7\mqx\source\bsp\kwikstikk40x256\kwikstikk40x256.h), it means that printf data will be out at DB9 on TWR_SER card (if you have tower elevator system). If you don't have, I am afraid of that you have to get that data via some test pads on the board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Oct 2011 09:26:49 GMT</pubDate>
    <dc:creator>Dekiru</dc:creator>
    <dc:date>2011-10-21T09:26:49Z</dc:date>
    <item>
      <title>printf(0, IAR &amp; Kwikstick</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/printf-0-IAR-Kwikstick/m-p/175560#M1478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe I'm being dumb but where does printf() print to?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using:&lt;/P&gt;&lt;P&gt;-IAR&lt;/P&gt;&lt;P&gt;-Kinetis KwikStik&lt;/P&gt;&lt;P&gt;-MQX 3.7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm connecting to the KwikStik using the On-board JTAG/J-Link USB socket but I understand that when this port is working as a J-Link socket it can't work as a USB/Comm Port&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been using IAR for a number of years, but I'm new to MQX and KwikStik, so I'm working through some of the examples. Al lot of the time these examples are using printf() to display a message - but I can't work out where printf() is printing to?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 20:41:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/printf-0-IAR-Kwikstick/m-p/175560#M1478</guid>
      <dc:creator>BenG</dc:creator>
      <dc:date>2011-10-20T20:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: printf(0, IAR &amp; Kwikstick</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/printf-0-IAR-Kwikstick/m-p/175561#M1479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kwikstik has 2 micro AB USB port.&lt;/P&gt;&lt;P&gt;One is for JLink, the other one is for USB (device) functionality.&lt;/P&gt;&lt;P&gt;So you can use Kinetis's USB function when you are debugging your app with JLink.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With MQX for Kwikstik, the default serial port (where printf puts data out) is ttyf (defined in Freescale MQX 3.7\config\kwikstikk40x256\user_config.h and Freescale MQX 3.7\mqx\source\bsp\kwikstikk40x256\kwikstikk40x256.h), it means that printf data will be out at DB9 on TWR_SER card (if you have tower elevator system). If you don't have, I am afraid of that you have to get that data via some test pads on the board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 09:26:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/printf-0-IAR-Kwikstick/m-p/175561#M1479</guid>
      <dc:creator>Dekiru</dc:creator>
      <dc:date>2011-10-21T09:26:49Z</dc:date>
    </item>
  </channel>
</rss>

