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.

Composite Function on OMAP-L138

Hi,

Does the latest version of L138 BSP supports USB Composite Function?

I have included RNDIS, Serial USB Function Controller drivers in addition to setting SYSGEN_USBFN_COMPOSITE.

When I connect USB cable nothing is observed?

Any inputs?

Regards,

GSR

  • GSR,

    I don't see any SYSGEN_USBFN_COMPOSITE available as an option on the WinCE 6.0 PB catalog.  Could you give more details?

    Regards

    WM

  • Hi,

    There is no catalog item related to SYSGNE_USBFN_COMPOSITE. It is mentioned in WinCE Documentation.

    http://msdn.microsoft.com/en-US/library/ee504808

    It allows two work two function clients work simultaneously. For example now we can include either MSD, RNDIS or Serial Function Client Driver Only.

    But, using Composite function client driver we can have MSD and Serial Operating at the same time.

    Thank You & Regards,

    GSR

  • Hello

    I think the USB composite driver's registry settings need to appear after the settings for the other Function drivers, so the DefaultClientDriver setting is correct.  Updating platform.reg like this may help:

    IF BSP_USBFN
    #include "$(_TARGETPLATROOT)\src\drivers\usb\usbfn\usbfn.reg"
    ENDIF BSP_USBFN

    ; @CESYSGEN IF CE_MODULES_COMPOSITEFN
    [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
        "DefaultClientDriver"=- ; erase previous default
        "DefaultClientDriver"="CompositeFN"

    [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\CompositeFN]
        "ClientDriverList"=multi_sz:"RNDIS","Serial_Class"
    ; @CESYSGEN ENDIF CE_MODULES_COMPOSITEFN


    Note that the OMAP-L USB controller only has 4 endpoints.  This will limit the options for use of the composite driver.  There may not be sufficient endpoints for both the RNDIS and Serial class drivers to work in parallel.

    Also see the notes on "Compatibility Issues with USB Composite Device Driver" here:

      http://msdn.microsoft.com/en-us/library/ee483018(v=winembedded.60).aspx

    It may be necessary to update .inf files at the PC to get the CE 6.0 composite device recognised.

    Regards

    WM

  • Hi WM,

    Thank You for the reply.

    I agree with you and I did that experiment. As you said, it might not be supported.

    Just want to know if anyone has tried with client drivers, where they utilize only 2 Data Endpoints.

    Thank You & Regards,

    GSR