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.

dm365 USB issue

Hi,

We are having DM365 board from spectrum digital. We have a problem that any USB device is not recognized by the board. It used to work, but suddenly it stopped working and after few hours of debugging, we don't know what caused USB stopped working. We verified that there is no fault in the USB device, cable etc.

Please suggest what might have caused the problem and how to recover from the same.

Regards.

  • HI ,

    Is the USB device getting power from DM368.

    One more thing is may be the USB is in pheripheral mode. Can u just check the shematics of the board for changing it from device mode to host.

    If you are not getting power from DM368 then it is in pheripheral mode.

  • Hi,

    Yes, USB is getting power from DM365 board and it is in host mode.

    The thing is that we were able to connect any kind of USB device and was working fine without any issue at all for months. Suddenly, it stopped working.

    Any clue, what could have caused it?

    Regards,

    Darshak

  • Hello,

    What is the output of the "lsusb" command?

    BR

    Vladimir

  • Hi Vladimir,

    I connected usb mouse to DM365 board.

    Output of lsusb: Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    with verbose

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               2.00
      bDeviceClass            9 Hub
      bDeviceSubClass         0 Unused
      bDeviceProtocol         0 Full speed (or root) hub
      bMaxPacketSize0        64
      idVendor           0x1d6b Linux Foundation
      idProduct          0x0002 2.0 root hub
      bcdDevice            2.06
      iManufacturer           3 Linux 2.6.32.17-davinci1 musb-hcd
      iProduct                2 MUSB HDRC host driver
      iSerial                 1 musb_hdrc
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           25
        bNumInterfaces          1
        bConfigurationValue     1
        iConfiguration          0
        bmAttributes         0xe0
          Self Powered
          Remote Wakeup
        MaxPower                0mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           1
          bInterfaceClass         9 Hub
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 Full speed (or root) hub
          iInterface              0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0004  1x 4 bytes
            bInterval              12
    Hub Descriptor:
      bLength               9
      bDescriptorType      41
      nNbrPorts             1
      wHubCharacteristic 0x0011
        Per-port power switching
        No overcurrent protection
      bPwrOn2PwrGood        5 * 2 milli seconds
      bHubContrCurrent      0 milli Ampere
      DeviceRemovable    0x02
      PortPwrCtrlMask    0xff
     Hub Port Status:
       Port 1: 0000.0100 power
    Device Status:     0x0001
      Self Powered

  • TI Folks,

    Can you please look in to the issue?

    One more question, If I assume that USB controller is not functioning as of now, can I use Ethernet to USB converter to drive my devices?

    USB is must be working for us so is there any other way to connect USB devices.

    Regards,

    Darshak

  • Hello, Darshak

    Likely if your USB is working fine, with USB mouse connected you should see an additional entry on lsusb; something like:

    Bus 001 Device 002: ID <some id> <type>

    Your mouse is not detected. You said that it stopped working suddenly; in other words you haven't changed the software. Is that correct?

    It is possible that is a hardware break-down. Let your hardware engineer check it out.

    BR

    Vladimir

  • Darshak,

    There are such converters, but I think they are Ethernet over USB, not USB over Ethernet. There are virtual USBs, but they shouldn't apply here. The best way is to get your USB port working again.

    BR

    Vladimir

  • Vladimir,

    Thanks for your reply. Hardware person looked voltages at various points, seems that board or any component is not damaged.

    When you say, make USB port working again, which chips or which components shall we replace?

    BR.

  • Darshak,

    I cannot give such diagnosis from a distance, it may require more in dept look. Have you changed your software stack in that period?

    BR

    Vladimir