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.

CC2650: The HCI tester is failing at "Wait_HCI_Vendor_Specific_Event"

Part Number: CC2650
Other Parts Discussed in Thread: CC2640, BOOST-CC2564MODA

I am running the BASIC TESTS.txt script and using the image "CC2640_SmartRF-7ID_HostTestRelease_All" in the reader. Ending up with error as below:

17:09:59.814 ERROR - File: "C:\testrepo\ble\HCI_Tester_scripts\BLE Scripts - HOST\scripts\util\init_master.txt", Line: 32
17:09:59.816 ERROR - Timeout waiting for event HCI_Vendor_Specific_Event
17:09:59.816 ERRORed Line: Wait_HCI_Vendor_Specific_Event TIMEOUT_5_SEC, 0x040C, ,

  • I have one system which is able to run tests successfully, but in all other systems it is resulting in above mentioned errors. Looks like some issue with HCI tester software installed but I am unable to make out what the issue actually is. Also we observed that in some system HCI tester is not recognizing the ports.
  • Hi Ajay,

    Was any event returned? Perhaps the wrong one was - or it could indeed be a bug.

    In general there isn't much we can do if there's a HCI_Tester bug, as it's a tool that is no longer updated. However it's a relatively simple program (just sends bytes over UART and displays received data)

    Regards,
    Rebel
  • Hi Rebel,

    Thanks for your response. It does not look like a bug in HCI tester. It looks like I have missed to configure something or install something in my system. Can you please check the error log and suggest the basic things I need to check in my system to make the HCI  tester work.

    Re gards,

    Ajay Rai

  • Hi Ajay,

    It looks like it timed-out while waiting a vendor specific event - any instance of a timeout causes an error 

    What event do you get instead? Are you sure that the event actually occurs?

    This issue is due to your script, can you attach the log ?

    Regards,

    Rebel

  • 17:04:05.735 Loading Library "C:\ti\Tester_HCILib.xml"...
    17:04:05.986 Load Succeeded
    17:04:05.988 --
    17:04:05.988 VersionPlatform = "TI LPRF BLE"
    17:04:05.988 VersionMajor = 0
    17:04:05.988 VersionMinor = 9
    17:04:05.988 --
    17:04:34.082 *** Script Started: "C:\testrepo\ble\HCI_Tester_scripts\BLE Scripts - HOST\scripts\qual\UNIT TESTS\BASIC TESTS.txt" ***
    17:04:35.667 --
    17:04:35.667 Packet "HCI_EXT_SetBDADDR", Opcode 0xfc0c
    17:04:35.667 Parameters:
    17:04:35.667 | BDADDR : "70:55:44:33:22:11"
    17:04:35.667 --
    17:04:35.667 Outgoing Dump:
    17:04:35.667     0000: 01 0c fc 06 11 22 33 44 55 70                   ....."3DUp
    17:04:40.670 ERROR - File: "C:\testrepo\ble\HCI_Tester_scripts\BLE Scripts - HOST\scripts\util\init_master.txt", Line: 32
    17:04:40.670 ERROR - Timeout waiting for event HCI_Vendor_Specific_Event
    17:04:40.670 ERRORed Line: Wait_HCI_Vendor_Specific_Event TIMEOUT_5_SEC, 0x040C, ,
    17:04:40.671 --
    17:04:40.671 *** Script End ***
    17:04:40.671 --
    
    Please find the requested log attached.

  • HCITester Trace Log_Pass.txtIt is working in one system, no other system I am able to make the HCI tester run. The log of working system is also attached.

  • Hi Ajay,

    Could you also attach the script itself?

    I'd suggest adding a HCI reset prior to doing any command, if there isn't one already there

    Regards,
    rebel
  • Hi Rebel,
    Please find the script used attached. I think I have tried HCI reset prior to the commands. 

    Regards,

    Ajay Rai

    # Clear any hanging script events
    ClearAllEvents
    
    # Reset script variables
    ClearVariables
    ScriptPath = "C:\\testrepo\\ble\\HCI_Tester_scripts\\BLE Scripts - HOST\\scripts"
    CloseAllDocuments
    currentTestResult = 0
    totalTestsPassed = 0
    
    
    ########## Run all tests sequentially ##########
    
    #BASIC TESTS
    
    CallFile ScriptPath + "\\qual\\GATT\\TP.GAC.CL.BV-01-C_M.txt"
    #totalTestsPassed += currentTestResult
    CallFile ScriptPath + "\\qual\\GATT\\TP.GAD.CL.BV-01-C_M.txt"
    #totalTestsPassed += currentTestResult
    CallFile ScriptPath + "\\qual\\GATT\\TP.GAD.CL.BV-02-C_M.txt"
    #totalTestsPassed += currentTestResult
    CallFile ScriptPath + "\\qual\\GATT\\TP.GAD.CL.BV-03-C_M.txt"
    #totalTestsPassed += currentTestResult
    CallFile ScriptPath + "\\qual\\GATT\\TP.GAD.CL.BV-04-C_M.txt"
    #totalTestsPassed += currentTestResult
    CallFile ScriptPath + "\\qual\\GATT\\TP.GAD.CL.BV-05-C_M.txt"
    #totalTestsPassed += currentTestResult
    CallFile ScriptPath + "\\qual\\GATT\\TP.GAD.CL.BV-06-C_M.txt"
    #totalTestsPassed += currentTestResult
    
    log "ALL TESTS PASSED"
    
    ################################################
    
    CloseAllDocuments
    

  • Hi Ajay,

    Yeah the tests do have a HCI Board Reset in the script. My best guess is that Host_test is no longer responding on your board - because you aren't getting any communication at all back from the board.

    It's either host_test failing to function or the wiring doing the actual communication transport. Checking the wires should be straight forward - use a logic analyzer to see what's going over the bus. And a multimeter to check it's continuous.

    As for the host_test failing, you'd need to connect to it using a debugger and see if the processor is halting. You could also try reflashing the device.

    If possible, see if you can reproduce this issue on a launchpad

    Regards,
    Rebel
  • I changed the CC board used and it worked fine. Have given the old CC board to ti for debugging. Also found that HCI tester is only supporting ports with single digit number so edited the port number in device manager and this made HCI tester tool recognise my reader. Thanks for your support.
  • Hi,

    I am also facing same issue for my Boost-CC2564MODA board.

    It is not returning any event after sending the command. Below is the COM port configuration I am using in
    HCITester application.

    What could be the issue here?

    Vishal N