Hello Holger,
On Tue, 04 Oct 2011 12:48:58 +0200, "Holger Hans Peter Freyther"
<holger(a)freyther.de> wrote:
Anyone has a guess? I am going to start to read the Atmel docs now.
I don't have time to debug this issue, but a USB Analyzer trace clearly
shows that the SET ADDRESS command goes wrong.
My guess: The only difference between the Windows and MacOS X trace is
a USB Reset between the GET DESCRIPTOR and SET ADDRESS command on Windows,
the Reset is not there on MacOS X (don't know what Linux does). So I would
look if "upcd.state" is USB_STATE_DEFAULT, if not STD_SET_ADDRESS won't do
anything. From my understanding "upcd.state" is set to USB_STATE_DEFAULT
on a USB Reset, so it might not be initialized properly.
Best regards,
Dieter
--
Dieter Spaar, Germany spaar(a)mirider.augusta.de