|
Message
From: Marc Reinig<mreinig@p...>
Date: Sat Mar 6 04:48:35 CET 2004
Subject: [usb] some question about USB
> -----Original Message----- > [mailto:usb-bounces@o...]On Behalf Of KO TOM > Sent: Friday, March 05, 2004 5:57 PM > Subject: RE: [usb] some question about USB > > According to the point :* The host can terminate a setup request > before you have sent all that it > asked for. It will do this by sending status or a new Setup. > > Can i ask how should i treat the request in the setup stage if > the host terminate it without entering status stage. For example > , the host send me a setup commanding "Set_Address" or > "Set_Configuration" , but then the host send me another setup > token requesting another command instead of sending me a IN token > for a Status stage.
You abort the processing of the uncompleted Setup.
> Should i still set myself a new address
No, because for a SetAddress, the action is done after the status stage. Since there would be no status stage, you would not change the address.
> or new configured value in this case ? or should i treat the request > terminated and doing nothing ?
The second Setup command aborts the first.
> Also , if the host send me a reset after i have got a new address > , should my device start from the beginning and listen to address > 0 again ?
Of course, that's part of the definition of a RESET.
Marc Reinig System Solutions
|
 |