Forum Discussion
Altera_Forum
Honored Contributor
11 years agoHi,
Here are few comments from my side: (1) You seems to have performed SET ADDRESS request. This is different from SET CONFIGURATION request. As per my knowledge, host should access endpoints other than default control endpoint only after configuring device using SET CONFIGURATION. Anyway, in general basically atleast following requests are performed ( you might be able to find this in the example which you are using) :- GET DEVICE DESCRIPTOR with 0x8 bytes ( @ default address )
- SET ADDRESS ( @ default address )
- GET DEVICE DESCRIPTOR with 0x12 bytes
- GET CONFIGURATION DESCRIPTOR with 0x9 bytes
- GET CONFIGURATION DESCRIPTOR with full configuration descriptor length
- SET CONFIGURATION