succeeded!!!
Posted: Tue Apr 03, 2007 8:59 am
hello I'm a student from China.
I'm very happy. my AVRUSB can communicate to my compute now.
my AVRUSB have 4 endpoints:
CONTROL IN/OUT 0
INTR IN 1
BULK OUT 1
BULK IN 3
firstly I send data by OUT1 successfully but failed to receive data by IN3.
Today ,I fix the problem:
The initial toggle status of IN3 must be DATA1(while in the program it is reset to DATA0)
Cause When usbSetInterrupt3() is called toggle status is invert the initial status DATA1 make sure the first packet status is DATA0.
Thanks to all the people.
i hope it is helpful.
I'm very happy. my AVRUSB can communicate to my compute now.
my AVRUSB have 4 endpoints:
CONTROL IN/OUT 0
INTR IN 1
BULK OUT 1
BULK IN 3
firstly I send data by OUT1 successfully but failed to receive data by IN3.
Today ,I fix the problem:
The initial toggle status of IN3 must be DATA1(while in the program it is reset to DATA0)
Cause When usbSetInterrupt3() is called toggle status is invert the initial status DATA1 make sure the first packet status is DATA0.
Thanks to all the people.
i hope it is helpful.