Content originally posted in LPCWare by alesvicic on Tue Oct 22 08:28:08 MST 2013
Hi,
this is confusing.
I had an CDC RNDIS application running on LPC2368 and LPC1768 running as USB 1.1 with 8 bytes as USB_MAX_PACKET0.
I tried to convert it to LPC1347 ROM CDC driver but it seems that ROM driver it was not ment to handle control packets > USB_MAX_PACKET0 (in this case 64 bytes).
In RNDIS case the first packet you came across is CDC_GetEncpsResp with max. size of 136 bytes (IN direction).
If I look at the application for LPC23xx and LPC17xx it took care about this in DataInStage function.
Ales