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.

AM3359 USB controller issue.

    My circuit board can't pass the high-speed USB eye diagram test. I want to config the usb controller as full-speed controller. But what can I do?  I try to disable the power bit MUSB_POWER_HSENAB. But the usb controller can't detect some USB flash disk. Could anyone give me an advice?Thank you.

 

  • Is this on linux? If so, what sdk version do you use?

  • ti-sdk-am335x-evm-07.00.00.00
  • Please use the following patch, please note that it will force both MUSB controllers into full-speed mode.

    diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
    index 96f2c92..be0f3af 100644
    --- a/drivers/usb/musb/musb_core.c
    +++ b/drivers/usb/musb/musb_core.c
    @@ -972,7 +972,6 @@ void musb_start(struct musb *musb)
    
            /* put into basic highspeed mode and start session */
            musb_writeb(regs, MUSB_POWER, MUSB_POWER_ISOUPDATE
    -                       | MUSB_POWER_HSENAB
                            /* ENSUSPEND wedges tusb */
                            /* | MUSB_POWER_ENSUSPEND */
                       );
    
  • I has disabled the MUSB_POWER_HSENAB, as I told you in the first letter. Detail following:

    root@am335x-evm:/# mkdir /tmp/grow
    root@am335x-evm:/# mount -t debugfs none /tmp/grow
    root@am335x-evm:/# cat /tmp/grow/usb/devices

    T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
    B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
    D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
    P:  Vendor=1d6b ProdID=0002 Rev= 3.12
    S:  Manufacturer=Linux 3.12.10-ti2013.12.01 musb-hcd
    S:  Product=MUSB HDRC host driver
    S:  SerialNumber=musb-hdrc.1.auto
    C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
    I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
    E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

    T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12   MxCh= 0
    D:  Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
    P:  Vendor=0dd8 ProdID=3200 Rev=11.00
    S:  Manufacturer=Netac
    S:  Product=OnlyDisk
    S:  SerialNumber=AA00000000013499
    C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=300mA
    I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
    E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
    E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms

    T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
    B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
    D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
    P:  Vendor=1d6b ProdID=0002 Rev= 3.12
    S:  Manufacturer=Linux 3.12.10-ti2013.12.01 musb-hcd
    S:  Product=MUSB HDRC host driver
    S:  SerialNumber=musb-hdrc.0.auto
    C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
    I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
    E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms
    root@am335x-evm:/# [   75.241090] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [   75.383029] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.

    root@am335x-evm:/# mount
    rootfs on / type rootfs (rw)
    ubi0:rootfs on / type ubifs (rw,relatime)
    devtmpfs on /dev type devtmpfs (rw,relatime,size=241664k,nr_inodes=60416,mode=755)
    proc on /proc type proc (rw,relatime)
    tmpfs on /mnt/.psplash type tmpfs (rw,relatime,size=40k)
    sysfs on /sys type sysfs (rw,relatime)
    debugfs on /sys/kernel/debug type debugfs (rw,relatime)
    tmpfs on /var/volatile type tmpfs (rw,relatime,size=16384k)
    tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
    tmpfs on /media/ram type tmpfs (rw,relatime,size=16384k)
    devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
    none on /var/volatile/tmp/grow type debugfs (rw,relatime)
    root@am335x-evm:/# cat /[  106.201250] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  106.342889] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.

    root@am335x-evm:/#
    root@am335x-evm:/# cat /tmp/grow/       
    asoc/             hid/              musb-hdrc.1.auto/ suspend_stats
    bdi/              iio/              pinctrl/          ti-st/
    bluetooth/        kprobes/          pm_debug/         ubi/
    clk/              memblock/         pwm               ubifs/
    dma_buf/          mmc0/             regmap/           usb/
    extfrag/          mmc1/             regulator/        wakeup_sources
    gpio              musb-hdrc.0.auto/ sleep_time       
    root@am335x-evm:/# cat /tmp/grow/musb-hdrc.0.aut[  137.241110] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  137.383137] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
     
    root@am335x-evm:/#
    root@am335x-evm:/#
    root@am335x-evm:/# cat /tmp/grow/
    asoc/             hid/              musb-hdrc.1.auto/ suspend_stats
    bdi/              iio/              pinctrl/          ti-st/
    bluetooth/        kprobes/          pm_debug/         ubi/
    clk/              memblock/         pwm               ubifs/
    dma_buf/          mmc0/             regmap/           usb/
    extfrag/          mmc1/             regulator/        wakeup_sources
    gpio              musb-hdrc.0.auto/ sleep_time       
    root@am335x-evm:/# cat /tmp/grow/musb-hdrc.0.auto/regdump
    MUSB (M)HDRC Register Dump
    FAddr       : 00
    Power       : 20
    Frame       : 0000
    Index       : 0f
    Testmode    : 00
    TxMaxPp     : 0000
    TxCSRp      : 0000
    RxMaxPp     : 0000
    RxCSR       : 0000
    RxCount     : 0000
    ConfigData  : 33
    DevCtl      : 80
    MISC        : 00
    TxFIFOsz    : 07
    RxFIFOsz    : 07
    TxFIFOadd   : 0780
    RxFIFOadd   : 0780
    VControl    : 00000000
    HWVers      : 0800
    EPInfo      : ff
    RAMInfo     : 0d
    LinkInfo    : 5c
    VPLen       : 3c
    HS_EOF1     : 80
    FS_EOF1     : 77
    LS_EOF1     : 72
    SOFT_RST    : 00
    DMA_CNTLch0 : 0000
    DMA_ADDRch0 : 00000000
    DMA_COUNTch0: 00000000
    DMA_CNTLch1 : 0000
    DMA_ADDRch1 : 00000000
    DMA_COUNTch1: 00000000
    DMA_CNTLch2 : 0000
    DMA_ADDRch2 : 00000000
    DMA_COUNTch2: 00000000
    DMA_CNTLch3 : 0000
    DMA_ADDRch3 : 00000000
    DMA_COUNTch3: 00000000
    DMA_CNTLch4 : 0000
    DMA_ADDRch4 : 00000000
    DMA_COUNTch4: 00000000
    DMA_CNTLch5 : 0000
    DMA_ADDRch5 : 00000000
    DMA_COUNTch5: 00000000
    DMA_CNTLch6 : 0000
    DMA_ADDRch6 : 00000000
    DMA_COUNTch6: 00000000
    DMA_CNTLch7 : 0000
    DMA_ADDRch7 : 00000000
    DMA_COUNTch7: 00000000
    root@am335x-evm:/# cat /tmp/grow/musb-hdrc.1.auto/regdump 
    MUSB (M)HDRC Register Dump
    FAddr       : 00
    Power       : c0
    Frame       : 00af
    Index       : 0f
    Testmode    : 00
    TxMaxPp     : 0000
    TxCSRp      : 0000
    RxMaxPp     : 0000
    RxCSR       : 0000
    RxCount     : 0000
    ConfigData  : 33
    DevCtl      : 5d
    MISC        : 00
    TxFIFOsz    : 07
    RxFIFOsz    : 07
    TxFIFOadd   : 0780
    RxFIFOadd   : 0780
    VControl    : 00000000
    HWVers      : 0800
    EPInfo      : ff
    RAMInfo     : 0d
    LinkInfo    : 5c
    VPLen       : 3c
    HS_EOF1     : 80
    FS_EOF1     : 77
    LS_EOF1     : 72
    SOFT_RST    : 00
    DMA_CNTLch0 : 0000
    DMA_ADDRch0 : 00000000
    DMA_COUNTch0: 00000000
    DMA_CNTLch1 : 0000
    DMA_ADDRch1 : 00000000
    DMA_COUNTch1: 00000000
    DMA_CNTLch2 : 0000
    DMA_ADDRch2 : 00000000
    DMA_COUNTch2: 00000000
    DMA_CNTLch3 : 0000
    DMA_ADDRch3 : 00000000
    DMA_COUNTch3: 00000000
    DMA_CNTLch4 : 0000
    DMA_ADDRch4 : 00000000
    DMA_COUNTch4: 00000000
    DMA_CNTLch5 : 0000
    DMA_ADDRch5 : 00000000
    DMA_COUNTch5: 00000000
    DMA_CNTLch6 : 0000
    DMA_ADDRch6 : 00000000
    DMA_COUNTch6: 00000000
    DMA_CNTLch7 : 0000
    DMA_ADDRch7 : 00000000
    DMA_COUNTch7: 00000000
    root@am335x-evm:/# [  168.201119] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  168.342956] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  199.241093] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  199.383070] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  199.626944] sd 0:0:0:0: [sda] Write Protect is off

     

    dmesg

    [    6.856219] (stk) :ldisc_install = 1
    [    7.851125] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
    [    8.851510] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1
    [    9.981132] (stk) :ldisc installation timeout<6>[   10.672175] musb-hdrc musb-hdrc.0.auto: Enabled SW babble control
    [   10.680857] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [   10.680876] musb-hdrc: MHDRC RTL version 2.0
    [   10.680888] musb-hdrc: setup fifo_mode 4
    [   10.680912] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [   10.686827] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    [   10.711965] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
    [   10.720776] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [   10.728347] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   10.736294] usb usb1: Product: MUSB HDRC host driver
    [   10.741851] usb usb1: Manufacturer: Linux 3.12.10-ti2013.12.01 musb-hcd
    [   10.749132] usb usb1: SerialNumber: musb-hdrc.0.auto
    [   10.773069] hub 1-0:1.0: USB hub found
    [   10.777432] hub 1-0:1.0: 1 port detected
    [   10.793696] musb-hdrc musb-hdrc.1.auto: Enabled SW babble control
    [   10.802717] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [   10.802738] musb-hdrc: MHDRC RTL version 2.0
    [   10.802750] musb-hdrc: setup fifo_mode 4
    [   10.802772] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [   10.802884] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [   10.821695] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
    [   10.841786] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [   10.849276] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   10.857239] usb usb2: Product: MUSB HDRC host driver
    [   10.862789] usb usb2: Manufacturer: Linux 3.12.10-ti2013.12.01 musb-hcd
    [   10.870072] usb usb2: SerialNumber: musb-hdrc.1.auto
    [   10.883670] hub 2-0:1.0: USB hub found
    [   10.888009] hub 2-0:1.0: 1 port detected
    [    9.986105] (stk) :ldisc_install = 0
    [   10.983883] (stk) : timed out waiting for ldisc to be un-installed<6>[   11.491258] usb 2-1: new full-speed USB device number 2 using musb-hdrc
    [   11.643280] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [   11.669173] usb 2-1: not running at top speed; connect to a high speed hub
    [   11.688936] usb 2-1: New USB device found, idVendor=0dd8, idProduct=3200
    [   11.696447] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [   11.704307] usb 2-1: Product: OnlyDisk
    [   11.708565] usb 2-1: Manufacturer: Netac
    [   11.713015] usb 2-1: SerialNumber: AA00000000013499
    [   11.761511] usb-storage 2-1:1.0: USB Mass Storage device detected
    [   11.791528] scsi0 : usb-storage 2-1:1.0
    [   11.117409] (stk) :ldisc_install = 1
    [   12.111116] (stk) :ldisc installation timeout<6>[   12.245932] net eth0: initializing cpsw version 1.12 (0)
    [   12.254470] net eth0: phy found : id is : 0x4dd074
    [   12.269590] 8021q: adding VLAN 0 to HW filter on device eth0
    [   13.035196] scsi 0:0:0:0: Direct-Access     Netac    OnlyDisk         1100 PQ: 0 ANSI: 6
    [   13.052093] sd 0:0:0:0: [sda] 31244288 512-byte logical blocks: (15.9 GB/14.8 GiB)
    [   12.116069] (stk) :ldisc_install = 0
    [   13.111125] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1
    [   14.241037] (stk) :ldisc installation timeout<6>[   14.252182] libphy: 4a101000.mdio:00 - Link is Up - 1000/Full
    [   14.245943] (stk) :ldisc_install = 0
    [   15.241038] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1
    [   16.371039] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
    [   17.371204] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1
    [   18.501040] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
    [   19.501031] (stk) : timed out waiting for ldisc to be un-installed<3>[   19.510154] Bluetooth: st_register failed -22
    [   44.181093] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [   44.323355] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [   75.241090] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [   75.383029] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  106.201250] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  106.342889] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  137.241110] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  137.383137] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  168.201119] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  168.342956] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  199.241093] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  199.383070] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  199.626944] sd 0:0:0:0: [sda] Write Protect is off
    [  199.632348] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
    [  230.201414] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  230.342811] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  261.241095] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  261.382830] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  292.201105] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  292.342844] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  323.161400] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  323.302858] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  354.201270] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  354.342961] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  385.161096] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  385.302813] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  385.546759] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [  416.161114] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  416.303160] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  447.161128] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  447.302787] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  478.201103] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  478.342822] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  509.161385] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  509.302915] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  540.201118] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  540.342887] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  571.161100] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  571.302885] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  602.201123] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  602.342891] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  633.161118] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  633.303146] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  664.201097] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  664.342867] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  695.161119] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  695.303195] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  726.201116] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  726.343125] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  757.161122] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  757.302758] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  757.552709]  sda: sda1
    [  788.201418] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  788.342976] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  819.161120] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  819.302911] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  850.201387] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  850.342923] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  881.161388] usb 2-1: reset full-speed USB device number 2 using musb-hdrc
    [  881.302834] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.

     

     

     

  • user4543752 said:
    I has disabled the MUSB_POWER_HSENAB, as I told you in the first letter

    You mentioned you disabled it, but didn't say how. I just wanted to ensure it's been done correctly,

    user4543752 said:
    [   13.035196] scsi 0:0:0:0: Direct-Access     Netac    OnlyDisk         1100 PQ: 0 ANSI: 6
    [   13.052093] sd 0:0:0:0: [sda] 31244288 512-byte logical blocks: (15.9 GB/14.8 GiB)
    ...
    [   44.181093] usb 2-1: reset full-speed USB device number 2 using musb-hdrc

    The thumb drive got reset after about 30 seconds, which is SCSI default timeout. This means the SCSI layer is unable to talk o the device, likely due to USB packet corruption.Does this happen with different thumb drives?

    Please test again with CPPI disabled. If the reset problem still happens, it means you still have signal integrity problem, please do EyeDiagram test for full-speed mode.

    user4543752 said:

    [   44.323355] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.

    This message is interesting, I have ever seen it before in a log. I am not sure why your kernel prints it, since you don't have a hub connected.

  • In another thumb drive, everything is OK.

    root@GSE200M:~ # scsi 2:0:0:0: Direct-Access     Netac    OnlyDisk         1100 PQ: 0 ANSI: 6
    sd 2:0:0:0: [sda] 31244288 512-byte hardware sectors (15997 MB)
    sd 2:0:0:0: [sda] Write Protect is off
    sd 2:0:0:0: [sda] Assuming drive cache: write through
    sd 2:0:0:0: [sda] 31244288 512-byte hardware sectors (15997 MB)
    sd 2:0:0:0: [sda] Write Protect is off
    sd 2:0:0:0: [sda] Assuming drive cache: write through
    sd 2:0:0:0: [sda] Attached SCSI removable disk

    root@GSE200M:~ # mount
    rootfs on / type rootfs (rw)
    proc on /proc type proc (rw)
    sysfs on /sys type sysfs (rw)
    tmpfs on /var type tmpfs (rw)
    tmpfs on /tmp type tmpfs (rw)
    tmpfs on /dev type tmpfs (rw)
    devpts on /dev/pts type devpts (rw,mode=600)
    /dev/mtdblock6 on /mnt/kp type jffs2 (rw)
    /dev/mtdblock7 on /mnt/app_bin0 type jffs2 (rw)
    /dev/mtdblock8 on /mnt/app_bin1 type jffs2 (rw)
    /dev/mtdblock9 on /mnt/sub_bin type jffs2 (rw)
    /dev/mtdblock10 on /mnt/log type jffs2 (rw)
    /dev/mtdblock11 on /home type jffs2 (rw)
    /dev/sda1 on /mnt/usb/sda1 type vfat (rw,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1)
    root@GSE200M:~ # cat /proc/version
    Linux version 2.6.27-SPEAr310 (root@linux-alex) (gcc version 4.2.1 (STMicroelectronics/Linux Base 4.2.1-37)) #154 Fri Nov 6 01:21:32 CST 2015
    root@GSE200M:~

    I test with CPPI disbaled. Sometimes it can't detect the USB flash disk.

    [ 1872.841631] musb_stage0_irq 820: unhandled DISCONNECT transition (a_wait_bcon)
    [ 1880.705626] dsps_interrupt 402: CAUTION: musb: Babble Interrupt Occurred

    And sometimes it detects the USB flash disk with warning.

    [ 2099.360705] scsi 27:0:0:0: Direct-Access     Netac    OnlyDisk         8.07 PQ: 0 ANSI: 4
    [ 2099.384812] sd 27:0:0:0: [sda] 15974400 512-byte logical blocks: (8.17 GB/7.61 GiB)
    [ 2099.419788] sd 27:0:0:0: [sda] Write Protect is off
    [ 2099.434008] sd 27:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [ 2099.468510] sd 27:0:0:0: [sda] Attached SCSI removable disk
    [ 2099.567220] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

    Can you make the same test as me? Or have the FAE in China to make the test.

    I make the test on EVM board (AM335x 15*15 Base Board REV1.2A),  sdk:ti-sdk-am335x-evm-07.00.00.00.  And the USB flash disk buy from Netac(朗科科技), such as U903、U532 and U361.

    U903 (http://www.netac.com.cn/Product_Detail.aspx?id=123)

    U532(http://www.netac.com.cn/Product_Detail.aspx?id=930  8G)

    U361(http://www.netac.com.cn/Product_Detail.aspx?id=251)

    We recently try to replace old CPU spear310(ST). Please help us to reslove this problem. Thank you!

     

     

     

     

  • 1) Did you follow our High Speed Layout Guidelines? (www.ti.com/lit/an/spraar7e/spraar7e.pdf) and Schematic Checklist (processors.wiki.ti.com/.../AM335x_Schematic_Checklist)

    2) Am I correct in that only the Netac devices fail? I see that you mention that "another thumb drive is OK".
  •  Hi  

        After I disable CPPI, all Sandisk devices(CZ50\CZ51\CZ71\CZ243) pass the test. Netac U208\U903\U311 pass the test, while U188\U532\U361 fail. Kingston DTSE9H\DTGE9\DTR30G2 pass the test, while DT100G3 fail. I use the our old USB controller which based on the spear310(ST). All the USB devices pass the test.

        While test fail, it will display "dsps_interrupt 402: CAUTION: musb: Babble Interrupt Occurred" in console.  The code is:

     if (is_host_active(musb) && (usbintr & MUSB_INTR_BABBLE) &&
         (musb->xceiv->state == OTG_STATE_A_HOST)) {
      musb->int_usb |= MUSB_INTR_DISCONNECT;
      babble_detected = true;
      ERR("CAUTION: musb: Babble Interrupt Occurred\n");
     }

        While in the latest sdk(v02.00.00.00), the code above is deleted. If the Babble issue can be avoided? If so, can you give me a patch(07.00.00.00 to 02.00.00.00)?

  • user4543752 said:
        After I disable CPPI, all Sandisk devices(CZ50\CZ51\CZ71\CZ243) pass the test. Netac U208\U903\U311 pass the test, while U188\U532\U361 fail. Kingston DTSE9H\DTGE9\DTR30G2 pass the test, while DT100G3 fail. I use the our old USB controller which based on the spear310(ST). All the USB devices pass the test.

    Are these tests under musb in full-speed mode? If so what's the test results in high-speed mode?

    With CPPI enabled, what are the test results? the same as that with CPPI disabled?