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.

DM8127: USB0 to host mode.

Genius 3400 points

Hi all,

       According to design of IPNC 8127, we build our own board. When debug the USB0 host mode, we meet problem.

      kernel  configure is:

   <*> Support for Host-side USB
    [*]USB device class-device (DEPRECATED)
   <*>USB Monitor
   <*>Inventra HIGHSpeed DUAL Role Controller(TI, ADI, ...)
     <M> TI81XX
        TI81XX usb connctor's ID pin controll (from software setting)
        Force TI81XX USB0 to (Host mode)-->
        Force TI81XX USB1 to (Host mode)--->
        Dirver Mode (Both host and peripheral: USB OTG(On The Go) Device)
<*> USB Mass Storage support

 And download to board. insmod TI81xx.ko. The serial print the following info continuously.

hub 1-0:1.0: over-current change on port 1

hub 1-0:1.0: over-current change on port 1  

Anybody can give me some advices? Thanks a lot. 

 

 

  • hi,

     Reference the disign of IPNC 8127, we build our board. Debug the USB host, we me problem. 

    According to the introduce of document:http://processors.wiki.ti.com/index.php/Usbgeneralpage#Host_mode_applications, I config to host mode.
    <*> Support for Host-side USB
       [*]USB device class-device (DEPRECATED)
    <*>USB Monitor
    <*>Inventra HIGHSpeed DUAL Role Controller(TI, ADI, ...)
       <M> TI81XX
           TI81XX usb connctor's ID pin controll (from usb connector)
           Dirver Mode (Host mode)
    <*> USB Mass Storage support

    When insmod the ti81xx.ko, the information is following:

    root@dm814x-evm:/opt/ipnc# insmod ti81xx.ko
    USBSS revision 4ea2080b
    registerd cppi-dma Intr @ IRQ 17
    Cppi41 Init Done
    musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    MUSB controller-0 revision 4ea20800
    musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: MUSB HDRC host driver
    usb usb1: Manufacturer: Linux 2.6.37_DM8127_IPNC_3.00.00_2012-1026 musb-hcd
    usb usb1: SerialNumber: musb-hdrc.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.0: USB Host mode controller at c58b0000 using DMA, IRQ 18
    musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    MUSB controller-1 revision 4ea20800
    musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: MUSB HDRC host driver
    usb usb2: Manufacturer: Linux 2.6.37_DM8127_IPNC_3.00.00_2012-1026 musb-hcd
    usb usb2: SerialNumber: musb-hdrc.1
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.1: USB Host mode controller at c58b4800 using DMA, IRQ 19
    root@dm814x-evm:/opt/ipnc#
    hub 1-0:1.0: over-current change on port 1
    hub 2-0:1.0: over-current change on port 1
    hub 1-0:1.0: over-current change on port 1
    hub 2-0:1.0: over-current change on port 1

    And the over-current is printed continuously. Who can help me?    

  • Have no idea?

  • I had resolved this because of the hardware connect.