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.

How to debug usb device ?

Guru 20755 points

Hello,

We are struglling for 2-3 weeks now with using usb0 in DM8148 as usb device.

When using EVM hist+device both works.

With custom board usb host works, but on configuring device, and connecting to PC there is no indication in target or in PC.

Linux source and u-boot is same in both custom and EVM except for pinmux, and other perpherials which should not be related to usb (sata pll, pci pll, ehthernet, spi, i2c)

Another difference I've noticed is that EVM uses PG 2.1, while custom board uses PG 3.0 .

We tried to make several HW modification in the custom board, and now EVM HW should be same as custom board:

  1. Wire-add between U9 pins #8 and #3 and a wire-add between U9 pins #7 and #4, in order to bypass the electronic switch and make sure that the DaVinci USB port is connected to the Device connector P8 (Type B).
  2. Removing R79 in order to disconnect the pull-up from USB_ID line
  3. Disconnecting the Q3 (MOSFET) drain (pin#3) from the USB_ID line, in order to prevent the pull-down.

One of the results from this modifications is that now also host usb does not function.

If anyone have any idea, please advice,

Regards,

Ran