[U-Boot-Users] USB device configuration

Rodolfo Giometti giometti at enneenne.com
Wed May 9 11:03:11 CEST 2007


Hello,

during my PXA27x USB device support developing adventure I notice that
usbtty calls the functions:

   udc_init: PXA27x usbd start
   udc_setup_ep: setting up endpoint addr 0
   udc_enable: enable device a2077f74, status 0
   udc_connect: 
   udc_setup_ep: setting up endpoint addr 1
   udc_setup_ep: setting up endpoint addr 82
   udc_setup_ep: setting up endpoint addr 83

Looking at PXA27x manual I read that I have to setup the endpoints and
__then__ enable UDC for normal operations! But looking above I see
that u-boot calls before the udc_enable() and then the function
udc_setup_ep()...

There are something wrong or I haven't understood well how UDC support
works? =:-o

Thanks,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti at enneenne.com
Linux Device Driver                             giometti at gnudd.com
Embedded Systems                     		giometti at linux.it
UNIX programming                     phone:     +39 349 2432127




More information about the U-Boot mailing list