This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

USB EP0DATADONE event never generated

I get to the point of having the EP0SETUP event being generated, I check BMREQUEST and WVALUEH and see that it's a request for the device descriptor,this is on windows and the WLENGTHH is 64 bytes. I load the device descriptor into EPIN[0].PTR and the size into EPIN[0].CNT start the STARTEPIN0 task, I wait for the STARTED and ENDEPIN0 events both of which are generated successfully and then I wait for the EP0DATADONE event - it's never generated, what am I doing wrong?

Thanks

Parents Reply Children
Related