<?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 packet not sent if size equal to buffer size in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-packet-not-sent-if-size-equal-to-buffer-size/m-p/259898#M7691</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone help me in this issue ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Nov 2013 20:43:26 GMT</pubDate>
    <dc:creator>freuz</dc:creator>
    <dc:date>2013-11-07T20:43:26Z</dc:date>
    <item>
      <title>USB packet not sent if size equal to buffer size</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-packet-not-sent-if-size-equal-to-buffer-size/m-p/259897#M7690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using KM20DN512 in USB slave device connected to a windows PC with winUSB driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the original MQX 4.0 usb device driver with endpoint buffer size to 64bytes in BULK. In according to CDC example demo, I send a zero lenght packet if the modulo of data size to send is equal to endpoint buffer size (data size % 64 == 0). But my problem is if the data size to send is exactly equal to endpoint buffer size, the data packet is not sent (I see no data transaction with the USB sniffer ie TotalPhase Beagle) and I only see the zero lenght packet. In other words, the data packet is sent if size &amp;gt;64 or size&amp;lt;64, not sent if size==64. I have already read and post on this thread with no satisfying answer: &lt;A _jive_internal="true" href="https://community.nxp.com/message/304117#304117" title="https://community.freescale.com/message/304117#304117"&gt;https://community.freescale.com/message/304117#304117&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone have any idea to finally solve this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frédéric Parent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 19:09:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-packet-not-sent-if-size-equal-to-buffer-size/m-p/259897#M7690</guid>
      <dc:creator>freuz</dc:creator>
      <dc:date>2013-11-05T19:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: USB packet not sent if size equal to buffer size</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-packet-not-sent-if-size-equal-to-buffer-size/m-p/259898#M7691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone help me in this issue ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 20:43:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-packet-not-sent-if-size-equal-to-buffer-size/m-p/259898#M7691</guid>
      <dc:creator>freuz</dc:creator>
      <dc:date>2013-11-07T20:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: USB packet not sent if size equal to buffer size</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-packet-not-sent-if-size-equal-to-buffer-size/m-p/259899#M7692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally, I found the problem... with WinUSB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 21:10:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-packet-not-sent-if-size-equal-to-buffer-size/m-p/259899#M7692</guid>
      <dc:creator>freuz</dc:creator>
      <dc:date>2013-12-17T21:10:00Z</dc:date>
    </item>
  </channel>
</rss>

