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.

TUSB2046B recognized USB stick in Linux but cannot access

Other Parts Discussed in Thread: TUSB2046B, AM3352

Hello,

We are using the AM335x processor and connected to the USB port 1 of this processor is the TUSB2046B 4 ports hub.  As operation system we use the TI Linux Arago 2013.12 (SDK: 07.00.00.00).

When connecting an USB stick to the hub, we get the following information:

root@am335x-evm:~# [ 40.867039] usb 2-1.2: new full-speed USB device number 3 using musb-hdrc
[ 42.018178] usb 2-1.2: not running at top speed; connect to a high speed hub
[ 42.030009] usb 2-1.2: New USB device found, idVendor=090c, idProduct=1000
[ 42.037261] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 42.044929] usb 2-1.2: Product: USB DISK
[ 42.049069] usb 2-1.2: Manufacturer: SMI Corporation
[ 42.054276] usb 2-1.2: SerialNumber: AA20080816004720
[ 42.064101] usb-storage 2-1.2:1.0: USB Mass Storage device detected
[ 42.079773] scsi0 : usb-storage 2-1.2:1.0
[ 43.088681] scsi 0:0:0:0: Direct-Access USB2.0 FlashDisk 1100 PQ: 0 ANSI: 0 CCS
[ 43.103923] sd 0:0:0:0: [sda] 1974272 512-byte logical blocks: (1.01 GB/964 MiB)
[ 74.146895] usb 2-1.2: reset full-speed USB device number 3 using musb-hdrc
[ 105.206982] usb 2-1.2: reset full-speed USB device number 3 using musb-hdrc

The last message: "usb 2-1.2: reset full-speed USB device number 3 using musb-hdrc" will be repeated about every 31 seconds. 

The USB stick I cannot find and I cannot mount the USB stick. When connecting a mouse or keyboard it works fine.

Thanks in advance.

  • Hello Patrick,

    Have you tried connecting different brands of USB sticks?

    Could you post your schematics for review?

    Could you provide some trace captures using a USB protocol analyzer between the host and the TUSB2046B when the memory stick is connected?

    Regards.

     

  • Hello Joel,

    I will have a look if I can get an protocol analyzer for the USB.

    I have tried an usb stick micro sd card reader and that works, but I normal USB stick is gives an error.

    The schematic is provided in this message

  • Hello Patrick, 

    I've reviewed the schematics and it looks correct.
    Please take a look at these posts below:

    http://e2e.ti.com/support/embedded/linux/f/354/t/155152.aspx?pi196120=2
    http://e2e.ti.com/support/arm/sitara_arm/f/791/t/332492.aspx?pi301021=1

    Regards.

  • Hello,

    I read the post, but none would help for me.

    I get they same output:

    root@am335x-evm:/mnt# [ 120.790024] usb 2-1.2: USB disconnect, device number 3
    [ 120.809629] sd 0:0:0:0: [sda] Write Protect is off
    [ 120.814764] sd 0:0:0:0: [sda] No Caching mode page found
    [ 120.820368] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [ 120.832494] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [ 128.259664] usb 2-1.2: new full-speed USB device number 6 using musb-hdrc
    [ 129.341541] usb 2-1.2: not running at top speed; connect to a high speed hub
    [ 129.353016] usb 2-1.2: device v090c p1000 is not supported
    [ 129.358778] usb 2-1.2: New USB device found, idVendor=090c, idProduct=1000
    [ 129.366018] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 129.373696] usb 2-1.2: Product: USB DISK
    [ 129.377808] usb 2-1.2: Manufacturer: SMI Corporation
    [ 129.383023] usb 2-1.2: SerialNumber: AA20080816004720
    [ 129.392488] usb-storage 2-1.2:1.0: USB Mass Storage device detected
    [ 129.407790] scsi3 : usb-storage 2-1.2:1.0
    [ 130.411372] scsi 3:0:0:0: Direct-Access USB2.0 FlashDisk 1100 PQ: 0 ANSI: 0 CCS
    [ 130.427487] sd 3:0:0:0: [sda] 1974272 512-byte logical blocks: (1.01 GB/964 MiB)
    [ 161.149745] usb 2-1.2: reset full-speed USB device number 6 using musb-hdrc
    [ 192.249747] usb 2-1.2: reset full-speed USB device number 6 using musb-hdrc
    [ 223.209755] usb 2-1.2: reset full-speed USB device number 6 using musb-hdrc
    [ 254.169753] usb 2-1.2: reset full-speed USB device number 6 using musb-hdrc
    [ 285.209748] usb 2-1.2: reset full-speed USB device number 6 using musb-hdrc
    [ 316.169743] usb 2-1.2: reset full-speed USB device number 6 using musb-hdrc
    [ 316.272468] sd 3:0:0:0: [sda] Write Protect is off
    [ 347.129662] usb 2-1.2: reset full-speed USB device number 6 using musb-hdrc
    [ 378.169750] usb 2-1.2: reset full-speed USB device number 6 using musb-hdrc
    [ 409.209749] usb 2-1.2: reset full-speed USB device number 6 using musb-hdrc
    [ 440.169660] usb 2-1.2: reset full-speed USB device number 6 using musb-hdrc
    [ 471.129747] usb 2-1.2: reset full-speed USB device number 6 using musb-hdrc
    [ 502.169660] usb 2-1.2: reset full-speed USB device number 6 using musb-hdrc
    [ 502.272327] sd 3:0:0:0: [sda] No Caching mode page found
    [ 502.277913] sd 3:0:0:0: [sda] Assuming drive cache: write through
    [ 533.129756] usb 2-1.2: reset full-speed USB device number 6 using musb-hdrc
    [ 564.169748] usb 2-1.2: reset full-speed USB device number 6 using musb-hdrc
    [ 595.129746] usb 2-1.2: reset full-speed USB device number 6 using musb-hdrc
    [ 626.169656] usb 2-1.2: reset full-speed USB device number 6 using musb-hdrc
    [ 657.209658] usb 2-1.2: reset full-speed USB device number 6 using musb-hdrc
    [ 688.169747] usb 2-1.2: reset full-speed USB device number 6 using musb-hdrc
    [ 719.129750] usb 2-1.2: reset full-speed USB device number 6 using musb-hdrc

    So the USB stick I could not mount to it.

    Regards

    Patrick

  • Hello Patrick,

    1. Are you able to test the TUSB2046B with a different host and reproduce the issue?
    2. what is the status of the SUSPEND terminal before and after connecting the USB stick?
    3. How long is the RESET signal  remained low after the Vcc(3.3-V) rail reaches its 90%?
    4. PWRON terminal does not need pullup resistor.

    Best regards.

  • Hello,

    When I connect it to an Windows PC de hub looks working fine.

    The Suspend state is in both a LOW signal

    The reset is connected to the systemreset(PIN A10 ZcZ) of the AM3352

    Is that a problem when PWRON is pulled up?

    Kind regards

    Patrick

  • Hello,

    More information:

    I use the beaglebone black as development board, on the USB A connector I connect the TSUSB2046B own development board.

    When connecting a USB stick on this board I get the  error you see above. When I connect the TSUSB2046B board to a Windows PC, then everythings works fine and the USB stick is correctly recognized.

    When I put the USB stick directly in the beaglebone black, then the USB stick works also correctly. 

    So why wouldn't Linux from Ti not see the USB stick correctly when it is plugged into the TUSB2046B board.

    Regards

    Patrick

  • Hello Patrick,

    1. Are you following the requirement for the reset signal timing?
    -The TUSB2046B requires a power on reset pulse of between 100us to 3ms after 3.3-V (Vcc) reaches its 90%. We recommend an external RC circuit (15K pull-up resistor and .1uF cap). Anything less than 100 us is too short for the device and anything longer than 3ms can interfere with USB enumeration (mainly an issue for embedded systems).
    2. Could you post a scope capture showing the RESET and Vcc signals at power up?
    I also would suggest talking with the Linux community.

    Regards.

  • Hello,

    The 15K and 1uF cap is not on the reset, because this is directly on the reset pin from the AM3352 processor. But I will add it so I can test it.

    Anotherthing is, that when i connect and usb card reader it works oke, but the usb stick not. Got the same error: reset full speed .....

    Regards

    Patrick