<?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>MQX Software Solutions中的主题 K22 MXQ4.02 serial port will miss characters if paste a lot of commands together(cause overflow and RX_OVERRUNS)</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/K22-MXQ4-02-serial-port-will-miss-characters-if-paste-a-lot-of/m-p/335797#M10818</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 searched the same question but not found similar ones. As title described, when I paste a lot of commands at the same time, eg: help, or wmiconfig.. (More than 10+), the shell will echo some of them (maybe 6), the remained commands will not be executed. This can be understood because UART can't handle high-speed data/cmd input/output. Am I right? I set 8-n-1 no flowcontrol and 115200 baud rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When above action is done, the next serial input will be misplaced. when I input "help", the serial output will be "xhel" where x is the last character just before the current input. Most times it is "\r". That means when I input "12345" it can only show "123", when I input "\n \n", the "45" will be displayed on serial port. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I verified with almost the same SDK on K60 (120Mhz MCU), this issue can't be found. But when I try on K22(50Mhz MCU), it can be reproduced easily. Would anyone give some advice?Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Jan 2015 11:11:25 GMT</pubDate>
    <dc:creator>wangsonwang</dc:creator>
    <dc:date>2015-01-12T11:11:25Z</dc:date>
    <item>
      <title>K22 MXQ4.02 serial port will miss characters if paste a lot of commands together(cause overflow and RX_OVERRUNS)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K22-MXQ4-02-serial-port-will-miss-characters-if-paste-a-lot-of/m-p/335797#M10818</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 searched the same question but not found similar ones. As title described, when I paste a lot of commands at the same time, eg: help, or wmiconfig.. (More than 10+), the shell will echo some of them (maybe 6), the remained commands will not be executed. This can be understood because UART can't handle high-speed data/cmd input/output. Am I right? I set 8-n-1 no flowcontrol and 115200 baud rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When above action is done, the next serial input will be misplaced. when I input "help", the serial output will be "xhel" where x is the last character just before the current input. Most times it is "\r". That means when I input "12345" it can only show "123", when I input "\n \n", the "45" will be displayed on serial port. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I verified with almost the same SDK on K60 (120Mhz MCU), this issue can't be found. But when I try on K22(50Mhz MCU), it can be reproduced easily. Would anyone give some advice?Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 11:11:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K22-MXQ4-02-serial-port-will-miss-characters-if-paste-a-lot-of/m-p/335797#M10818</guid>
      <dc:creator>wangsonwang</dc:creator>
      <dc:date>2015-01-12T11:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: K22 MXQ4.02 serial port will miss characters if paste a lot of commands together(cause overflow and RX_OVERRUNS)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K22-MXQ4-02-serial-port-will-miss-characters-if-paste-a-lot-of/m-p/335798#M10819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi wangson wang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to reproduce this issue, so are you using a MQX example or could you share a code example in order to test this issue??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt; Sol &lt;BR /&gt; &lt;BR /&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, 14 Jan 2015 00:05:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K22-MXQ4-02-serial-port-will-miss-characters-if-paste-a-lot-of/m-p/335798#M10819</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2015-01-14T00:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: K22 MXQ4.02 serial port will miss characters if paste a lot of commands together(cause overflow and RX_OVERRUNS)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K22-MXQ4-02-serial-port-will-miss-characters-if-paste-a-lot-of/m-p/335799#M10820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soledad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found root cause and fixed it. MQX4.0.2 SDK missed handling serial overflow case but I'm still wondering why it happens on K22 instead of K60.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 01:44:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K22-MXQ4-02-serial-port-will-miss-characters-if-paste-a-lot-of/m-p/335799#M10820</guid>
      <dc:creator>wangsonwang</dc:creator>
      <dc:date>2015-01-16T01:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: K22 MXQ4.02 serial port will miss characters if paste a lot of commands together(cause overflow and RX_OVERRUNS)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K22-MXQ4-02-serial-port-will-miss-characters-if-paste-a-lot-of/m-p/335800#M10821</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 am experiencing the same issue with MQX 4.1 and a K64 @ 100MHz. Are you willing to share your solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To reproduce it, here is a summary of my setup:&lt;/P&gt;&lt;P&gt;- MQX Shell task on UART1 (polled mode, baud:115200)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333339691162px;"&gt;- Task busy processing data over U&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333339691162px; line-height: 1.5em;"&gt;ART0 &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333339691162px;"&gt;(interrupt mode, baud:9600)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp; I have a application with several tasks including some RTCS ones but they are all idle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using my terminal application I use a "SendFile" function which sends the file at the 115200 baud continually until the file is sent. This will intermittently cause the exact issue that you have described.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 19:13:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K22-MXQ4-02-serial-port-will-miss-characters-if-paste-a-lot-of/m-p/335800#M10821</guid>
      <dc:creator>tmeyer</dc:creator>
      <dc:date>2015-01-30T19:13:11Z</dc:date>
    </item>
  </channel>
</rss>

