This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM37x EVM

Hi

Im running the ITBOK usb host diagnostics on an AM37x EVM, and I ran into an error while trying to read a pen drive plugged into the otg port. After the tool begins to check for a USB drive, I get this message on my serial terminal

usb_new_device: usb_get_descriptor() failed

No USB Device found

I traced the error down to the following function in u-boot/drivers/usb/musb/musb_hcd.c:

                   static int wait_until_ep0_ready(struct usb_device *dev, u32 bit_mask)

       csr = readw(&musbr->txcsr);
.......
.......

.......
      /* Check the timeout */
        if (--timeout){
            udelay(1);
           
            //printf("flag 10.1 outside of the switch. timeout = %d \n",timeout);                                       
            }
        else {
            dev->status = USB_ST_CRC_ERR;
            result = -1;

I dont know what could be causing this problem, and I dont even want to think about a HW issue, could anybody suggesting something?

Thank you very much

Rodolfo