Author Topic: (CLASS_INTERFACE) STALL end point 0 (control end point)?!!!  (Read 11730 times)

eng.Buffon

  • Member
  • ***
  • Posts: 23
(CLASS_INTERFACE) STALL end point 0 (control end point)?!!!
« 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



and this is the setup packet exactly i got




please help me
Thanks in Advance

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: (CLASS_INTERFACE) STALL end point 0 (control end point)?!!!
« Reply #1 on: March 04, 2012, 10:41:53 pm »
"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

eng.Buffon

  • Member
  • ***
  • Posts: 23
Re: (CLASS_INTERFACE) STALL end point 0 (control end point)?!!!
« Reply #2 on: March 04, 2012, 10:54:55 pm »
yeah i got that thank you

wIndex field set to the interface number

what is supposed to be in this case ???

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: (CLASS_INTERFACE) STALL end point 0 (control end point)?!!!
« Reply #3 on: March 05, 2012, 12:26:02 pm »
If you are asking what is the value of wIndex, it's bInterfaceNumber from the mass-storage device's interface descriptor.

Jan