This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Direction Finding Example Zephyr

Hi I am working on nrf5340 direction finding example using nrfconnect zephyr v1.6.0-rc2. i had build example zephyr\samples\bluetooth\direction_finding_connectionless_tx for build_nrf5340dk_nrf5340_cpuapp. when i am debugging it facing issue 

static int bt_rpmsg_open(void)
{
BT_DBG("");

while (!bt_rpmsg_platform_endpoint_is_bound()) {
k_sleep(K_MSEC(1));
}
return 0;
}

code is stuck in this loop.

i search issue i found that i have to program hci_rpmsg project in network core. i  build this for  build_nrf5340dk_nrf5340_cpunet and tried to flash but i am not able to flash it getting error-

Parents Reply Children
  • what about error in first image during programming.

    Second thing i cloned master branch of each below and put in a folder and copied other dependency folder from sdk v1.61 as below-

     https://github.com/nrfconnect/sdk-nrf

    https://github.com/nrfconnect/sdk-zephyr

    https://github.com/nrfconnect/sdk-nrfxlib

    https://github.com/zephyrproject-rtos/mcuboot

    then tried to build nrf\samples\bluetooth\direction_finding_connectionless_tx project-

    copied  content of overlay-aoa.conf  into hci_rpmsg.conf at sdk_mster\nrf\samples\bluetooth\direction_finding_connectionless_tx\child_image

    and open project nrf5340dk_nrf5340_cpuapp and build it.

    then flash this in nrf5340dk. now this code it printing -

    Bluetooth initialization...*** Booting Zephyr OS build v2.6.0-rc1-ncs1 ***
    Starting Connectionless Beacon Demo
    Bluetooth initialization...

    which means

     it is stuck at 

    static int bt_rpmsg_open(void)
    {
    BT_DBG("");
    
    while (!bt_rpmsg_platform_endpoint_is_bound()) {
    k_sleep(K_MSEC(1));
    }
    return 0;

    Is any step i am missing?

    Kindly help me to come out of this issue

  • Please clone a full version of nRF Connect SDK, following the steps provided in our documentation. This will ensure that all connections are kept. I am not able to help without a complete version of NCS, i.e. master branch.

  • Hi i clone full repo using nrfconnect getting started. from it  1.699 version i downloaded 

    I build project  nrf\samples\bluetooth\direction_finding_connectionless_tx - by placing overlay-aoa.conf content at hci_rpmsg.conf

    No flash merge.hex in board.

    getting print 

    Bluetooth initialization...*** Booting Zephyr OS build v2.6.0-rc1-ncs1-2275-g2716fad989a4 ***
    Starting Connectionless Beacon Demo
    Bluetooth initialization...

    still seems same issue as above

    I have doubt which build type i should select app or net. i had selected app

  • Hi, 

    Just tested the nrf\samples\bluetooth\direction_finding_connectionless_tx on my board without issues. From the SES screenshot, I'm not able to tell if you are working on latest branch. 

    Here are my settings.

    After opening the project I clicked on Build -> Build solution. Then I added "new project" as described in "Working with nRF53-series". 

    And here is the output from PuTTy

    Let me know how that works for you.

    Kind regards,
    Øyvind

  • i followed same process and from your setting my project setting is matching.

    i followed https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf5340.html

    and in step 14 i am getting error 

    Ram check fail during programming network core

Related