S3c2410 USB device implementation

Suganthi
Hello All, Is it possible to loopback the host and the device in s3c2410
Controller?

Juergen Beisert
Should work. But makes less sense... ;-)

Suganthi
I am developing both host and device driver in the same unit so testing the
loopback condition is appropriate for my design. The issue here is After
reset signal and interrupt for SET address from the host, EP0 FIFO is not
getting updated with SET address descriptor.

Juergen Beisert
Suganthi,

funny game: I did loading the printer gadget driver on my Linux based
Mini2440:

Printer Gadget: Printer Gadget, version: 2007 OCT 06
Printer Gadget: using s3c2410_udc, OUT ep2-bulk IN ep1-bulk

Then I connected the USB A to USB B and got the following kernel message:

usb 1-1: new full speed USB device number 2 using s3c2410-ohci
Printer Gadget: full speed config #1: 2 mA, Printer Gadget

So, looping back works fine. Now my Mini2440 can talk to itself. :-))