??? 01/20/06 14:06 Read: times |
#107884 - Sorry, I confused Responding to: ???'s previous message |
Mehdi said:
Yes,I send ack to the host after validating the request from memory Sorry, I confused 'Acknowledge setup' and 'ACK' on the USB bus. Considering inter packet delay, ACK will be automatically returned by the USB engine (SIE) on D12 just after reception of 'Setup-Data' packets. Mehdi said:
Again,My problem is really this,I never receive any IN transaction from host Send 'Acknowledge setup' and then write the first 8 bytes of the device descriptor to Control IN buffer. I suppose you'll get Control IN interrupt just after this packet is sent to the host. Until Control IN buffer is filled, D12 may be NAKing to IN transaction without issuing interrupt. If you cannot get IN interrupt, some flags are missed to be set on the sequence before writing IN buffer. For example, - 'Acknowledge setup' command to both of Control OUT and Control IN EP? Anyway, D12 datasheet has almost no description on how the USB engine behave. It is why we are wandering about... Tsuneo |