This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

customize board with nRF52840 needed to communicate via PC bluetooth

Hi All,

I am working on customized board using nRF52840 chip, I have a application which was developed using nRF development kit that communicates to my customize board.

But Right now I am not able to use the development kit and I have pc and my customized board.

So using PC's bluetooth is there any application there from nordic so that I can communicate to my board.

On board I have several peripheral I need to check.

so is it possible ?

  • Hi,

    I have set the include paths well also added to compiler list.
    This errors comes when I select ARM compiler option in Keil.

    Below are the errors occurs while selecting GCC ARM compiler.

    Build target 'nrf52832_xxaa'
    compiling system_nrf52.c...
    *** Error: Failed to execute 'arm-none-eabi-gcc'
    compiling main.c...
    *** Error: Failed to execute 'arm-none-eabi-gcc'
    assembling arm_startup_nrf52.s...
    *** Error: Failed to execute 'arm-none-eabi-as'
    compiling boards.c...
    *** Error: Failed to execute 'arm-none-eabi-gcc'
    linking...
    --- Error: failed to execute 'arm-none-eabi-gcc'

    At first , I have also thought of include path errors, Also included other includes,

    But still error persists. I have brought up error because I wanted to know If I am missing

    any steps while compiling so That I am facing errors.

    Thanks

  • I just use the default compiler in Keil under the Target tab:

    Have you taken a look at this link? Which path have you unzipped your sdk 15 version to? Mine is quite close to the C drive:

    C:\NordicSemi\SDKs\nRF5_SDK_15.0.0_a53641a

    If you have a really long path to the sdk 15 folder, this could lead to compile issues like you have noticed.

  • That path should be fine. Are you also using the default compiler version 5 that I am using? Did you take a look at the link I sent you? 

  • Hi ,

    I went through the link you have shared and worked fine. 
    Apologise for delay in response.

    Now I have custom board working with me.

    What I am trying:- 

    -connect the custom board with nrf52840 chip using nrf52 dongle on pc with python.

    -Already set some commands on custom board so when my pc (via dongle) connects to custom board, I want to send some commands and accordingly receive the response.

    For this I got my hands-on nrf dongle to give my laptop a BLE access.

    And I am trying to access the board using dongle (using python script) and I am getting below error,


    raise NordicSemiException('Failed to {}. Error code: {}'.format(wrapped.__name__, err_code))
    pc_ble_driver_py.exceptions.NordicSemiException: Failed to open. Error code: 13.

    Would you able to tell me how do i resolve this. 

    I want to have python code that can connect and do some data transfer over BLE using Dongle connected to my pc and I have tried with hart_rate_monitor unsuccessfully. 

    EDIT 1:- I am able to scan and connect my board using the nRF Connect windows app. Same I wanted to implement over python.

    Thanks,

    Hinesh

Related