<?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: usb_serial missing data in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/usb-serial-missing-data/m-p/551590#M11935</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Tsuneo on Sun Oct 16 13:04:37 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi tgiacomelli,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Code Red is still based on the old release version of LPCUSB CDC, which applies NAK interrupt. This version didn't yet implement transfer termination on bulk IN by ZLP, and latency timer by SOF, too. I discussed on this issue with Bertrik on this thread,&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://tech.groups.yahoo.com/group/lpc2000/message/23422&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;His newer version on the sourceforge SVN has revised these problems perfectly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;https://lpcusb.svn.sourceforge.net/svnroot/lpcusb/trunk/target/examples/main_serial.c&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I recommend you to replace the CDC code with this new one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tsuneo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:30:35 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:30:35Z</dc:date>
    <item>
      <title>usb_serial missing data</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/usb-serial-missing-data/m-p/551589#M11934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tgiacomelli on Fri Oct 14 02:26:42 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; I have used the sample application RDB1768cmsis2_usbstack and RDB1768cmsis2_usb_serial to send 20000 bytes, however the data transfert fails, I only get part of the data. If add a tempo after each character sent, the transfert works but the speed is very low.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached the file main_serial.c and a small python script used as hyperterminal. I have only replaced in the example the echo function with my function to send 20000 bytes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think there is something wrong in the communication protocol. I have also seen time to time that the transfert is almost completed only some chunk of 64byte are missing, then these missing bytes are send with the next data transfert.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:30:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/usb-serial-missing-data/m-p/551589#M11934</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: usb_serial missing data</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/usb-serial-missing-data/m-p/551590#M11935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Tsuneo on Sun Oct 16 13:04:37 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi tgiacomelli,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Code Red is still based on the old release version of LPCUSB CDC, which applies NAK interrupt. This version didn't yet implement transfer termination on bulk IN by ZLP, and latency timer by SOF, too. I discussed on this issue with Bertrik on this thread,&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://tech.groups.yahoo.com/group/lpc2000/message/23422&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;His newer version on the sourceforge SVN has revised these problems perfectly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;https://lpcusb.svn.sourceforge.net/svnroot/lpcusb/trunk/target/examples/main_serial.c&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I recommend you to replace the CDC code with this new one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tsuneo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:30:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/usb-serial-missing-data/m-p/551590#M11935</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: usb_serial missing data</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/usb-serial-missing-data/m-p/551591#M11936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tgiacomelli on Wed Oct 19 00:42:06 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you it has solved the problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:30:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/usb-serial-missing-data/m-p/551591#M11936</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:30:35Z</dc:date>
    </item>
  </channel>
</rss>

