public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* omap_udc does not respond to SETUP transfer properly (OMAP5912)
@ 2007-03-15 18:42 Steve Poulsen
  2007-03-16  4:51 ` Pandita, Vikram
  0 siblings, 1 reply; 4+ messages in thread
From: Steve Poulsen @ 2007-03-15 18:42 UTC (permalink / raw)
  To: Linux-omap-open-source

When I plug our device into a Windows PC, we receive the SETUP message 
(USB_REQ_GET_DESCRIPTOR).  The IRQ handler sets the EP_NUM values per 
Figure 16 of SPRU761A (EP_NUM.EPU_NUM = 0, EP_DIR = 1, EP_SEL = 1, 
SETUP_SEL=0), then it writes the response into the fifo.  After writing, 
FIFO_EN is set to 1, then EP_SEL to 0.  I then find it remains in this 
state forever (or at least until Windows decides the device is 
problematic and turns it off).
I have looked at the STAT register at the start of the IRQ and it shows 
the FIFO is empty (0x02).  After writing the STAT register shows (0x04) 
as expected.  However, even waiting 500 ms after the write, the STAT 
still shows 0x04.

I have confirmed the HHC and DC clocks are enabled by looking at 
SOFT_REQ_REG and MOD_CONF_CTRL_0.

Shouldn't the STAT 0x04 bit go to zero eventually and it show the fifo 
empty once again?


Thanks,

Steve

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-16 18:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-15 18:42 omap_udc does not respond to SETUP transfer properly (OMAP5912) Steve Poulsen
2007-03-16  4:51 ` Pandita, Vikram
2007-03-16 15:26   ` Steve Poulsen
2007-03-16 18:44   ` Steve Poulsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox