How to handle bulk In ZLP on LPC11U37 usbd_rom_cdc example code?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to handle bulk In ZLP on LPC11U37 usbd_rom_cdc example code?

552 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by liaochengyi on Mon Mar 24 23:25:54 MST 2014
Hi, Lpcware guys and all,

I have a  question about PC side app will hang with IOCTL_SERIAL_WAIT_ON_MASK

http://www.keil.com/forum/12298/

[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]

In above discussion, the device side need add handler of "ZLP just after the 64 bytes IN transfer".

May I ask, how to handle the bulk in ZLP on LPC11U37 usbd_rom_cdc example code?


The other question is :
the LPC11U37 usbd_rom_cdc example code also not handle the all Class-Specific Request Codes of CDC.

Is it need to complete it?

Thank you for your answer.
Best regards,
Chengyi
Labels (1)
0 Kudos
1 Reply

509 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by liaochengyi on Thu Mar 27 08:42:14 MST 2014
OK.

May I ask that how to handle the [[color=#f00]Class Requests[/color]] of CDC using the LPC11Uxx.

The sample code not implement the  [color=#f00]GET_LINE_CODING,  SET_CONTROL_LINE_STATE[/color]
and [color=#f00]SET_LINE_CODING[/color] is not completed.

Is there has the more complete example from LPCWare?

Thank you
Best regards,
Chengyi
0 Kudos