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.

USB HDD detection issue with DM8168

Dear All,

We have designed a custom board based on DM8168, where we have used the USB1 as Host mode(USB0 unused) and provided a USB_A type connector on board.

We tried plugging Seagate Expansion Portable drive. But it couldn't detect it successfully.

The debug message during plugging was:

usb 2-1: new high speed USB device using musb-hdrc and address 2

usb 2-1: New USB device found, idVendor=0bc2, idProduct=2312
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1: Product: Expansion
usb 2-1: Manufacturer: Seagate
usb 2-1: SerialNumber: NA492PK1
scsi2 : usb-storage 2-1:1.0
scsi 2:0:0:0: Direct-Access Seagate Expansion 0636 PQ: 0 ANSI: 6
sd 2:0:0:0: Attached scsi generic sg1 type 0
musb-hdrc musb-hdrc.1: Data toggle same as previous (=0) on ep2
sd 2:0:0:0: [sdb] Spinning up disk.......................
usb 2-1: USB disconnect, address 2
.ready
sd 2:0:0:0: [sdb] READ CAPACITY failed
sd 2:0:0:0: [sdb] Result: hostbyte=0x01 driverbyte=0x00
sd 2:0:0:0: [sdb] Sense not available.
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 6c 42 52 24
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] READ CAPACITY failed
sd 2:0:0:0: [sdb] Result: hostbyte=0x01 driverbyte=0x00
sd 2:0:0:0: [sdb] Sense not available.
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Attached SCSI disk

Also, the disk is not getting detected by fdisk command.

We tried different filesystem formats on disk such as: FAT32, EXT2 and NTFS, but none of the times we could get it detected.

Here, what we see is spinning up the disk takes more time, and finally it fails. And another log "Sense not available." also is exclusive to this scenario.

Whereas, when we interfaced WD Passport Ultra, it was successfully detected and we could mount, read, write with the disk.

Any suggestions on understanding the issue and solving it would be helpful.

Thanks,

Umakanta Patro

  • Hi Umakanta,

    Umakanta Patro1 said:
    We have designed a custom board based on DM8168

    Umakanta Patro1 said:
    We tried plugging Seagate Expansion Portable drive. But it couldn't detect it successfully.

    Could you also try to connect this Seagate HDD to the DM816x TI EVM, do you have the same result?

    What is the silicon revision of your DM816x device (2.1, 2.0, 1.1, 1.0)?

    Are you using DM816x EZSDK 5.05.02.00? Are you using the latest TI81xx linux kernel?

    http://arago-project.org/git/projects/?p=linux-omap3.git;a=shortlog;h=refs/heads/ti81xx-master

    Umakanta Patro1 said:
    We tried different filesystem formats on disk such as: FAT32, EXT2 and NTFS, but none of the times we could get it detected.

    EXT2 should work fine. In the USB HDD performance test, VFAT/EXT2 is used with WDD HDD and Toshiba HDD:

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_04.04.00.02_Feature_Performance_Guide#USB_Mass_Storage_Class_Host_Driver

    http://processors.wiki.ti.com/index.php/Sitara_PSP_Test_Setup#MUSB_Host_MSC

    http://processors.wiki.ti.com/index.php/Usbgeneralpage#Mass_Storage_Driver

    Regards,
    Pavel

  • Umakanta,

    Umakanta Patro1 said:
    usb 2-1: USB disconnect, address 2
    .ready
    sd 2:0:0:0: [sdb] READ CAPACITY failed
    sd 2:0:0:0: [sdb] Result: hostbyte=0x01 driverbyte=0x00
    sd 2:0:0:0: [sdb] Sense not available.

    This might be also caused by the 5V VBUS power supply. Your USB HDD is not self powered right? See the below e2e threads for more info:

    http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/t/30383.aspx

    http://e2e.ti.com/support/embedded/linux/f/354/t/56158.aspx

    http://e2e.ti.com/support/arm/sitara_arm/f/791/t/33908.aspx

    http://e2e.ti.com/support/arm/sitara_arm/f/791/t/300792.aspx

    BR
    Pavel