none
BthSdio crash RRS feed

  • Question

  • Hi,

    My first question is: Has anyone had good experience in connecting  a bluetooth dongle over SDIO?

    My current situation is:

    I am evaluating a combo chip that integrates WiFi and Bluetooth together over SDIO. The WiFi works fine. The BT driver loads and communicates with the seconds SDIO function (or whatever terminology it is with SDIO) successfully.

    I could not understand why Windows CE 6 R3 with QFEs upto Feb 10 could not find the underlying controller. I then recalled that I forgot to change the sysgen variable to SYSGEN_BTH_SDIO_ONLY. After a clean sysgen I still don't get a functioning BT controller. I tried a debug build and received the following exception:

    4294821998 PID:400002 TID:bf0002 BTHPAN:: ++DriverEntry
    4294821998 PID:400002 TID:bf0002 DEVICE!RegReadActivationValues RegQueryValueEx(Software\Microsoft\Bluetooth\Driver\BusPrefix) returned 2
    4294822044 PID:400002 TID:bf0002 BTHPAN: NdisMInitializeWrapper loaded Bluetooth stack h=0xd2cd74e0, GetLastError = 0
    4294822045 PID:400002 TID:340000a Exception 'Prefetch Abort' (3): Thread-Id=0340000a(pth=85008b94), Proc-Id=00400002(pprc=84bffaa0) 'NK.EXE', VM-active=00400002(pprc=84bffaa0) 'NK.EXE'
    4294822045 PID:400002 TID:340000a PC=00000000(???+0x00000000) RA=c12e4d0c(bthsdio.dll+0x00004d0c) SP=d2eafdd8, BVA=00000000

    I obviously blamed myself since this is a public component and must have been used by lots of people before. BUT, I also tried the same on two other platforms we have here and encountered the same behaviour.

    I tried this with a PXA3x0 and PXA270 BSPs, with the same crash in debug build. With an OMAP3530 platform the driver just does not work. In all cases the crash does not happen in release, but obviously the bthsdio does not function since there are no commands being sent to the BT module other than the ones in the init process of the driver.

    I also tried to build one platform on a different computer (thought my installation might have got corrupt), but received the same crash under debug build.

    Any information will be accepted gladly.

    Thanks,

    Shai

     

    PS

    This are the BTH sysgen variables I set:

    SYSGEN_BTH=1
    SYSGEN_BTH_A2DP=1
    SYSGEN_BTH_AG=1
    SYSGEN_BTH_AVCTP=1
    SYSGEN_BTH_AVDTP=1
    SYSGEN_BTH_AVRCP=1
    SYSGEN_BTH_GATEWAY=1
    SYSGEN_BTH_HID_KEYBOARD=1
    SYSGEN_BTH_HID_MOUSE=1
    SYSGEN_BTH_MODEM=1
    SYSGEN_BTH_PAN=1
    SYSGEN_BTH_SDIO_ONLY=1

    Thursday, July 15, 2010 7:38 AM