Hello,
When I run the ble_app_template application from the examples, sd_app_evt_wait() cause an error and the app to crash. So I've put my project in debug mode (DEBUG preprocessor in the project configuration) and get to app_error_save_and_stop function. When I examinate the error info, I get this:
When I look up in the error header, I get SVC handler missing error. When I look up Nordic DevZone, it would seem like my softdevice version isn't compatible with the ble_app_template.
However, when I read the address 0x0000300C, where the version is stored, I get 0x0087 and when crossreferencing to this link, it means I am running version S130 v2.0.1. The ble_app_template is for PCA10028 S130, which I am running.
I did not change anything in the code of ble_app_template and I use the ble_app_templace_pca10028_s130, which corresponds to my dev kit. I would need help to figure out what is exactly the softdevice API to crash.
Spec summary :
IDE : IAR 8.40.1
DevKit : NRF51 (PCA10028 v1.2.2)
SoftDevice version : S130 2.0.1
SDK Version : 12.3.0
project used : \..\ble_peripheral\ble_app_template
Thank you for your help