??? 01/23/06 02:46 Modified: 01/23/06 02:49 Read: times |
#108056 - ZLP itself is not the key Responding to: ???'s previous message |
Mehdi said:
As you see below ZLP is only for EP-control_in Sorry, I misread your comment "I send a zero length packet after acknowledge setup command to both of control in and control out." Surely, your ZLP code seems to be the same command sequence as Philips example. I think your code didn't write the device descriptor to the control IN EP properly. On the other hand, as the ZLP routine properly writes to the control IN EP, you got interrupt. ZLP itself is not the key. The problem lies on the procedure to write the descriptor to the control IN EP. Post the code to write the descriptor to the control IN EP. Tsuneo |