<?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 How to handle bulk In ZLP on LPC11U37 usbd_rom_cdc example code? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-handle-bulk-In-ZLP-on-LPC11U37-usbd-rom-cdc-example-code/m-p/524698#M7334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by liaochengyi on Mon Mar 24 23:25:54 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, Lpcware guys and all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a&amp;nbsp; question about PC side app will hang with IOCTL_SERIAL_WAIT_ON_MASK&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.keil.com%2Fforum%2F12298%2F" rel="nofollow" target="_blank"&gt;http://www.keil.com/forum/12298/&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[color=#f00]If your host app is coded in VB, and it uses OnComm with RThreshold, you may need to send extra ZLP from the device side. This problem of IOCTL_SERIAL_WAIT_ON_MASK was seen on usbser.sys on this topic in USB-IF.[/color]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In above discussion, the device side need add handler of "ZLP just after the 64 bytes IN transfer".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;May I ask, how to handle the bulk in ZLP on LPC11U37 usbd_rom_cdc example code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other question is : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the LPC11U37 usbd_rom_cdc example code also not handle the all Class-Specific Request Codes of CDC. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it need to complete it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chengyi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:49:58 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:49:58Z</dc:date>
    <item>
      <title>How to handle bulk In ZLP on LPC11U37 usbd_rom_cdc example code?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-handle-bulk-In-ZLP-on-LPC11U37-usbd-rom-cdc-example-code/m-p/524698#M7334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by liaochengyi on Mon Mar 24 23:25:54 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, Lpcware guys and all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a&amp;nbsp; question about PC side app will hang with IOCTL_SERIAL_WAIT_ON_MASK&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.keil.com%2Fforum%2F12298%2F" rel="nofollow" target="_blank"&gt;http://www.keil.com/forum/12298/&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[color=#f00]If your host app is coded in VB, and it uses OnComm with RThreshold, you may need to send extra ZLP from the device side. This problem of IOCTL_SERIAL_WAIT_ON_MASK was seen on usbser.sys on this topic in USB-IF.[/color]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In above discussion, the device side need add handler of "ZLP just after the 64 bytes IN transfer".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;May I ask, how to handle the bulk in ZLP on LPC11U37 usbd_rom_cdc example code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other question is : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the LPC11U37 usbd_rom_cdc example code also not handle the all Class-Specific Request Codes of CDC. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it need to complete it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chengyi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:49:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-handle-bulk-In-ZLP-on-LPC11U37-usbd-rom-cdc-example-code/m-p/524698#M7334</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle bulk In ZLP on LPC11U37 usbd_rom_cdc example code?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-handle-bulk-In-ZLP-on-LPC11U37-usbd-rom-cdc-example-code/m-p/524699#M7335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by liaochengyi on Thu Mar 27 08:42:14 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;OK. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;May I ask that how to handle the [[color=#f00]Class Requests[/color]] of CDC using the LPC11Uxx.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The sample code not implement the&amp;nbsp; [color=#f00]GET_LINE_CODING,&amp;nbsp; SET_CONTROL_LINE_STATE[/color]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and [color=#f00]SET_LINE_CODING[/color] is not completed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there has the more complete example from LPCWare?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chengyi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:49:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-handle-bulk-In-ZLP-on-LPC11U37-usbd-rom-cdc-example-code/m-p/524699#M7335</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:49:59Z</dc:date>
    </item>
  </channel>
</rss>

