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
  • Same issue here, as soon as I try to work adding a SoftDevice the board just doesn't execute the program. In my case I'm jut testing blinky for blank/ and from s110/

    Compiling and flasing using the s110 version of the blinky example won't work

    $ cd nRF51_SDK_10.0.0/examples/peripheral/blinky/pca10028/s110/armgcc 
    $ make 
    $ cd _build
    $ make
    $ nrfjprog --family nRF51 -e
    $ nrfjprog --family nRF51 --program nrf51422_xxac_s110.hex
    

    however using the blank version will work just fine

    $ cd nRF51_SDK_10.0.0/examples/peripheral/blinky/pca10028/blank/armgcc
    $ make flash_softdevice
    $ make
    $ cd _build
    $ nrfjprog --family nRF51 --program nrf51422_xxac.hex
    

    Did you find any solution to your problem?

Reply
  • Same issue here, as soon as I try to work adding a SoftDevice the board just doesn't execute the program. In my case I'm jut testing blinky for blank/ and from s110/

    Compiling and flasing using the s110 version of the blinky example won't work

    $ cd nRF51_SDK_10.0.0/examples/peripheral/blinky/pca10028/s110/armgcc 
    $ make 
    $ cd _build
    $ make
    $ nrfjprog --family nRF51 -e
    $ nrfjprog --family nRF51 --program nrf51422_xxac_s110.hex
    

    however using the blank version will work just fine

    $ cd nRF51_SDK_10.0.0/examples/peripheral/blinky/pca10028/blank/armgcc
    $ make flash_softdevice
    $ make
    $ cd _build
    $ nrfjprog --family nRF51 --program nrf51422_xxac.hex
    

    Did you find any solution to your problem?

Children
No Data
Related