??? 01/20/06 14:38 Read: times |
#107885 - Sorry, I confused Responding to: ???'s previous message |
Tsuneo said:
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.
I send 'Acknowledge setup' command [#0F1H] 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? Thanks,I do all steps above that you have mentioned Here is more about my steps Interrupt Register: 11000000B (suspend change and bus reset are set) 00000001B (control out EP is set) 01000000B (bus reset is set) 00000001B (control out EP is set) 01000000B (bus reset is set) 00000001B (control out EP is set) 10000000B (suspend change is set) Last Transaction status is 00100001B always! I'll try and surly contribute the result here for all who want to use D12, Mehdi |