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

Are there any differences between SDK15 and SDK17 in configuring Custom Services?

Hi,

I'm trying to add a custom service to a working application that has a working battery service.

I have followed https://github.com/NordicPlayground/nRF52-Bluetooth-Course

I'm using SDK17.0.2 but does that make any difference in the way you should set up a Custom Service compared to SDK15?

Parents Reply
  • If you use ble_app_template for nRF52840 (PCA10056) you can find that the linker configuration as follows: 

    FLASH_PH_START=0x0

    FLASH_PH_SIZE=0x100000

    RAM_PH_START=0x20000000

    RAM_PH_SIZE=0x40000

    FLASH_START=0x26000

    FLASH_SIZE=0xda000

    RAM_START=0x20002210

    RAM_SIZE=0x3ddf0

    The RAM_START and RAM_SIZE may differ depends on your application configuration (number of custom services).

    Please follow the debug log when you get an issue. Please check what you have at main.c line 474.

    Most likely it's trying to enter deep sleep mode after advertising timeout but since you were running in debug mode (probably) it didn't sleep and enter the error NRF_ERROR_SOC_POWER_OFF_SHOULD_NOT_RETURN. This is normal.

    Please try to connect and check which error you have. 

Children
Related