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

Program hang in sd_softdevice_enable

Hi all,

I'm working with the nRF52 and I'm trying to run the heart rate sensor example from SDK version 13.1.0 using Crossworks as my IDE. I can compile and run the program but nothing happens and when I debug the program I find that it is hanging in sd_softdevice_enable(). I have used PCA100040 evaluation board and I have set FLASH_START=0x1F000 and RAM_START=0x20002800. I have also tried another ble_app_template example and got the same issue. I am using soft device s132.

I have tried using nRFGo to separate program soft device hex and app code hex separate and it did not work. It worked with pre-provided hex file.

Any ideas as to why this is happening?

Thanks,

William

Parents
  • I debugged inside sd_softdevice_enable function and found it always hanged at the this point as below. ISR_HANDLER SVC_Handler

    E7FE b 0x0000023E <SVC_Handler>

    I don't know what is mean and what is the reason behind.

    I should also mentioned here. I have also tried ble_app_alert_notification, ble_app_template,ble_app_uart examples. They also hanged in the same place with the same function.

Reply
  • I debugged inside sd_softdevice_enable function and found it always hanged at the this point as below. ISR_HANDLER SVC_Handler

    E7FE b 0x0000023E <SVC_Handler>

    I don't know what is mean and what is the reason behind.

    I should also mentioned here. I have also tried ble_app_alert_notification, ble_app_template,ble_app_uart examples. They also hanged in the same place with the same function.

Children
No Data
Related