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
  • Can you elaborate? I thought that was what the "make flash_softdevice" command does? I get this output when its run:

    ➜  armgcc make flash_softdevice
    Flashing: s130_nrf51_2.0.0_softdevice.hex
    nrfjprog --program ../../../../../../components/softdevice/s130/hex/s130_nrf51_2.0.0_softdevice.hex -f nrf51 --chiperase
    Parsing hex file.
    Erasing code and UICR flash areas.
    Applying system reset.
    Checking that the area to write is not protected.
    Programing device.
    nrfjprog --reset -f nrf51
    Applying system reset.
    Run.
    
Reply
  • Can you elaborate? I thought that was what the "make flash_softdevice" command does? I get this output when its run:

    ➜  armgcc make flash_softdevice
    Flashing: s130_nrf51_2.0.0_softdevice.hex
    nrfjprog --program ../../../../../../components/softdevice/s130/hex/s130_nrf51_2.0.0_softdevice.hex -f nrf51 --chiperase
    Parsing hex file.
    Erasing code and UICR flash areas.
    Applying system reset.
    Checking that the area to write is not protected.
    Programing device.
    nrfjprog --reset -f nrf51
    Applying system reset.
    Run.
    
Children
No Data
Related