OpenCores
no use no use 1/1 no use no use
HOW TO Clear STALL condition?
by Unknown on May 5, 2004
Not available!
Hello all, can some one give me the microsoft enumeration sequence ? Thankyou ravi ----- Original Message ----- From: Jeff Lin jlin87@y...> To: usb@o..., midas@j... Date: Wed, 12 Nov 2003 15:01:29 -0800 (PST) Subject: Re: [usb] HOW TO Clear STALL condition?
Here you are setting 2B wIndex = 0x8200. That could be the source of probelm. According to spec, you will need to set wIndex tto EP for clear feature of EPs. You may want to try with wIndex = 2, the EP#, i.e. Setup,payload(0x02,0x01,00,00, 00, 02, 00,00),In, Do update. midas@j... wrote: i have already tried your method, but still fail. following is my messages: CLEAR_FEATURE sequence: Setup,payload(0x02,0x01,00,00,0x82,00,00,00),In, endpoint 0x02 ,address 0x08(my define) but it still gets "STALL". Is my method wrong? Or should I use other commands? Thanks a lot. ----- Original Message ----- From: "Gayathri Seshadri" To: Date: Fri, 3 Oct 2003 09:38:18 +0530 Subject: Re: [usb] HOW TO Clear STALL condition?
>
>
> Hi,
>
> As far as my experience with the USB mass storage protocol, i

would
> suggest you to do a clear feature endpoint stall to the IN

endpoint
> of the
> bulk type. Normally the cbw suggests the expected no. of bytes

in
> one of
> its 31 bytes and the bulk IN endpoint if has only lesser to

the
> expected no.
> of bytes, it sends a STALL.
> As i suggested earlier, you can try "CLEAR_FEATURE"(endpoint

stall)
> for
> the bulk in endpoint that stalled.
>
> Let me know if this helped..
>
> Regards,
> Gayathri Seshadri.
>
> ----- Original Message -----
> From:
> To:
> Sent: Thursday, October 02, 2003 1:36 PM
> Subject: [usb] HOW TO Clear STALL condition?
>
>
> Hi,
> I'm a newbie to USB and USB mass storage devices.
> I have a little trouble with my Cypress SL811HS Host

> Controller.
> I've got the device to enumerate and I've found all of

it's
> endpoints and
> I'm able to send CBW's to the bulk OUT endpoint and read

my
> data from
> the IN endpoint as well as getting my CSW out from the IN

> endpoint.
> For certain commands like INQUIRY and REQUEST SENSE I

have
> already
> been able to execute in the following sequence..
> 1. Send CBW to bulk OUT endpoint
> 2. Read DATA from bulk IN endpoint
> 3. Read CSW from bulk IN endpoint.
>
> For commands like READ_10 and READ_CAPACITY use sequence

> above.
> The device WILL be stalled by host.
> Is this STALL just a handshaking message to differentiate

a
> data
> transfer from a CSW transfer? And how to clear this STALL

> condition?
> I approciate your help.
>
> i.e.
> Read_Capacity
> Host Device
> OUT_CBW ->
> In ->
> > In ->
> > In ->
> > In ->
> > In ->
> > In ->
> > In ->
> STALL -> //How to clear

> this stall
> message
> //and

> continue getting
> the following
> //data?
>
>
>

>

Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard


HOW TO Clear STALL condition?
by Unknown on May 5, 2004
Not available!
Hi The following gives you the microsoft enumeration sequence. * Reset * Get Device Descriptor.(18 bytes). * Reset * Set address. * Get device descriptor (18 bytes). * Get config descriptor (9 bytes). * Get config descriptor (all bytes). * Set configuration. Regards, Ravi ----- Original Message ----- From: rkumar_31@yahoo.com> To: jlin87@yahoo.com>; usb@opencores.org> Sent: Tuesday, May 04, 2004 11:48 PM Subject: Re: [usb] HOW TO Clear STALL condition?
Hello all, can some one give me the microsoft enumeration sequence ? Thankyou ravi ----- Original Message ----- From: Jeff Lin jlin87@y...> To: usb@o..., midas@j... Date: Wed, 12 Nov 2003 15:01:29 -0800 (PST) Subject: Re: [usb] HOW TO Clear STALL condition?
> Here you are setting 2B wIndex = 0x8200. That could be the source > of probelm. > According to spec, you will need to set wIndex tto EP for clear > feature of EPs. > You may want to try with wIndex = 2, the EP#, i.e. > Setup,payload(0x02,0x01,00,00, 00, 02, 00,00),In, > > Do update. > midas@j... wrote: > i have already tried your method, but still fail. > following is my messages: > CLEAR_FEATURE sequence: > Setup,payload(0x02,0x01,00,00,0x82,00,00,00),In, > endpoint 0x02 ,address 0x08(my define) > but it still gets "STALL". > Is my method wrong? Or should I use other commands? > Thanks a lot. > ----- Original Message ----- > From: "Gayathri Seshadri" > To: > Date: Fri, 3 Oct 2003 09:38:18 +0530 > Subject: Re: [usb] HOW TO Clear STALL condition?
>
>
> Hi,
>
> As far as my experience with the USB mass storage protocol, i

> would
> suggest you to do a clear feature endpoint stall to the IN

> endpoint
> of the
> bulk type. Normally the cbw suggests the expected no. of bytes

> in
> one of
> its 31 bytes and the bulk IN endpoint if has only lesser to

> the
> expected no.
> of bytes, it sends a STALL.
> As i suggested earlier, you can try "CLEAR_FEATURE"(endpoint

> stall)
> for
> the bulk in endpoint that stalled.
>
> Let me know if this helped..
>
> Regards,
> Gayathri Seshadri.
>
> ----- Original Message -----
> From:
> To:
> Sent: Thursday, October 02, 2003 1:36 PM
> Subject: [usb] HOW TO Clear STALL condition?
>
>
> > Hi,
> > I'm a newbie to USB and USB mass storage devices.
> > I have a little trouble with my Cypress SL811HS Host

> Controller.
> > I've got the device to enumerate and I've found all of

> it's
> endpoints and
> > I'm able to send CBW's to the bulk OUT endpoint and read

> my
> data from
> > the IN endpoint as well as getting my CSW out from the IN

> endpoint.
> > For certain commands like INQUIRY and REQUEST SENSE I

> have
> already
> > been able to execute in the following sequence..
> > 1. Send CBW to bulk OUT endpoint
> > 2. Read DATA from bulk IN endpoint
> > 3. Read CSW from bulk IN endpoint.
> >
> > For commands like READ_10 and READ_CAPACITY use sequence

> above.
> > The device WILL be stalled by host.
> > Is this STALL just a handshaking message to differentiate

> a
> data
> > transfer from a CSW transfer? And how to clear this STALL

> condition?
> > I approciate your help.
> >
> > i.e.
> > Read_Capacity
> > Host Device
> > OUT_CBW ->
> > In ->
> > > > In ->
> > > > In ->
> > > > In ->
> > > > In ->
> > > > In ->
> > > > In ->
> > STALL -> //How to clear

> this stall
> message
> > //and

> continue getting
> the following
> > //data?
> >
> >
> >

>

> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
>
_______________________________________________ http://www.opencores.org/mailman/listinfo/usb


HOW TO Clear STALL condition?
by maneesha on Sep 10, 2007
maneesha
Posts: 1
Joined: Jun 12, 2009
Last seen: Jun 23, 2009
Hi, I have been trying to configure SL811HS as device. As per the enumeration flow i have been able to get first descriptor request i.e request for 64 bytes-> slave address->im able to get descriptor request for second time i.e request for 18 bytes......after which i get the interrupt and i send set Receive data from host. After which i either dont get the interrupt or my device enumeration starts again. I would be grateful for solution for the same . ----- Original Message ----- From: Jeff Lin jlin87 at y...> To: usb at o..., midas at j... Date: Wed, 12 Nov 2003 15:01:29 -0800 (PST) Subject: Re: [usb] HOW TO Clear STALL condition?
Here you are setting 2B wIndex = 0x8200. That could be the source of probelm. According to spec, you will need to set wIndex tto EP for clear feature of EPs. You may want to try with wIndex = 2, the EP#, i.e. Setup,payload(0x02,0x01,00,00, 00, 02, 00,00),In, Do update. midas at j... wrote: i have already tried your method, but still fail. following is my messages: CLEAR_FEATURE sequence: Setup,payload(0x02,0x01,00,00,0x82,00,00,00),In, endpoint 0x02 ,address 0x08(my define) but it still gets "STALL". Is my method wrong? Or should I use other commands? Thanks a lot. ----- Original Message ----- From: "Gayathri Seshadri" To: Date: Fri, 3 Oct 2003 09:38:18 +0530 Subject: Re: [usb] HOW TO Clear STALL condition?
>
>
> Hi,
>
> As far as my experience with the USB mass storage protocol, i

would
> suggest you to do a clear feature endpoint stall to the IN

endpoint
> of the
> bulk type. Normally the cbw suggests the expected no. of bytes

in
> one of
> its 31 bytes and the bulk IN endpoint if has only lesser to

the
> expected no.
> of bytes, it sends a STALL.
> As i suggested earlier, you can try "CLEAR_FEATURE"(endpoint

stall)
> for
> the bulk in endpoint that stalled.
>
> Let me know if this helped..
>
> Regards,
> Gayathri Seshadri.
>
> ----- Original Message -----
> From:
> To:
> Sent: Thursday, October 02, 2003 1:36 PM
> Subject: [usb] HOW TO Clear STALL condition?
>
>
> Hi,
> I'm a newbie to USB and USB mass storage devices.
> I have a little trouble with my Cypress SL811HS Host

> Controller.
> I've got the device to enumerate and I've found all of

it's
> endpoints and
> I'm able to send CBW's to the bulk OUT endpoint and read

my
> data from
> the IN endpoint as well as getting my CSW out from the IN

> endpoint.
> For certain commands like INQUIRY and REQUEST SENSE I

have
> already
> been able to execute in the following sequence..
> 1. Send CBW to bulk OUT endpoint
> 2. Read DATA from bulk IN endpoint
> 3. Read CSW from bulk IN endpoint.
>
> For commands like READ_10 and READ_CAPACITY use sequence

> above.
> The device WILL be stalled by host.
> Is this STALL just a handshaking message to differentiate

a
> data
> transfer from a CSW transfer? And how to clear this STALL

> condition?
> I approciate your help.
>
> i.e.
> Read_Capacity
> Host Device
> OUT_CBW ->
> In ->
> > In ->
> > In ->
> > In ->
> > In ->
> > In ->
> > In ->
> STALL -> //How to clear

> this stall
> message
> //and

> continue getting
> the following
> //data?
>
>
>

>

Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard


no use no use 1/1 no use no use
© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.