<?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: K60 PE Micro debugging not working console using printf in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374433#M1889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;dear sir,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;printf is using semihosting console.is it dependent firmware/sample code.i&amp;nbsp; enable&amp;nbsp; this&amp;nbsp; by debugger settings&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;then how it will get using sample code please tell me its urgent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Feb 2015 06:44:46 GMT</pubDate>
    <dc:creator>lijofrancis</dc:creator>
    <dc:date>2015-02-16T06:44:46Z</dc:date>
    <item>
      <title>K60 PE Micro debugging not working console using printf</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374427#M1883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sir&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; when i was using K40 using jlink segger i can monitor using console using printf. now i am using TWR K60F120M .But using printf in K60 i get only one character&lt;/P&gt;&lt;P&gt;for example printf("hello"); it print only h&lt;/P&gt;&lt;P&gt;in for loop it print like that&lt;/P&gt;&lt;P&gt;h&lt;/P&gt;&lt;P&gt;h&lt;/P&gt;&lt;P&gt;h&lt;/P&gt;&lt;P&gt;h&lt;/P&gt;&lt;P&gt;please tell me the reason&lt;/P&gt;&lt;P&gt;semi hosting console print only one character.it&amp;nbsp; not takes other character&lt;/P&gt;&lt;P&gt;please reply its urgent thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 11:51:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374427#M1883</guid>
      <dc:creator>lijofrancis</dc:creator>
      <dc:date>2015-02-13T11:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: K60 PE Micro debugging not working console using printf</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374428#M1884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lijo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you tell us which IDE are you using? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Feb 2015 02:19:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374428#M1884</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2015-02-14T02:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: K60 PE Micro debugging not working console using printf</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374429#M1885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Sir,&lt;/P&gt;&lt;P&gt;i am using kinetic design studio (KDS-v2.0.0) using TWR-KF120M tower board.with on-board OSJTAG(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;P&amp;amp;E Micro)&lt;/SPAN&gt; circuit .i enabled semi hosting using telnet on debugg setting to monitor register value using semihosting console.&lt;/P&gt;&lt;P&gt;when i was using K40 with segger jlink i able to use it.&lt;/P&gt;&lt;P&gt;But when i am using &lt;SPAN style="font-size: 13.3333330154419px;"&gt; TWR-KF120M OSJTAG P&amp;amp;E Micro it print only one character&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;for example printf("value=%d",100);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;the result it print only&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; v&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;if i am using printf("\nhai");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;it prints&amp;nbsp;&amp;nbsp;&amp;nbsp; \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;please tell me how to solve this&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Feb 2015 11:49:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374429#M1885</guid>
      <dc:creator>lijofrancis</dc:creator>
      <dc:date>2015-02-14T11:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: K60 PE Micro debugging not working console using printf</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374430#M1886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear sir, &lt;/P&gt;&lt;P&gt;please reply its urgent thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Feb 2015 14:07:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374430#M1886</guid>
      <dc:creator>lijofrancis</dc:creator>
      <dc:date>2015-02-14T14:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: K60 PE Micro debugging not working console using printf</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374431#M1887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lijo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the same binaries would be used because the pin assignments of K40 and K60 would be different.&lt;/P&gt;&lt;P&gt;If you will&amp;nbsp; use the K60 sample code&amp;nbsp; &lt;A href="http://cache.freescale.com/files/microcontrollers/software/app_software/code_examples/KINETIS_120MHZ_SC.zip" title="http://cache.freescale.com/files/microcontrollers/software/app_software/code_examples/KINETIS_120MHZ_SC.zip"&gt;http://cache.freescale.com/files/microcontrollers/software/app_software/code_examples/KINETIS_120MHZ_SC.zip&lt;/A&gt; &lt;/P&gt;&lt;P&gt;from the freescale, you could use a printf function.&lt;/P&gt;&lt;P&gt;Doesn't&amp;nbsp; this match to your purpose?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Yasuhiko Koumoto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Feb 2015 21:06:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374431#M1887</guid>
      <dc:creator>yasuhikokoumoto</dc:creator>
      <dc:date>2015-02-14T21:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: K60 PE Micro debugging not working console using printf</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374432#M1888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear sir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not using any sample code .i am using simple code by choosing controller of tower board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem not pin assignment. The problem may  be kinetics Design studio with PE micro programmer(on board).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me when using PE Micro debugger with semihosting console what happens .It is the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Feb 2015 09:54:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374432#M1888</guid>
      <dc:creator>lijofrancis</dc:creator>
      <dc:date>2015-02-15T09:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: K60 PE Micro debugging not working console using printf</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374433#M1889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;dear sir,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;printf is using semihosting console.is it dependent firmware/sample code.i&amp;nbsp; enable&amp;nbsp; this&amp;nbsp; by debugger settings&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;then how it will get using sample code please tell me its urgent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 06:44:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374433#M1889</guid>
      <dc:creator>lijofrancis</dc:creator>
      <dc:date>2015-02-16T06:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: K60 PE Micro debugging not working console using printf</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374434#M1890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lijo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm very sorry but I have not used KDS_2.0.0. I cannot reproduce your situation. Also, I cannot guess the cause of it.&lt;/P&gt;&lt;P&gt;By the way, was the K40 case also done with KDS_2.0.0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;Yasuhiko Koumoto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 20:01:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374434#M1890</guid>
      <dc:creator>yasuhikokoumoto</dc:creator>
      <dc:date>2015-02-16T20:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: K60 PE Micro debugging not working console using printf</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374435#M1891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello sir,&lt;/P&gt;&lt;P&gt;&amp;nbsp; k40 board have no problem with printf .it prints all the character that puts on.but k60 tower board(on board OSJTAG)&amp;nbsp; prints only one character and it goes to new line automatically.&lt;/P&gt;&lt;P&gt;i think for KDS this problem may be common with K60 (twr k60f120m) tower board .if you have K60 tower board you can check it .its common .you dont have to create the situation .please sir i am not using uart debugg port .for our project we utilize that semihosting facility thats the one of the reason we choose k60 for our project.and KDS 2.0.0. is free to download from freescale site &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 05:43:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374435#M1891</guid>
      <dc:creator>lijofrancis</dc:creator>
      <dc:date>2015-02-17T05:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: K60 PE Micro debugging not working console using printf</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374436#M1892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lijo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look to the following post, it is related to your problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/406398"&gt;KDS printf issues with -nanolibc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Erich Styger mentions, the parameter count for the character count to send out the UART is set to 1 when -nanolibc, no matter what the length of the printf string is.&amp;nbsp; If you remove the linker option -nanolibc and debug, the character count is passed correctly as expected. The reason is that the newlib-nano is optimized for size/space to fit better smaller embedded devices. So the library implementation avoids buffering if possible. Instead, it writes characters by characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 15:59:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/K60-PE-Micro-debugging-not-working-console-using-printf/m-p/374436#M1892</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2015-02-17T15:59:05Z</dc:date>
    </item>
  </channel>
</rss>

