PORTS Forum
Ports and Interfaces => USB => Topic started by: eng.Buffon on March 04, 2012, 10:16:55 pm
-
hi guys..
hi everyone..
i just wrote the firmware of Mass Storage Device on pic18f4550 and this is the time to try it..
when i simulate it on proteus it enumerates successfully but when this command get it Stall the endpoint hanging everything
this Command called CLASS_INTERFECE
this is picture of what i got
(http://i43.tinypic.com/2eyjg54.jpg)
and this is the setup packet exactly i got
(http://i40.tinypic.com/2j5i42t.jpg)
please help me
Thanks in Advance
-
"class interface" means it's a class-specific request directed to an interface.
To find the specific request, in the second screen, look under Setup Packet for bRequest.
FE is Get Max LUN.
Jan
-
yeah i got that thank you
wIndex field set to the interface number
what is supposed to be in this case ???
-
If you are asking what is the value of wIndex, it's bInterfaceNumber from the mass-storage device's interface descriptor.
Jan