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.

AM3351: Boot over USB

Part Number: AM3351
Other Parts Discussed in Thread: UNIFLASH

We have a project that today we use a EMAC1 boot (boot sequence: SPI0, MMC0, UART0, EMAC1: 10110b). So in our new revision, we want to use a USB Boot (boot sequence: MMC0, SPI0, UART0 USB0: 10111b).

So i have tested the USB interface and did not see any activity in the USB port:

So, i removed R215 (because i want that my USB on AM3351 work as DEVICE).

- Mounted a 1k2 Resistor pullup for 3V3 on line USB0_D_P.

- Mounted a 18k resistor pulldown on USB pair (USB0_D_P and USB0_D_N).

And now i am seeing:

[ 7660.677417] usb usb3-port3: unable to enumerate USB device
[ 8501.325325] usb 3-3: new full-speed USB device number 38 using xhci_hcd
[ 8501.453334] usb 3-3: device descriptor read/64, error -71
[ 8501.689323] usb 3-3: device descriptor read/64, error -71
[ 8501.925321] usb 3-3: new full-speed USB device number 39 using xhci_hcd
[ 8502.053333] usb 3-3: device descriptor read/64, error -71
[ 8502.293324] usb 3-3: device descriptor read/64, error -71
[ 8502.401342] usb usb3-port3: attempt power cycle
[ 8503.053314] usb 3-3: new full-speed USB device number 40 using xhci_hcd
[ 8503.053455] usb 3-3: Device not responding to setup address.
[ 8503.261460] usb 3-3: Device not responding to setup address.
[ 8503.469328] usb 3-3: device not accepting address 40, error -71
[ 8503.597324] usb 3-3: new full-speed USB device number 41 using xhci_hcd
[ 8503.597456] usb 3-3: Device not responding to setup address.
[ 8503.805459] usb 3-3: Device not responding to setup address.
[ 8504.013316] usb 3-3: device not accepting address 41, error -71
[ 8504.013363] usb usb3-port3: unable to enumerate USB device

So, what do i need to do now for the boot usb works?

Thanks.

  • Hi,
    Please remove the added resistors from DP and DM. They are not needed.

    Which OS version are you using on your board?
    What Host are you connecting your board to?
  • Please remove the added resistors from DP and DM. They are not needed.
    Without these resistors, there is no acitivity in the USB. And the pc does not identify anything.

    Which OS version are you using on your board?
    I was using kernel linux 4.14. But at the moment i was expecting that the processor need something at the USB interface (asking the MLO). And

    What Host are you connecting your board to?
    PC Linux (ubuntu 18.04).
  • Installing Uniflash 5.0.0 on my linux, i was able to find the processor:

    [106534.504796] usb 3-3: new full-speed USB device number 63 using xhci_hcd
    [106534.653042] usb 3-3: not running at top speed; connect to a high speed hub
    [106534.653795] usb 3-3: New USB device found, idVendor=0451, idProduct=6141
    [106534.653798] usb 3-3: New USB device strings: Mfr=33, Product=37, SerialNumber=0
    [106534.653800] usb 3-3: Product: AM335x USB
    [106534.653803] usb 3-3: Manufacturer: Texas Instruments
    [106534.697845] rndis_host 3-3:1.0 usb0: register 'rndis_host' at usb-0000:00:14.0-3, RNDIS device, 06:46:a5:bd:67:fc
    [106534.733695] rndis_host 3-3:1.0 enp0s20u3: renamed from usb0
    [106534.765464] IPv6: ADDRCONF(NETDEV_UP): enp0s20u3: link is not ready
    [106534.968757] userif-3: sent link down event.
    [106534.968760] userif-3: sent link up event.