bt_hci_driver: Endpoint binding failed with -11

I am trying to get the NRF5340 unicast server example to build and run on the nRF5340 audio DK.  I think I got the building done but have noticed:

1. When I click on the VCOM0 interface's 'plug icon' in VSCode it does not open a terminal as the examples (academy videos) indicate it should. 

2. When I open the com port in external terminal I am getting the following error: <err> bt_hci_driver: Endpoint binding failed with -11

I assume the error might be because the 'soft device' is not loaded? 

Note I am new to Nordic and Zephyr as well as Nordic's VSCode build system,  it has been a very very painful few days trying to figure out how to make all this stuff work.  There is tons of conflicting documentation on Nordic's website and very unclear processes and procedures to getting started. 

  • Hello,

    First of all, I just wanted to mention a few things regarding being new to Nordic:

    The Audio sample might be a bit complex. I wouldn't say it's a recommended starting point for those new to Nordic and Zephyr.  Since you mention the Academy videos, I assume you might've already gone through them, but just to mention it:  I would recommend starting off with the DevAcademy if you are new to Nordic. Start with the NCS one, then move to the course on BLE.

    I am trying to get the NRF5340 unicast server example to build and run on the nRF5340 audio DK.  I think I got the building done but have noticed:

    So in order to build the Audio sample, I would recommend using the buildprog.py script, as VSC can't build and flash it on its own. How did you flash the DK? If you've simply done it using VSC then you'd be somewhat be correct in that the softdevice isn't loaded, as it uses a separate Audio Controller instead of the SDC for the timebeing, and that is one of the reasons we currently need a seperate script for it. 

    Note I am new to Nordic and Zephyr as well as Nordic's VSCode build system,  it has been a very very painful few days trying to figure out how to make all this stuff work.  There is tons of conflicting documentation on Nordic's website and very unclear processes and procedures to getting started. 

    I am sorry to hear that, but I'm glad that you're taking advantage of the DevZone. Getting help here is something we hope will make things clearer, if for instance the documentation isn't good enough.

    Regards,

    Elfving

Related