<?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: Re: Configuring Console I/O in Processor expert for Freedom KL-25Z in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Configuring-Console-I-O-in-Processor-expert-for-Freedom-KL-25Z/m-p/266719#M10063</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;Thanks for your response. I cannot find the new property you mention in processor expert or in the help on component. I'm using CodeWarrior 10.5 with the integrated Processor Expert. I'm attaching my project. &lt;/P&gt;&lt;P&gt;Thanks, Lance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Oct 2013 17:15:34 GMT</pubDate>
    <dc:creator>LanceHalsted</dc:creator>
    <dc:date>2013-10-08T17:15:34Z</dc:date>
    <item>
      <title>Configuring Console I/O in Processor expert for Freedom KL-25Z</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Configuring-Console-I-O-in-Processor-expert-for-Freedom-KL-25Z/m-p/266717#M10061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recently took a DwF course on Processor Expert and MQX lite. One of the labs used PE to configure console I/O for input (using getchar) and output (using printf). When I follow the lab now, the getchar() function returns something even when nothing is typed, so the program continually scrolls the output. Even when I import the board configuration from the actual class it does not work correctly - the output continually scrolls with the "Invalid Selection" message.&lt;/P&gt;&lt;P&gt;Is there something that needs configuring on the Console I/O component so that getchar() will work correctly? I'm using CodeWarrior 10.5 and the CodeWarrior Terminal window (but HyperTerminal and TeraTerm do the same thing.). The code is:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; while(1)&lt;/P&gt;&lt;P&gt;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("Welcome to the PEx Serial Console\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("Select from the following menu:&amp;nbsp; \n\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("1 :&amp;nbsp; Blink Red LED\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("2 :&amp;nbsp; Stop Blinking Red LED\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; temp_char = getchar();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (temp_char == '1')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\nBlinking Red LED\n\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BlinkTimer_Enable(NULL);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (temp_char == '2')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\nNot Blinking Red LED\n\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Stop timer and turn off LED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BlinkTimer_Disable(NULL);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RedLED_PutVal(NULL, 1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\n\nInvalid Selection!!!\n\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 03:09:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Configuring-Console-I-O-in-Processor-expert-for-Freedom-KL-25Z/m-p/266717#M10061</guid>
      <dc:creator>LanceHalsted</dc:creator>
      <dc:date>2013-10-08T03:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Console I/O in Processor expert for Freedom KL-25Z</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Configuring-Console-I-O-in-Processor-expert-for-Freedom-KL-25Z/m-p/266718#M10062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; new property "&lt;STRONG&gt;Wait until at least one char is received&lt;/STRONG&gt;" has been added into the ConsoleIO component. Default value of this property is "yes". See componet help for more information. I have just tested your code with this setting and it works as expected. Please verify your ConsoleIO component setting or provide your project for testing.&lt;/P&gt;&lt;P&gt;MVa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 14:01:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Configuring-Console-I-O-in-Processor-expert-for-Freedom-KL-25Z/m-p/266718#M10062</guid>
      <dc:creator>MVa</dc:creator>
      <dc:date>2013-10-08T14:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Configuring Console I/O in Processor expert for Freedom KL-25Z</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Configuring-Console-I-O-in-Processor-expert-for-Freedom-KL-25Z/m-p/266719#M10063</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;Thanks for your response. I cannot find the new property you mention in processor expert or in the help on component. I'm using CodeWarrior 10.5 with the integrated Processor Expert. I'm attaching my project. &lt;/P&gt;&lt;P&gt;Thanks, Lance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 17:15:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Configuring-Console-I-O-in-Processor-expert-for-Freedom-KL-25Z/m-p/266719#M10063</guid>
      <dc:creator>LanceHalsted</dc:creator>
      <dc:date>2013-10-08T17:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Configuring Console I/O in Processor expert for Freedom KL-25Z</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Configuring-Console-I-O-in-Processor-expert-for-Freedom-KL-25Z/m-p/266720#M10064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please find the attached hot-fix. After applying it you should be able to see the "&lt;STRONG&gt;Wait until at least one char is received&lt;/STRONG&gt;" property and use ConsoleIO component without any additional problems. To apply the patch just copy MCU folder in the archive over existing MCU folder in your CW installation (details in the readme file in the archive).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are sorry for inconvenience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Vojtech Filip&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 07:12:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Configuring-Console-I-O-in-Processor-expert-for-Freedom-KL-25Z/m-p/266720#M10064</guid>
      <dc:creator>vfilip</dc:creator>
      <dc:date>2013-10-15T07:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Console I/O in Processor expert for Freedom KL-25Z</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Configuring-Console-I-O-in-Processor-expert-for-Freedom-KL-25Z/m-p/266721#M10065</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 class="wordsection1"&gt;CW MCU v10.5 Update 1.0.0 Available on WEB!&lt;/P&gt;&lt;P class="wordsection1"&gt; This update is for CodeWarrior Development Studio for Microcontrollers v10.5. It fixes the following defects:&lt;/P&gt;&lt;P class="wordsection1"&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;General&lt;/LI&gt;&lt;/UL&gt;&lt;P class="wordsection1" style="margin-left: 27.0pt; text-indent: -9.0pt;"&gt;- ENGR00283122 – The Processor Expert ConsoleIO component changed from blocking to non-blocking, so code generated for the getchar() function returned something even when nothing is typed. The "Wait until at least one char is received" property was fixed to correct this issue.&lt;/P&gt;&lt;P class="wordsection1" style="margin-left: 27.0pt; text-indent: -9.0pt;"&gt;&lt;/P&gt;&lt;P class="wordsection1" style="margin-left: 27.0pt; text-indent: -9.0pt;"&gt;This update solved the problem you've reported.&lt;/P&gt;&lt;P class="wordsection1" style="margin-left: 27.0pt; text-indent: -9.0pt;"&gt;you can downloaded it from our web site via the link:&lt;/P&gt;&lt;P class="wordsection1" style="margin-left: 27.0pt; text-indent: -9.0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_UPDATES_MCU_10_5" title="http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_UPDATES_MCU_10_5"&gt;http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_UPDATES_MCU_10_5&lt;/A&gt;&lt;/P&gt;&lt;P class="wordsection1" style="margin-left: 27.0pt; text-indent: -9.0pt;"&gt;&lt;/P&gt;&lt;P class="wordsection1" style="margin-left: 27.0pt; text-indent: -9.0pt;"&gt;Regards&lt;/P&gt;&lt;P class="wordsection1" style="margin-left: 27.0pt; text-indent: -9.0pt;"&gt;Pascal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 08:18:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Configuring-Console-I-O-in-Processor-expert-for-Freedom-KL-25Z/m-p/266721#M10065</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2013-11-20T08:18:59Z</dc:date>
    </item>
  </channel>
</rss>

