PORTS Forum
Ports and Interfaces => USB => Topic started by: GIDONG on May 17, 2011, 05:15:46 am
-
hi,
I'm developing a USB device and i'm having trouble to determine if I'm complaint with the USB standard.
My start up sequence is as followers:
* Configure clocks
* Init USB stack, enable relevant interrupts and handle all host requests
* a user start up menu comes up
* if the user changed clock configuration - reconfigure clocks and reset the USB
Is this reset allowed by the standard ?
Is this reset allowed in the middle of an enumeration sequence ?
Thanks
-
I'm not sure what you mean by "reset the USB" on the device.
To restart enumeration, you need to emulate detach and reattach to the bus.
Jan
-
hi,
thanks for the quick replay.
indeed "reset the USB" - I meant to emulate by SW a detach and reattach of the device.
the device is BUS powered.
I run this with the USB command verifier and I pass the Chapter 9 tests, but I reset the USB only at start up - so I think the command verifier doesn't see this at all, it happens before i run the test.
Thanks