This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB LPC2378 Control transfer type problem

1) I used USB memory example(in Keil mVision) to customize my own firware to demo about control transfer which vendor specific. And when i use KMDF. Driver send a Control with 1 byte data in data phase, I received correct data length but data are different from data of driver. Especially, when driver send same value, i receive corresponding data. For example, driver send 0x01, firmware receive A(i don't remember exactly), driver send 0x02, firmware always receive B, etc.

2) Moreover, in example, request Get_Descriptor, why call DataInStage in EVT_SETUP, this is different from Control protocol specificaton(in my vendor set up request, i try call DataInstage in EVT_OUT, driver have fail operation).

3) To send ACK packet to driver, how?

Thank for reading my questions.

PS. I'm sorry. My English is bad.