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

nRF51 DK soft devices examples not working

Hi,

I have an nRF51 DK, found here www.nordicsemi.com/.../nRF51-DK. I am using SDK V11.0 and S130 V2.0. I am developing on a Linux machine.

I can compile and run the blinky example successfully with the commands below:

cd /home/joe/Tools/nRF5/tools/nRF5_SDK_11.0.0_89a8197/examples/peripheral/blinky/pca10028/blank/armgcc
make
cd _build
nrfjprog --family nRF51 -e
nrfjprog --family nRF51 --program nrf51422_xxac.hex
nrfjprog --family nRF51 -r

But when I try the heart rate application that includes a soft device LED 1 blinks but the device cannot be seen from either the MCP app or my development machine. I used the commands below:

cd /home/joe/Tools/nRF5/tools/nRF5_SDK_11.0.0_89a8197/examples/ble_central/ble_app_hrs_c/pca10028/s130/armgcc
make
make flash_softdevice
cd _build
nrfjprog --family nRF51 --program nrf51422_xxac_s130.hex
nrfjprog --family nRF51 -r

I have managed to confirm that bluetooth works on the board by flashing an example application (developer.mbed.org/.../) using the mBed IDE.

I feel like I must be missing something simple. Any help would be much appreciated.

Thanks

Parents
  • @Håkon Alseth, thanks for your quick reply,

    I've modified my comment to include the "$ make flash_softdevice", but I still having same issue, it has to be another thing or I maybe doing something in the wrong order.

    I've tried with both, launchpad compiler and the compiler from ubuntu repositories, , version 5.4.1. Both compile fine but still same issue, I'm using this nrf51-DK board

Reply
  • @Håkon Alseth, thanks for your quick reply,

    I've modified my comment to include the "$ make flash_softdevice", but I still having same issue, it has to be another thing or I maybe doing something in the wrong order.

    I've tried with both, launchpad compiler and the compiler from ubuntu repositories, , version 5.4.1. Both compile fine but still same issue, I'm using this nrf51-DK board

Children
No Data
Related