<?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>Kinetis Design Studio中的主题 Re: PRINTF() doesn't dump anything into the console</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PRINTF-doesn-t-dump-anything-into-the-console/m-p/511103#M6676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The printf() call in your project works perfectly for me! The problem is, I still don't know what to tweak in my projects. I'm wondering whether you could take a look at my projects to give me an idea what's wrong with them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Git repo can be found at &lt;A href="https://github.com/UltimateHackingKeyboard/firmware-kinetis" title="https://github.com/UltimateHackingKeyboard/firmware-kinetis"&gt;https://github.com/UltimateHackingKeyboard/firmware-kinetis&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;git clone --recursive &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:git@github.com"&gt;git@github.com&lt;/A&gt;&lt;SPAN&gt;:UltimateHackingKeyboard/firmware-kinetis.git&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;command checks out the repo, and then there are 2 KDS projects in it, one in the "left" and one in the "right" directory. "left" runs on the FRDM-KL03Z and "right" runs on the FRDM-K22F.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand if you don't have the time to help me further, and your help is already very much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;- Laci&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Mar 2016 17:12:07 GMT</pubDate>
    <dc:creator>laszlomonda</dc:creator>
    <dc:date>2016-03-09T17:12:07Z</dc:date>
    <item>
      <title>PRINTF() doesn't dump anything into the console</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PRINTF-doesn-t-dump-anything-into-the-console/m-p/511099#M6672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason, PRINTF() doesn't dump anything into the console. I don't know whether it matters but I have the SEGGER OpenSDA firmware installed, and I also get the `No source available for "0x0"` message. Please see the attached screenshot.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;- Laci&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 19:38:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/PRINTF-doesn-t-dump-anything-into-the-console/m-p/511099#M6672</guid>
      <dc:creator>laszlomonda</dc:creator>
      <dc:date>2016-03-07T19:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: PRINTF() doesn't dump anything into the console</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PRINTF-doesn-t-dump-anything-into-the-console/m-p/511100#M6673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Laci,&lt;/P&gt;&lt;P&gt;Which demo do you test ? And what about the KDS version ?&lt;/P&gt;&lt;P&gt;About print to console on KDS2.0 and KDS3.0 , the method is different , please refer to here :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-104349"&gt;How to use printf() to print string to Console and UART in KDS2.0&lt;/A&gt;&amp;nbsp; , not refer to the DOC, please&lt;/P&gt;&lt;P&gt;refer to the common &lt;SPAN class="jive-comment-meta font-color-meta-light"&gt;&lt;SPAN class="j-username-wrap"&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="11093" data-username="BlackNight" href="https://community.nxp.com/people/BlackNight"&gt;Erich Styger &lt;STRONG&gt; said :&lt;/STRONG&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;KDS v2.0.0 and KDS v3.0.0 are using different libraries.&lt;/P&gt;&lt;P&gt;See &lt;A class="jive-link-external-small" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fmcuoneclipse.com%2F2014%2F06%2F06%2Fsemihosting-with-kinetis-design-studio%2F" rel="nofollow" target="_blank"&gt;Semihosting with Kinetis Design Studio | MCU on Eclipse&lt;/A&gt;&amp;nbsp; how to do semihosting with KDS v2.0.0.&lt;/P&gt;&lt;P&gt;See &lt;A class="jive-link-external-small" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fmcuoneclipse.com%2F2015%2F05%2F27%2Fsemihosting-for-kinetis-design-studio-v3-0-0-and-gnu-arm-embedded-launchpad%2F" rel="nofollow" target="_blank"&gt;Semihosting for Kinetis Design Studio V3.0.0 and GNU ARM Embedded (launchpad) | MCU on Eclipse&lt;/A&gt;&amp;nbsp; how to use semihosting with KDS v3.0.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice Yang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 02:43:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/PRINTF-doesn-t-dump-anything-into-the-console/m-p/511100#M6673</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-03-08T02:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: PRINTF() doesn't dump anything into the console</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PRINTF-doesn-t-dump-anything-into-the-console/m-p/511101#M6674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried pretty much everything that's described in the linked resources and it still doesn't work. I'm using KDS 3.1.0 and printf() doesn't work with any demo neither on the FRDM-K22F, nor the FRDM-KL03Z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any further hints?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 18:12:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/PRINTF-doesn-t-dump-anything-into-the-console/m-p/511101#M6674</guid>
      <dc:creator>laszlomonda</dc:creator>
      <dc:date>2016-03-08T18:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: PRINTF() doesn't dump anything into the console</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PRINTF-doesn-t-dump-anything-into-the-console/m-p/511102#M6675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;- Firstly i recommend you do not use the printf() to print to the console , for it&lt;/P&gt;&lt;P&gt;generate greatly code size , for the kl03z32 chip, the memory is limited , so for the KSDK demo&lt;/P&gt;&lt;P&gt;code , it hard to use it , for the KSDK generate great code size , so add the printf() , it maybe overflow.&lt;/P&gt;&lt;P&gt;And also in the demo code you mentioned , the function of "PRINTF()" is print the character to the terminal of PC,&lt;/P&gt;&lt;P&gt;i think this is simple and useful .&lt;/P&gt;&lt;P&gt;If you must use the console , you can create one simple project by yourself , then configure it refer to the DOC&lt;/P&gt;&lt;P&gt;i mentioned before , it can work well , i test it on my side , also attach the project .&lt;/P&gt;&lt;P&gt;- About the frdm-k22 board , it is unstable when download the KSDK demo code , for sometimes we should restart&lt;/P&gt;&lt;P&gt;the PC, or it will show "No source available for..", also recommend you use the PRINTF() to print to the terminal of PC.&lt;/P&gt;&lt;P&gt;For the function is realized on the demo code , we do not change anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About why do not recommend you use the console , you can refer to here :&lt;A href="http://mcuoneclipse.com/2013/04/19/why-i-dont-like-printf/" title="http://mcuoneclipse.com/2013/04/19/why-i-dont-like-printf/"&gt;Why I don’t like printf() | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 03:54:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/PRINTF-doesn-t-dump-anything-into-the-console/m-p/511102#M6675</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-03-09T03:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: PRINTF() doesn't dump anything into the console</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PRINTF-doesn-t-dump-anything-into-the-console/m-p/511103#M6676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The printf() call in your project works perfectly for me! The problem is, I still don't know what to tweak in my projects. I'm wondering whether you could take a look at my projects to give me an idea what's wrong with them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Git repo can be found at &lt;A href="https://github.com/UltimateHackingKeyboard/firmware-kinetis" title="https://github.com/UltimateHackingKeyboard/firmware-kinetis"&gt;https://github.com/UltimateHackingKeyboard/firmware-kinetis&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;git clone --recursive &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:git@github.com"&gt;git@github.com&lt;/A&gt;&lt;SPAN&gt;:UltimateHackingKeyboard/firmware-kinetis.git&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;command checks out the repo, and then there are 2 KDS projects in it, one in the "left" and one in the "right" directory. "left" runs on the FRDM-KL03Z and "right" runs on the FRDM-K22F.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand if you don't have the time to help me further, and your help is already very much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;- Laci&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 17:12:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/PRINTF-doesn-t-dump-anything-into-the-console/m-p/511103#M6676</guid>
      <dc:creator>laszlomonda</dc:creator>
      <dc:date>2016-03-09T17:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: PRINTF() doesn't dump anything into the console</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/PRINTF-doesn-t-dump-anything-into-the-console/m-p/511104#M6677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Laci,&lt;/P&gt;&lt;P&gt;I have&amp;nbsp; download and checked your project , while i don't know your question , build error ? or function's problem?&lt;/P&gt;&lt;P&gt;For the FRDM-KL03 project,&amp;nbsp; when i build it , for some path reason , there some build error,&amp;nbsp; what about on your side ?&lt;/P&gt;&lt;P&gt;If it without error , please tell me the problem in detail ,thank !&amp;nbsp; And about the other project, sorry , i know USB a little .&lt;/P&gt;&lt;P&gt;And there is a thread about how to create one now KSDK project :&lt;A href="https://community.nxp.com/docs/DOC-101862"&gt;Writing your first toggle LED application with FRMD-K64F + KDS 1.1.0 + KSDK 1.0.0 Non-Processor Expert&lt;/A&gt;&amp;nbsp; it is the same with KSDK1.3, you only need read from :&lt;/P&gt;&lt;P&gt;"Next step is to create a new KDS project. Go to “File&amp;gt;New&amp;gt;Kinetis Design Studio Project” option"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it help&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 11:22:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/PRINTF-doesn-t-dump-anything-into-the-console/m-p/511104#M6677</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-03-11T11:22:23Z</dc:date>
    </item>
  </channel>
</rss>

