<?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 function in the TRK-KEA128_Lab1 gives error in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/printf-function-in-the-TRK-KEA128-Lab1-gives-error/m-p/439534#M3149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are welcome!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&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>Wed, 16 Sep 2015 05:27:59 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2015-09-16T05:27:59Z</dc:date>
    <item>
      <title>printf function in the TRK-KEA128_Lab1 gives error</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/printf-function-in-the-TRK-KEA128-Lab1-gives-error/m-p/439531#M3146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to debug the code of the example Lab1. I know its not the correct way.&lt;/P&gt;&lt;P&gt;Just wanted to ensure the correctness of the modified example program.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically I am trying to read and write from the UART line from my PC using a software C code.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting this error &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&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: *** [TRK-KEA128_Lab1.elf] Error 1&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't get any satisfying answer from the previous blogs.&lt;/P&gt;&lt;P&gt;Please help me out in sorting this issue.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 13:05:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/printf-function-in-the-TRK-KEA128-Lab1-gives-error/m-p/439531#M3146</guid>
      <dc:creator>ddpd</dc:creator>
      <dc:date>2015-09-10T13:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: printf function in the TRK-KEA128_Lab1 gives error</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/printf-function-in-the-TRK-KEA128-Lab1-gives-error/m-p/439532#M3147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just downloaded TRK-KEA128_LABTS1.zip from this url:&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/microcontrollers/software/board_support_packages/TRK-KEA128_LABTS1.zip" title="http://cache.freescale.com/files/microcontrollers/software/board_support_packages/TRK-KEA128_LABTS1.zip"&gt;http://cache.freescale.com/files/microcontrollers/software/board_support_packages/TRK-KEA128_LABTS1.zip&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I built it with CW10.6.4, there is no error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to use printf(), please pay attention to these points:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. we need add&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;in your project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. if you want to print to console, choose ewl_hosted library model&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55954iE5ADA4F4720859E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. "\n" is necessary to be added to the end of the string that we need printed out:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55955iCFE00A4A29C8ED29/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does this answer your question? If yes, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&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, 15 Sep 2015 06:58:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/printf-function-in-the-TRK-KEA128-Lab1-gives-error/m-p/439532#M3147</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-09-15T06:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: printf function in the TRK-KEA128_Lab1 gives error</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/printf-function-in-the-TRK-KEA128-Lab1-gives-error/m-p/439533#M3148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks ZhangJennie.&lt;/P&gt;&lt;P&gt;Yes I wanted to print in the console. The output was displayed in the console after changing the settings to ewl_hosted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2015 04:09:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/printf-function-in-the-TRK-KEA128-Lab1-gives-error/m-p/439533#M3148</guid>
      <dc:creator>ddpd</dc:creator>
      <dc:date>2015-09-16T04:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: printf function in the TRK-KEA128_Lab1 gives error</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/printf-function-in-the-TRK-KEA128-Lab1-gives-error/m-p/439534#M3149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are welcome!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&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>Wed, 16 Sep 2015 05:27:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/printf-function-in-the-TRK-KEA128-Lab1-gives-error/m-p/439534#M3149</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-09-16T05:27:59Z</dc:date>
    </item>
  </channel>
</rss>

