<?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() is Broke in KSDK 1.3 in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/printf-is-Broke-in-KSDK-1-3/m-p/414761#M1958</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Audi,&lt;/P&gt;&lt;P&gt;Found fix but need to try to understand why.&lt;/P&gt;&lt;P&gt;Please set heap to 0x400.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ScreenHunter_185 Oct. 20 17.47.gif"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/23908i7E116E193B613A5D/image-size/large?v=v2&amp;amp;px=999" role="button" title="ScreenHunter_185 Oct. 20 17.47.gif" alt="ScreenHunter_185 Oct. 20 17.47.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generate Code.&lt;/P&gt;&lt;P&gt;Do a project clean and rebuild.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Oct 2015 22:49:09 GMT</pubDate>
    <dc:creator>DavidS</dc:creator>
    <dc:date>2015-10-20T22:49:09Z</dc:date>
    <item>
      <title>printf() is Broke in KSDK 1.3</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/printf-is-Broke-in-KSDK-1-3/m-p/414760#M1957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;printf() is broke in KSDK 1.3 (at least with the&amp;nbsp; fsl_debug_console using PEx).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steps to reproduce.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;select File menu | New | Kinetis Project&lt;/P&gt;&lt;P&gt;enter a project name (e.g. printf_test) (next)&lt;/P&gt;&lt;P&gt;select Boards | Kinetis | FRDM-K64F (next)&lt;/P&gt;&lt;P&gt;select KSDK_1.3.0, check Processor Expert (next)&lt;/P&gt;&lt;P&gt;select GNU C Compiler (finish)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;select Processor Expert menu | Show Views&lt;/P&gt;&lt;P&gt;select Components Library tab&lt;/P&gt;&lt;P&gt;navigate to KSDK 1.3.0 | Peripheral Drivers/HAL | Utilities&lt;/P&gt;&lt;P&gt;right-click fsl_debug_console and select Add to project&lt;/P&gt;&lt;P&gt;select Component Inspector tab&lt;/P&gt;&lt;P&gt;leave baud rate at 115200, set RxD to DBG_CONSOLE_RX, set TxD to DBG_CONSOLE_TX&lt;/P&gt;&lt;P&gt;Generate Processor Expert code&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;edit Sources | main.c&lt;/P&gt;&lt;P&gt;add #include &amp;lt;stdio.h&amp;gt; on line 41&lt;/P&gt;&lt;P&gt;starting on line 54, add the following three lines...&lt;/P&gt;&lt;P&gt;&amp;nbsp; PRINTF("KSDK 1.3 PRINTF\r\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp; printf("printf\r\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp; puts("puts");&lt;/P&gt;&lt;P&gt;Build project&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;attach FRDM-K64F board via OpenSDA USB port&lt;/P&gt;&lt;P&gt;connect your favorite terminal program to the mbed Serial Port (115200, 8N1)&lt;/P&gt;&lt;P&gt;debug using GDB OpenOCD Debugging&lt;/P&gt;&lt;P&gt;observe that only the first PRINTF statement is displayed&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Repeat all of these steps using KSDK 1.2.0 and you will see all three lines displayed.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Audi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 15:54:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/printf-is-Broke-in-KSDK-1-3/m-p/414760#M1957</guid>
      <dc:creator>audi_mcavoy</dc:creator>
      <dc:date>2015-10-20T15:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: printf() is Broke in KSDK 1.3</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/printf-is-Broke-in-KSDK-1-3/m-p/414761#M1958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Audi,&lt;/P&gt;&lt;P&gt;Found fix but need to try to understand why.&lt;/P&gt;&lt;P&gt;Please set heap to 0x400.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ScreenHunter_185 Oct. 20 17.47.gif"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/23908i7E116E193B613A5D/image-size/large?v=v2&amp;amp;px=999" role="button" title="ScreenHunter_185 Oct. 20 17.47.gif" alt="ScreenHunter_185 Oct. 20 17.47.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generate Code.&lt;/P&gt;&lt;P&gt;Do a project clean and rebuild.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 22:49:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/printf-is-Broke-in-KSDK-1-3/m-p/414761#M1958</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2015-10-20T22:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: printf() is Broke in KSDK 1.3</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/printf-is-Broke-in-KSDK-1-3/m-p/414762#M1959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks David, that worked for me too.&lt;/P&gt;&lt;P&gt;- Audi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 15:08:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/printf-is-Broke-in-KSDK-1-3/m-p/414762#M1959</guid>
      <dc:creator>audi_mcavoy</dc:creator>
      <dc:date>2015-10-21T15:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: printf() is Broke in KSDK 1.3</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/printf-is-Broke-in-KSDK-1-3/m-p/414763#M1960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add that this fix was also necessary to get the HID mouse demo to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would I be correct in assuming that this fix is necessary for every PEx project under KSDK 1.3.0?&lt;/P&gt;&lt;P&gt;- Audi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 15:24:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/printf-is-Broke-in-KSDK-1-3/m-p/414763#M1960</guid>
      <dc:creator>audi_mcavoy</dc:creator>
      <dc:date>2015-10-21T15:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: printf() is Broke in KSDK 1.3</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/printf-is-Broke-in-KSDK-1-3/m-p/414764#M1961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Audi,&lt;/P&gt;&lt;P&gt;Honestly I don't know.&lt;/P&gt;&lt;P&gt;I will report it to our KSDK experts to allow them to dig into and reference this post so they can comment on it.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reference:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; background-color: #f3f9f4;"&gt;Issue &lt;/SPAN&gt;&lt;A class="issue-created-key issue-link" data-issue-key="KPSDK-7360" href="http://sw-jira.freescale.net/browse/KPSDK-7360" style="color: #3b73af; font-family: Arial, sans-serif;"&gt;KPSDK-7360 - KSDK_1.3 PE examples need 0x400 heap added to allow printf&lt;/A&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; background-color: #f3f9f4;"&gt; has been successfully created.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 15:58:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/printf-is-Broke-in-KSDK-1-3/m-p/414764#M1961</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2015-10-21T15:58:31Z</dc:date>
    </item>
  </channel>
</rss>

