??? 01/17/06 19:56 Read: times |
#107636 - I don't know why d12 don't interrupted Responding to: ???'s previous message |
Grant said:
They have a nice forum there and they have discussed the D12 in the distant past.
I have posted 2 message there about d12,but never have any answer!!! The host sends a request for a descriptor that you have. I don't think it will ask for one you don't have. It knows from the first operations which descriptors you are and are not supporting (assuming your descriptors are correct). Many of the descriptors are longer than the buffer size (for HID and/or low-speed anyway). So for the case of an 8-bit buffer you must copy over the first 8 bytes into the buffer and then allow Endpoint 0 to ACK the host. The host will take the 8-bytes (the first couple of bytes contain the overall length) and if it needs more, it will ask for the second 8. This continues until the whole descriptor is read. Then it will ask for other descripters as necessary. O.K But please correct me if i am wrong: After a host request and reading and clearing and ack_ing buffer host must send control_in_ep0 interrupt to gathering data from device,In my project it doesn't happen!!! |