<?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 P.E. TWR K70 BAREBOARD and STDIO REdirect in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/P-E-TWR-K70-BAREBOARD-and-STDIO-REdirect/m-p/182175#M473</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Working on my first of 3 projects for the K70. I have a P.E. project running and I have been able to use an Async Serial component to send data back to a terminal. Now I would like to redirect STDIO out as well. Currently, printf statmements do who up in a CodeWarrior terminal but I would like to redirect all stdio to any port I wish.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Been searching for this solution for a few hours.. coming up short. Could really use an assist here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Crezyoz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jul 2012 00:29:31 GMT</pubDate>
    <dc:creator>crezyoz</dc:creator>
    <dc:date>2012-07-24T00:29:31Z</dc:date>
    <item>
      <title>P.E. TWR K70 BAREBOARD and STDIO REdirect</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/P-E-TWR-K70-BAREBOARD-and-STDIO-REdirect/m-p/182175#M473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Working on my first of 3 projects for the K70. I have a P.E. project running and I have been able to use an Async Serial component to send data back to a terminal. Now I would like to redirect STDIO out as well. Currently, printf statmements do who up in a CodeWarrior terminal but I would like to redirect all stdio to any port I wish.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Been searching for this solution for a few hours.. coming up short. Could really use an assist here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Crezyoz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 00:29:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/P-E-TWR-K70-BAREBOARD-and-STDIO-REdirect/m-p/182175#M473</guid>
      <dc:creator>crezyoz</dc:creator>
      <dc:date>2012-07-24T00:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: P.E. TWR K70 BAREBOARD and STDIO REdirect</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/P-E-TWR-K70-BAREBOARD-and-STDIO-REdirect/m-p/182176#M474</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;You can redirect the printf to serial port by redefining the following functions to use serial port:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;int __read_console(__file_handle handle, unsigned char* buffer, size_t * count);&lt;/P&gt;&lt;P&gt;int __write_console(__file_handle handle, unsigned char* buffer, size_t* count);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can find examples in the CW directory - MCU\CodeWarrior_Examples\Processor_Expert\Kinetis\TWR-K70FN1M&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Petr Hradsky&lt;BR /&gt;Processor Expert Support Team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 20:27:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/P-E-TWR-K70-BAREBOARD-and-STDIO-REdirect/m-p/182176#M474</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2012-07-24T20:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: P.E. TWR K70 BAREBOARD and STDIO REdirect</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/P-E-TWR-K70-BAREBOARD-and-STDIO-REdirect/m-p/182177#M475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response. I am not sure how to integrate that with the PE code I have for the K70. The only serial example I found was in the K40 folders.I am new to the K70 and even newer to PE so it's all somewhat of a mystery to me still.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have successfuly been able to send output to the host using the USB serial connection form the K70 (UART2). But I can not receive any input from incoming characters sent from my terminal. Apparently there is a problem when attempting to use this ? SO I installed the TWR-SER board but it uses the same UART&amp;nbsp; as the USB serial setup on the K70-TWR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I am confused as to what to do next..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 3 products to get up and running soon. Is there another way to get faster help with things like this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 01:08:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/P-E-TWR-K70-BAREBOARD-and-STDIO-REdirect/m-p/182177#M475</guid>
      <dc:creator>crezyoz</dc:creator>
      <dc:date>2012-07-25T01:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: P.E. TWR K70 BAREBOARD and STDIO REdirect</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/P-E-TWR-K70-BAREBOARD-and-STDIO-REdirect/m-p/182178#M476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look for example at the CRC demo project, the file is {CW MCU v10.2}\MCU\CodeWarrior_Examples\Processor_Expert\Kinetis\TWR-K70FN1M\CRC\Sources\ConsoleIO.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Petr Hradsky&lt;BR /&gt;Processor Expert Support Team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 15:12:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/P-E-TWR-K70-BAREBOARD-and-STDIO-REdirect/m-p/182178#M476</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2012-07-25T15:12:32Z</dc:date>
    </item>
  </channel>
</rss>

