<?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>CodeWarrior for MCUのトピックRe: FRDM-KL05Z Code Warrior Processor Expert</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/FRDM-KL05Z-Code-Warrior-Processor-Expert/m-p/334141#M11112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dan:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A detailed tutorial on how to use &lt;STRONG&gt;printf&lt;/STRONG&gt; and the like with Processor Expert is in the next link, created by colleague Erich Styger:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/02/07/tutorial-printf-with-and-without-processor-expert/" title="http://mcuoneclipse.com/2013/02/07/tutorial-printf-with-and-without-processor-expert/"&gt;Tutorial: Printf() with (and without) Processor Expert | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will notice however that it is not recommended to use it, or use it only during prototyping phase, as explained in other of his posts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Regards!,&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&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>Sun, 11 Jan 2015 06:18:33 GMT</pubDate>
    <dc:creator>Jorge_Gonzalez</dc:creator>
    <dc:date>2015-01-11T06:18:33Z</dc:date>
    <item>
      <title>FRDM-KL05Z Code Warrior Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/FRDM-KL05Z-Code-Warrior-Processor-Expert/m-p/334140#M11111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've created a LED Blink Project in CodeWarrior 10.6, using Processor Expert as described in the help section under Processor Expert Tutorials.It works beautifully. I've now extended the project by adding component AsynchroSerial. I can send characters out no problem. But what I would like to do is use printf and all the other standard io functions. When I try to include these headers there seems to be no end to errors. I am unsure if they are even compatible with the code generated by processor expert. So before I dent my forehead too badly against my keyboard, can someone please tell me which headers to include, and how to include them in order to get to get printf to work.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Jan 2015 04:20:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/FRDM-KL05Z-Code-Warrior-Processor-Expert/m-p/334140#M11111</guid>
      <dc:creator>danreltek</dc:creator>
      <dc:date>2015-01-11T04:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL05Z Code Warrior Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/FRDM-KL05Z-Code-Warrior-Processor-Expert/m-p/334141#M11112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dan:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A detailed tutorial on how to use &lt;STRONG&gt;printf&lt;/STRONG&gt; and the like with Processor Expert is in the next link, created by colleague Erich Styger:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/02/07/tutorial-printf-with-and-without-processor-expert/" title="http://mcuoneclipse.com/2013/02/07/tutorial-printf-with-and-without-processor-expert/"&gt;Tutorial: Printf() with (and without) Processor Expert | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will notice however that it is not recommended to use it, or use it only during prototyping phase, as explained in other of his posts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Regards!,&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&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>Sun, 11 Jan 2015 06:18:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/FRDM-KL05Z-Code-Warrior-Processor-Expert/m-p/334141#M11112</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-01-11T06:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL05Z Code Warrior Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/FRDM-KL05Z-Code-Warrior-Processor-Expert/m-p/334142#M11113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. I see why printf() is unpopular. I am happy to use puts() instead. I'm still having trouble understanding&lt;/P&gt;&lt;P&gt;1. where the right header file is&lt;/P&gt;&lt;P&gt;2. how to include it to the project&lt;/P&gt;&lt;P&gt;3. which project folder to include it to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd appreciate some help please.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 05:20:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/FRDM-KL05Z-Code-Warrior-Processor-Expert/m-p/334142#M11113</guid>
      <dc:creator>danreltek</dc:creator>
      <dc:date>2015-01-12T05:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL05Z Code Warrior Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/FRDM-KL05Z-Code-Warrior-Processor-Expert/m-p/334143#M11114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As for including header files, it should be enough to use&lt;/P&gt;&lt;P&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise: you would need to post more information (your project, the errors you are seeing, etc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 08:54:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/FRDM-KL05Z-Code-Warrior-Processor-Expert/m-p/334143#M11114</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-01-12T08:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL05Z Code Warrior Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/FRDM-KL05Z-Code-Warrior-Processor-Expert/m-p/334144#M11115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. When I&lt;/P&gt;&lt;P&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/P&gt;&lt;P&gt;I get no problem. Project builds ok.&lt;/P&gt;&lt;P&gt;When I add this 1 line of code:&lt;/P&gt;&lt;P&gt;puts("A");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the following result:&lt;/P&gt;&lt;P&gt;**** Build of configuration FLASH for project BMS_01 ****&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"C:\\Freescale\\CW MCU v10.6\\gnu\\bin\\mingw32-make" -j6 all &lt;/P&gt;&lt;P&gt;'Building file: ../Sources/main.c'&lt;/P&gt;&lt;P&gt;'Executing target #2 ../Sources/main.c'&lt;/P&gt;&lt;P&gt;'Invoking: ARM Ltd Windows GCC C Compiler'&lt;/P&gt;&lt;P&gt;"C:/Freescale/CW MCU v10.6/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-gcc" "../Sources/main.c" @"Sources/main.args" -MMD -MP -MF"Sources/main.d" -o"Sources/main.o"&lt;/P&gt;&lt;P&gt;'Finished building: ../Sources/main.c'&lt;/P&gt;&lt;P&gt;' '&lt;/P&gt;&lt;P&gt;'Building target: BMS_01.elf'&lt;/P&gt;&lt;P&gt;'Executing target #19 BMS_01.elf'&lt;/P&gt;&lt;P&gt;'Invoking: ARM Ltd Windows GCC C Linker'&lt;/P&gt;&lt;P&gt;"C:/Freescale/CW MCU v10.6/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-gcc"&amp;nbsp;&amp;nbsp;&amp;nbsp; @"BMS_01.args" -o"BMS_01.elf"&lt;/P&gt;&lt;P&gt;C:/Freescale/CW MCU v10.6/MCU/ARM_GCC_Support/ewl/lib/armv6-m\libuart.a(uart_console_io.o): In function `__init_uart_console':&lt;/P&gt;&lt;P&gt;ARM_GCC_Support/ewl/EWL_C/src/sys/uart_console_io.c:200: undefined reference to `InitializeUART'&lt;/P&gt;&lt;P&gt;C:/Freescale/CW MCU v10.6/MCU/ARM_GCC_Support/ewl/lib/armv6-m\libuart.a(uart_console_io.o): In function `__read_console':&lt;/P&gt;&lt;P&gt;ARM_GCC_Support/ewl/EWL_C/src/sys/uart_console_io.c:93: undefined reference to `ReadUARTN'&lt;/P&gt;&lt;P&gt;C:/Freescale/CW MCU v10.6/MCU/ARM_GCC_Support/ewl/lib/armv6-m\libuart.a(uart_console_io.o): In function `__init_uart_console':&lt;/P&gt;&lt;P&gt;ARM_GCC_Support/ewl/EWL_C/src/sys/uart_console_io.c:200: undefined reference to `InitializeUART'&lt;/P&gt;&lt;P&gt;C:/Freescale/CW MCU v10.6/MCU/ARM_GCC_Support/ewl/lib/armv6-m\libuart.a(uart_console_io.o): In function `__write_console':&lt;/P&gt;&lt;P&gt;ARM_GCC_Support/ewl/EWL_C/src/sys/uart_console_io.c:151: undefined reference to `WriteUARTN'&lt;/P&gt;&lt;P&gt;mingw32-make: *** [BMS_01.elf] Error 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the feeling there is something I need to do to connect the functionality of puts() with the functionality of the component AsynchroSerial.&lt;/P&gt;&lt;P&gt;Can they even be connected?&lt;/P&gt;&lt;P&gt;If so, How?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 09:40:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/FRDM-KL05Z-Code-Warrior-Processor-Expert/m-p/334144#M11115</guid>
      <dc:creator>danreltek</dc:creator>
      <dc:date>2015-01-14T09:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL05Z Code Warrior Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/FRDM-KL05Z-Code-Warrior-Processor-Expert/m-p/334145#M11116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, I've just reread your advice on how to use printf() and I got rid of AsynchroSerial and replaced it with ConsoleIO. No errors!&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 09:50:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/FRDM-KL05Z-Code-Warrior-Processor-Expert/m-p/334145#M11116</guid>
      <dc:creator>danreltek</dc:creator>
      <dc:date>2015-01-14T09:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL05Z Code Warrior Processor Expert</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/FRDM-KL05Z-Code-Warrior-Processor-Expert/m-p/334146#M11117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AsynchroSerial does provide you all the low level functions needed for the EWL printf() or puts().&lt;/P&gt;&lt;P&gt;You need to add your own functions implementing InitializeUART(), ReadUARTN() and WriteUARTN().&lt;/P&gt;&lt;P&gt;You might have a look at &lt;A href="http://mcuoneclipse.com/2013/04/17/printf-with-the-frdm-kl25z-board-and-without-processor-expert/" title="http://mcuoneclipse.com/2013/04/17/printf-with-the-frdm-kl25z-board-and-without-processor-expert/"&gt;http://mcuoneclipse.com/2013/04/17/printf-with-the-frdm-kl25z-board-and-without-processor-expert/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and &lt;A href="http://mcuoneclipse.com/2012/10/14/tutorial-printf-and-hello-world-with-the-freedom-kl25z-board/" title="http://mcuoneclipse.com/2012/10/14/tutorial-printf-and-hello-world-with-the-freedom-kl25z-board/"&gt;Tutorial: printf() and “Hello World!” with the Freedom KL25Z Board | MCU on Eclipse&lt;/A&gt; which outlines the basic steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 09:53:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/FRDM-KL05Z-Code-Warrior-Processor-Expert/m-p/334146#M11117</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-01-14T09:53:22Z</dc:date>
    </item>
  </channel>
</rss>

