??? 01/24/06 15:36 Read: times |
#108191 - 'Read buffer' and 'Write buffer' Responding to: ???'s previous message |
Tsuneo said:
Did you notice that both of 'Read buffer' command code and 'Write buffer' code are the same code 'F0'? That is, the code 'F0' works as 'Read buffer' on the OUT EP. On the IN EP, it works as 'Write buffer'.
Therefore, you cannot 'read' from IN EP. When your code 'read's from IN EP, it works as 'write', actually. Thanks Tsuneo Yes,You are right, But This code was only for ensuring if data is sent to in buffer completely or not,And the result certify it, I removed it and read control out but as i said previously i get the same request after any bus reset 80H 06H 00H 01H 00H 00H 40H 00H Why i can't get control in interrupt, Excuse me,but if it is possible for you have a look in my source code,Maybe there is another thing that i have forgotten it Mehdi |