none
AM3358 Beagle Bone Black :Active Sync RRS feed

  • Question

  • Hi,

        I am working in Beagle Bone Black 

       I downloaded pre built images from the following 

     I booted the board with the same files but I am getting some I2C write failed and active sync is not getting connect, Please guide me and need some guidelines for connecting the device through active sync in Windows 7(I am using Windows Mobile Device Center) 

    +OEMMultiBinNotify(0x8feb24b8 -> 1)
    Download file information:
    -----------------------------------------------------------
    [0]: Address=0x80002000  Length=0x0425f3c4  Save=0x80002000
    -----------------------------------------------------------
    Download file type: 1
    +OEMIsFlashAddr(0x80002000) g_eboot.type 1
    ...............................................................................................................................................................................................................................................................................................................................rom_offset=0x0.
    ..ImageStart = 0x80002000, ImageLength = 0x425f3c4, LaunchAddr = 0x8000ac60

    Completed file(s):
    -------------------------------------------------------------------------------
    +OEMIsFlashAddr(0x80002000) g_eboot.type 1
    [0]: Address=0x80002000  Length=0x425f3c4  Name="" Target=RAM
    ROMHDR at Address 80002044h
    Launch Windows CE image by jumping to 0x8000ac60...

    Windows CE Kernel for ARM (Thumb Enabled)
    +OALTimerInit(1, 24000, 200)
    --- High Performance Frequecy is 24 MHz---
    PID:00400002 TID:00410002 SetOpp to 3
    PID:00400002 TID:019C001A BEEPDev: BEEP_Init
    PID:00400002 TID:019C001A Cpsw3g_InitializeAdapter: mode=1, port=1, txCh=0, rxChMask=0x01, ActiveCpgmac=1
    PID:00400002 TID:019C001A +EnableHPOut_PLL fs_ref=48kHz, sample_rate_div=1 (0x00), lVol=0x00, rVol=0x00
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000000)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:02730002 _cpsw3g_phy_update_link, Port:0  LINK:UP  SPEED:100  DUPLEX:FD
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000001)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000002)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000003)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000004)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000005)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000006)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000007)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000008)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000009)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x0000000A)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x0000000B)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x0000000F)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000010)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000013)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000016)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x0000001B)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x0000001E)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000025)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000026)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x0000002B)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x0000002C)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x0000002F)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000033)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000040)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000041)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000052)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000056)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x0000005C)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x0000005D)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x0000003A)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000048)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000065)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000066)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x0000000F)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000010)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000011)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000012)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000013)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000016)
    PID:00400002 TID:019C001A Write: Attempts = 2
    PID:00400002 TID:019C001A Write: Attempts = 3
    PID:00400002 TID:019C001A Write: Attempts = 4
    PID:00400002 TID:019C001A Write: Attempts = 5
    PID:00400002 TID:019C001A WARN: I2C: Write failed (SA=0x1B, register=0x00000019)
    PID:00400002 TID:019C001A SDHC: CPU revision 0xffffffff
    PID:00400002 TID:019C001A SDHC host controller initialize: m_fastPathSDIO:1 m_fastPathSDMEM:0
    PID:00400002 TID:019C001A SDHC: CPU revision 0xffffffff
    PID:00400002 TID:019C001A SDHC host controller initialize: m_fastPathSDIO:1 m_fastPathSDMEM:1
    PID:00400002 TID:019C001A CAM3xxOTG::Init DEVCTL 80
    PID:00400002 TID:019C001A CAM3xxOTG::Init DEVCTL 98
    PID:00400002 TID:0106001E Write: Attempts = 2
    PID:00400002 TID:019C001A CAM3xxOTG[1]::FunctionMode(): entering function mode
    PID:00400002 TID:0106001E Write: Attempts = 3
    PID:00400002 TID:04660002 PVR:getCpuFamily: 5
    PID:00400002 TID:04660002 PVR:omapsgxddgpe getCpuFamily: 5
    PID:00400002 TID:0106001E Write: Attempts = 4
    PID:00400002 TID:020B0002 Exception 'Data Abort' (0x4): Thread-Id=020b0002(pth=9e81f9c0), Proc-Id=00400002(pprc=8427e5e0) 'NK.EXE', VM-active=05910002(pprc=9e861270) 'GweUser.exe'
    PID:00400002 TID:020B0002 PC=efd90ad8(gwes.dll+0x00030ad8) RA=efdb25b0(gwes.dll+0x000525b0) SP=aadefdb0, BVA=00000000
    PID:00400002 TID:0106001E Write: Attempts = 5
    PID:00400002 TID:0106001E WARN: I2C: Write failed (SA=0x1B, register=0x0000002B)
    PID:00400002 TID:04660002 Write: Attempts = 2
    PID:00400002 TID:04660002 Write: Attempts = 3
    PID:00400002 TID:04660002 Write: Attempts = 4
    PID:00400002 TID:04660002 Write: Attempts = 5
    PID:00400002 TID:04660002 WARN: I2C: Write failed (SA=0x38, register=0x00000000)
    PID:00400002 TID:04660002 PddInitializeHardware-
    PID:00400002 TID:0106001E Write: Attempts = 2
    PID:00400002 TID:0106001E Write: Attempts = 3
    PID:00400002 TID:0106001E Write: Attempts = 4
    PID:00400002 TID:0106001E Write: Attempts = 5
    PID:00400002 TID:0106001E WARN: I2C: Write failed (SA=0x1B, register=0x0000002C)

    Thanks in advance

    Sinthu Raja

    Thursday, January 2, 2014 11:35 AM

All replies

  • May be the ActiveSync component is not enabled in the catalog item of the prebuilt image which you are using.

    If have the source available, try enabling it and do a clean sysgen and then test.

    --- Misbah


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

    Thursday, January 2, 2014 11:47 AM
  • Hi,

    Thanks for the reply, yeah I done that enabling in my source code, then too I am not getting it connected I am getting the following part of logs after all the driver get loaded

    PID:00400002 TID:03EC0002 +CAM3xxOTG::NewStateAction()
     NewStateAction USBOTG[1]00000099 state: USBOTG_b_peripheral; b_conn 0
    PID:00400002 TID:03EC0002 CAM3xxOTG[1]::FunctionMode(): entering function mode s                                                                                        tart : 1 m_bFunctionMaode: 0
    PID:00400002 TID:03EC0002 m_InFunctionMode
    PID:00400002 TID:03EC0002 +CAM3xxOTG::NewStateAction()
     NewStateAction USBOTG[1]00000099 state: USBOTG_b_peripheral; b_conn 0
    PID:00400002 TID:03EC0002 CAM3xxOTG[1]::FunctionMode(): entering function mode s                                                                                        tart : 1 m_bFunctionMaode: 0
    PID:00400002 TID:03EC0002 m_InFunctionMode
    PID:00400002 TID:03EC0002 +CAM3xxOTG::NewStateAction()
     NewStateAction USBOTG[1]00000099 state: USBOTG_b_peripheral; b_conn 0
    PID:00400002 TID:03EC0002 CAM3xxOTG[1]::FunctionMode(): entering function mode s                                                                                        tart : 1 m_bFunctionMaode: 0
    PID:00400002 TID:03EC0002 m_InFunctionMode
    PID:00400002 TID:03EC0002 +CAM3xxOTG::NewStateAction()
     NewStateAction USBOTG[1]00000099 state: USBOTG_b_peripheral; b_conn 0
    PID:00400002 TID:03EC0002 CAM3xxOTG[1]::FunctionMode(): entering function mode s                                                                                        tart : 1 m_bFunctionMaode: 0
    PID:00400002 TID:03EC0002 m_InFunctionMode
    PID:00400002 TID:03EC0002 +CAM3xxOTG::NewStateAction()
     NewStateAction USBOTG[1]00000099 state: USBOTG_b_peripheral; b_conn 0
    PID:00400002 TID:03EC0002 CAM3xxOTG[1]::FunctionMode(): entering function mode s                                                                                        tart : 1 m_bFunctionMaode: 0
    PID:00400002 TID:03EC0002 m_InFunctionMode
    PID:00400002 TID:03EC0002 +CAM3xxOTG::NewStateAction()
     NewStateAction USBOTG[1]00000099 state: USBOTG_b_peripheral; b_conn 0
    PID:00400002 TID:03EC0002 CAM3xxOTG[1]::FunctionMode(): entering function mode s                                                                                        tart : 1 m_bFunctionMaode: 0
    PID:00400002 TID:03EC0002 m_InFunctionMode
    PID:00400002 TID:03EC0002 +CAM3xxOTG::NewStateAction()
     NewStateAction USBOTG[1]00000099 state: USBOTG_b_peripheral; b_conn 0
    PID:00400002 TID:03EC0002 CAM3xxOTG[1]::FunctionMode(): entering function mode s                                                                                        tart : 1 m_bFunctionMaode: 0
    PID:00400002 TID:03EC0002 m_InFunctionMode
    PID:00400002 TID:03EC0002 +CAM3xxOTG::NewStateAction()
     NewStateAction USBOTG[1]00000099 state: USBOTG_b_peripheral; b_conn 0
    PID:00400002 TID:03EC0002 CAM3xxOTG[1]::FunctionMode(): entering function mode s                                                                                        tart : 1 m_bFunctionMaode: 0
    PID:00400002 TID:03EC0002 m_InFunctionMode
    PID:00400002 TID:03EC0002 +CAM3xxOTG::NewStateAction()
     NewStateAction USBOTG[1]00000099 state: USBOTG_b_peripheral; b_conn 0
    PID:00400002 TID:03EC0002 CAM3xxOTG[1]::FunctionMode(): entering function mode s                                                                                        tart : 1 m_bFunctionMaode: 0
    PID:00400002 TID:03EC0002 m_InFunctionMode
    PID:00400002 TID:03EC0002 +CAM3xxOTG::NewStateAction()
     NewStateAction USBOTG[1]00000099 state: USBOTG_b_peripheral; b_conn 0
    PID:00400002 TID:03EC0002 CAM3xxOTG[1]::FunctionMode(): entering function mode s                                                                                        tart : 1 m_bFunctionMaode: 0
    PID:00400002 TID:03EC0002 m_InFunctionMode
    PID:00400002 TID:03EC0002 +CAM3xxOTG::NewStateAction()
     NewStateAction USBOTG[1]00000099 state: USBOTG_b_peripheral; b_conn 0
    PID:00400002 TID:03EC0002 CAM3xxOTG[1]::FunctionMode(): entering function mode s                                                                                        tart : 1 m_bFunctionMaode: 0
    PID:00400002 TID:03EC0002 m_InFunctionMode
    PID:00400002 TID:03EC0002 +CAM3xxOTG::NewStateAction()

    Thanks in advance

    Friday, January 3, 2014 4:32 AM
  • The driver is enumerating into the peripheral mode. So the debug message looks OK

    May be the .reg setting is not present for ActiveSync

    Add the following .reg setting at the end of platform.reg fil, build your BSP and test.

    ; USB serial driver

    [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class]
        "FriendlyName"="USB Cable:"
       "DeviceArrayIndex"=dword:0
       "DeviceType"=dword:0
        ; CE_DRIVER_SERIAL_PORT_GUID
       "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\Serial_Class\Config]
        "EnableFlowHard"=dword:0
        "EnableFlowSoft"=dword:0

    [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class\Unimodem]
       "FriendlyName"="USB Cable:"

    [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class\Unimodem\Config]
        "EnableFlowHard"=dword:0
        "EnableFlowSoft"=dword:0

    [HKEY_LOCAL_MACHINE\Comm\DefaultConnections]
         "`USB"=multi_sz:"USB Cable:","115200"

    ;Default Connectoid
    [HKEY_CURRENT_USER\ControlPanel\Comm]
            "Cnct"="`USB"
            "AutoCnct"=dword:00000001

    [HKEY_CURRENT_USER\Comm\RasBook\`USB]
    "DevCfg"=hex:\
          30,00,00,00,05,00,00,00,00,01,00,00,00,4b,00,00,00,00,08,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00

    "Entry"=hex:\
          08,02,40,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,70,\
          e9,29,d9,00,00,00,00,00,00,00,00,00,00,00,00,20,61,1b,88,70,e9,29,d9,08,63,\
          99,85,b0,47,05,84,00,00,00,00,00,00,00,00,00,00,00,00,00,60,1b,88,20,61,1b,\
          88,70,e9,29,d9,04,87,99,85,00,00,00,00,84,aa,1e,c0,00,60,1b,88,20,61,1b,88,\
          18,48,05,84,70,e9,29,d9,08,3a,05,00,00,00,00,00,0a,00,00,00,c0,84,03,84,70,\
          e9,29,d9,80,92,02,70,00,00,00,00,b4,84,03,84,00,00,00,00,00,00,00,00,00,00,\
          00,00,60,00,00,00,ad,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,22,00,00,\
          00,0a,00,00,00,00,ea,29,d9,20,61,1b,88,00,ea,29,d9,00,60,1b,88,b0,47,05,84,\
          00,60,1b,88,00,00,00,00,00,00,00,00,08,63,99,85,20,61,1b,88,00,ea,29,d9,04,\
          87,99,85,2e,00,7f,05,84,aa,1e,c0,00,00,00,00,c0,ea,29,d9,08,48,05,84,00,ea,\
          29,d9,00,00,00,00,64,f3,04,00,80,92,02,70,c0,84,03,84,00,00,00,00,00,00,00,\
          00,fc,69,00,d9,d4,96,a0,c0,00,00,00,00,f5,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,64,00,69,00,72,\
          00,65,00,63,00,74,00,00,00,29,d9,00,00,00,00,08,63,99,85,00,60,1b,88,00,00,\
          00,00,18,5b,55,00,53,00,42,00,20,00,43,00,61,00,62,00,6c,00,65,00,3a,00,00,\
          00,0a,00,00,00,40,5f,1d,c0,00,d0,f9,d8,80,c0,f9,d8,00,00,00,00,89,01,00,00,\
          08,bb,1d,c0,80,c0,f9,d8,90,ea,29,d9,00,00,00,00,18,61,16,c0,00,00,00,00,00,\
          00,00,00,00,00,00,00,a8,d3,15,c0,0a,00,00,00,00,00,00,00,20,6b,01,00,80,92,\
          02,70,0a,00,00,00,44,70,16,c0,00,00,00,00,00,00,00,00,ce,ea,29,d9,00,00,00,\
          d9,00,00,00,00,00,00,00,00,20,6b,01,00,bc,40,05,84,00,00,00,00,00,00,00,00,\
          a0,ee,15,c0,a8,d3,15,c0,89,01,00,00,0a,00,00,00,04,b5,1d,c0,40,98,02,70,89,\
          01,00,00,44,70,16,c0,00,00,00,00,80,c0,f9,d8,20,61,1b,88,00,00,00,d9,80,c0,\
          f9,d8,00,00,00,00,04,b5,1d,c0,0a,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,40,98,02,70,00,00,00,00,80,c0,f9,d8,89,01,00,00,00,00,00,00,20,72,02,70,\
          00,00,00,00,a8,d3,15,c0,01,00,00,00,00,00,02,70,00,00,00,00,0a,00,00,00,40,\
          98,02,70,98,20,16,c0,80,c0,f9,d8,80,c0,f9,d8,00,00,00,00,00,00,ff,ff,00,00,\
          00,00,80,c0,f9,d8,00,00,00,00,89,01,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,f4,eb,29,d9,20,61,1b,88,f4,eb,29,d9,00,60,1b,88,b0,47,05,84,\
          00,60,1b,88,40,98,02,70,80,c0,f9,d8,00,00,00,00,89,01,00,00,00,00,00,00,00,\
          00,00,00,10,af,14,c0,0a,00,00,00,2c,23,16,c0,00,00,00,00,00,00,00,00,80,c0,\
          f9,d8,81,00,00,00,20,4f,2e,d9,00,00,00,00,00,00,00,00,40,3f,1d,c0,20,4f,2e,\
          d9,ff,ff,ff,ff,0d,00,00,00,81,00,00,00,80,c0,f9,d8,40,97,02,70,cc,4c,1d,c0,\
          00,00,00,00,00,00,04,d0,28,f7,03,c0,08,00,00,00,00,00,d5,d8,ff,ff,ff,ff,00,\
          00,04,d0,00,00,00,00,08,00,00,00,00,00,d5,d8,04,06,00,00,28,0a,04,c0,14,ed,\
          29,d9,90,ed,29,d9,01,00,00,00,14,ed,29,d9,00,00,00,00,f1,ac,ff,ff,04,87,99,\
          85,a8,ec,29,d9,7c,ec,29,d9,1c,3d,05,84,90,ed,29,d9,30,ed,29,d9,06,00,00,00,\
          55,04,04,00,00,00,00,00,01,00,00,00,14,ed,29,d9,00,00,00,00,00,00,00,00,90,\
          ed,29,d9,00,00,00,00,90,ed,29,d9,0c,ed,29,d9,b4,ec,29,d9,90,ed,29,d9,00,00,\
          00,00,90,ed,29,d9,a8,3e,05,84,08,63,99,85,80,c0,f9,d8,00,00,00,00,dc,4b,1d,\
          c0,0a,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,40,97,02,70,00,00,00,00,\
          ba,33,05,00,0d,00,00,00,81,00,00,00,20,61,1b,88,00,00,00,00,20,61,1b,88,00,\
          00,00,00,90,ed,29,d9,34,f2,04,00,00,00,00,00,0c,ed,29,d9,bc,40,05,84,ba,33,\
          05,00,00,00,00,00,40,10,00,00,0f,00,00,00,e0,0c,05,d0,06,00,00,00,55,04,04,\
          00,00,00,00,00,90,ed,29,d9,00,00,00,00,1c,00,00,00,90,0d,00,00,00,00,00,00,\
          ac,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
          00,00,00,00,00,00,00,00,00,00,00

    [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
        ; Selects USBFN serial class driver (activesync)
        "DefaultClientDriver"="Serial_Class"
        ; Selects USBFN disc emulation, USBFN to mounts local disk as USB drive for use by host
        ;"DefaultClientDriver"="Mass_Storage_Class"
        ; Selects USBFN RNDIS network driver, allows USBFN to emulate a network connection
        ;"DefaultClientDriver"="RNDIS"

    --- Misbah


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

    Friday, January 3, 2014 5:14 AM