I am running NUS and a custom service.
I have updated vs_uuid_count = 2 in softdevice_handler.c
Following other posts on the forum, I have stepped through the code using Eclipse debugger.
The error code returned by sd_ble_enable() is equal to 4.
app_ram_base = 536879416 [0x20002138]
ram_start = 536879400 [0x20002128]
By default, the RAM ORIGIN is 0x20002128 and LENGTH is 0xDED8 in .ld file.
I have changed the RAM ORIGIN to 0x20002138.
However, the error continues to be 4.
Also, how can I get ram_end_address_get() value to calculate the exact length to be allotted for softdevice in RAM?.