none
WinCE 6.0 - USBSER_Class Communication with PC WIN7 64bit RRS feed

  • Question

  • Hello,

    We need take some communications between PC(win7 64bit) and wince6 with USB. I change the registry HMLM/Drivers/USB/FunctionDrivers/ DefaultCinentDriver= USBSER_Class .

    But when I restart wince6.0 and connect the PC and the target device, the pc could not find the serial port, and the devices information as follow image shown:

    Could anyone give me any suggestion?

    Thanks

    Yanbin Yue


    gg

    Monday, February 25, 2013 8:02 AM

Answers

  • I have not done it before, but may be i can suggest and may be you can try :

    Use the same reg setting :

    change the vid and mid with respect to the USB that you are using ...

    And the device array index.

    --- Misbah


    Senior Design Engineer T.E.S Electroni Solutions (Bangalore-India) www.tes-dst.com email-misbah.khan@tes-dst.com

    • Marked as answer by Yanbin Yue Monday, April 15, 2013 9:08 AM
    Thursday, February 28, 2013 7:43 AM

All replies

  • Did you select the serial functional client component (SYSGEN_USBFN_SERIAL)?

    can you post the registry settings related to USBFN serial?


    Vinoth.R

    www.e-consystems.com

    http://vinoth-vinothblog.blogspot.com

    Monday, February 25, 2013 9:54 AM
  • We have selected the SYSGEN_USBFN_SERIAL, and the registry settings is:

    [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\USBSER_Class]
    "IdProduct"=dword:00001320
    "IdVendor"=dword:00000572
    "Dll"="serialusbfn.dll"
    "DeviceName"="USBFNS2:"
    "Prefix"="COM"
    "DeviceArrayIndex"=dword:00000001
    "RxBufferSize"=dword:00004000
    "IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
    "Manufacturer"="Generic Manufacturer (PROTOTYPE--Remember to change idVendor)"
    "Product"="Generic Serial (PROTOTYPE--Remember to change idVendor)"
    "bcdDevice"=dword:00000090
    "Tsp"="Unimodem.dll"
    "DeviceType"=dword:00000000

    Thanks


    gg


    • Edited by Yanbin Yue Tuesday, February 26, 2013 1:33 AM
    Tuesday, February 26, 2013 1:28 AM
  • Here is the registry settings i have used long back for USB serial. which i have succeeded.


    [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class]
       "Dll"="serialusbfn.dll"
       "InterfaceSubClass"=dword:ff
       "InterfaceProtocol"=dword:ff
       "DeviceName"="USBFNS1:"
       "Tsp"="Unimodem.dll"
       "FriendlyName"="USB Cable:"
       "Prefix"="COM"
       "DeviceArrayIndex"=dword:0
       "DeviceType"=dword:0
       "IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
    ; idVendor must be changed. 045E belongs to Microsoft and is only to be used for
    ; prototype devices in your labs. Visit http://www.usb.org to obtain a vendor id.
       "idVendor"=dword:045E
         "Manufacturer"="Generic Manufacturer (PROTOTYPE--Remember to change idVendor)"
        "idProduct"=dword:00ce
        "Product"="Generic Serial (PROTOTYPE--Remember to change idVendor)"
         "bcdDevice"=dword:0

    [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
        "DefaultClientDriver"=-
        "DefaultClientDriver"="Serial_Class"


    Vinoth.R

    www.e-consystems.com

    http://vinoth-vinothblog.blogspot.com

    Tuesday, February 26, 2013 7:27 AM
  • This usb serial setting has been used for activesync, we want to get the COM device in the devices manager.

    gg

    Thursday, February 28, 2013 1:54 AM
  • I have not done it before, but may be i can suggest and may be you can try :

    Use the same reg setting :

    change the vid and mid with respect to the USB that you are using ...

    And the device array index.

    --- Misbah


    Senior Design Engineer T.E.S Electroni Solutions (Bangalore-India) www.tes-dst.com email-misbah.khan@tes-dst.com

    • Marked as answer by Yanbin Yue Monday, April 15, 2013 9:08 AM
    Thursday, February 28, 2013 7:43 AM
  • Hi,

    I am also trying to test same scenario,USB Communication between PC and my WinCE device in my catalog USBFN Serial Client is Enabled but the device is not detecting in PC,

    My Regisrty Settings are as given below

    HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\USBSER_Class]
       "Dll"="serialusbfn.dll"      

       "DeviceName"="USBFNS2:"
       "Prefix"="COM"
       "DeviceArrayIndex"=dword:1
       "RxBufferSize"=dword:4000
       "IClass"=multi_sz:"{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}","{C375C787-B721-4b8e-B67F-A112D5C0A404}"
    ; idVendor must be changed. 045E belongs to Microsoft and is only to be used for
    ; prototype devices in your labs. Visit http://www.usb.org to obtain a vendor id.
       "idVendor"=dword:045E
       "Manufacturer"="Generic Manufacturer (PROTOTYPE--Remember to change idVendor)"
       "idProduct"=dword:0079
       "Product"="Generic Serial (PROTOTYPE--Remember to change idVendor)"
       "bcdDevice"=dword:90
    ;   "USB_OutTransferSize"=dword:1000   ;  default vaule of 4k on OUT transfers for SERIALUSBFN can be changed here.
    ;   "USB_InTransferSize"=dword:1000    ;  default vaule of 4k on IN transfers for SERIALUSBFN can be changed here.

    please help me regarding this

    Thanks in advance

    Thanks & Regards,

    Mujeeb shaik


    Mujeeb Shaik

    Thursday, December 26, 2013 12:35 PM
  • Hi,

    Active sync is working,my device is showing in Device manger like USB active syn but i want  to send data from Device USB port to PC and Receive data From PC on that Port,as a COM port it is not showing in my PC device manager,please help me regarding the same.

    Thanks in advance

    Thanks & Regards,

    Mujeeb Shaik.


    Mujeeb Shaik

    Thursday, December 26, 2013 12:41 PM