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

BLE advertising using softdevice and heart rate sensor example

My question is regarding the adertising with the softdevice on the heart rate sensor example.

My starting point is the following:

  1. I connect PCA10001 / PCA10000 from Evaluation Kit to usb
  2. Using nRFgo Studio 1.15.1.2691 a) erase device completely b) program Softdevice s110_nrf51822_5.2.1

Then I try out several Example Projects from nrf51_sdk_v5_0_0_34603, compiling with both eclipse and keil.

A) nrf51822\Board\pca10001\ble\ble_app_hrs

Settings Keil MDK-light 4.73.0.0: ROM: default x , start 0x14000, size: 0x2B000, startup x R/W Memory: default x, start 0x20002000, size 0x2000

I can upload everything either with Keil or nRFgo Studio, but the chip will never advertise.

B) nrf51822\Board\nrf6310\ble\ble_app_hrs

Settings Eclipse: GNU Tools ARM Embedded\4.7 2013q3 The rest as in nAN-29 v1.1

When using nrfjprog.exe to download the code onto the Device I get following error message: Parsing hex file(s). ERROR: Cannot find C:\Users\ose\Downloads\nrf51_sdk_v5_0_0_34603\nrf51822\Board\nrf6310\ble\ble_app_hrs\gcc_build\ble_hrs_gcc_s110_xxaa.hex

But the hex file is in the specified directory.

But if I use nRFgo Studio or the Debugging set up and Segger Jlink to upload the code, again the boards do not advertise.

Why? Thanks for your help.

  • I had the same problem, when I tried to flash nRF51822 with nrfjprog: --reset --program "${workspace_loc:/nRF51822_Blinky/gcc/_build}\blinky_gcc_xxaa.hex" I got: Parsing hex file(s). ERROR: Cannot find ... But then I deleted quotes <">: --reset --program ${workspace_loc:/nRF51822_Blinky/gcc/_build}\blinky_gcc_xxaa.hex and it start to work. Then I once again added quotes: --reset --program "${workspace_loc:/nRF51822_Blinky/gcc/_build}\blinky_gcc_xxaa.hex" and it still works fine without error. I don't know what was that.

Related