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

Example codes for nRF51822 doesn't work except via mbed compiler

Hello everyone,

I have problems with my nRF51822. I think it is related to the starting memory address of softdevice. I attach 2 nRFgo's screenshots.

I have programmed my pca10001 board using Keil uVision 5 with:

  • blinky_example and it works (no softdevice was used here)
  • ble_app_hrs example and S110 SoftDevice and it doesn't work (two .hex files, one for the software and the other one for the softdevice).

image description

after that I used the online compiler from mbed.org and compiled the BLE_HeartRate example which contains the example and the S110 SoftDevice in just one .hex file and IT WORKED.

image description

If you see both screenshots you can see appreciate the softdevice memory address beginning are different.

Do you think this can be the cause of the error ? How can I change that memory address in Keil ?

Edit:

I installed the newest SDK: nRF51_SDK_8.0.0_5fc2c3a.zip and I'm using now the last SD: s110_nrf51822_7.1.0_softdevice.hex and it continues without working.

nRFgo screenshot:

image description

Edit2:

SD 8.0.0 flashed:

image description

Edit 3:

Target settings:

image description

Related