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
  • So it worked with pre=compiled HEX files? Are you just re-compiling and then it stops working or you also mess up with loader script/project setting/code? If the latter then simply show us all changes or better go back and do just little steps and verify on board each time so you can see where exactly you do a mistake. When it comes to SD enable and RAM regions there are literally hundreds Q&As on this topic on this forum so either read them or read SD migration document and look for APP_RAM_BASE (there is code snippet in S13x v2.0.1 section wit longer explanation what and why should be done).

Reply
  • So it worked with pre=compiled HEX files? Are you just re-compiling and then it stops working or you also mess up with loader script/project setting/code? If the latter then simply show us all changes or better go back and do just little steps and verify on board each time so you can see where exactly you do a mistake. When it comes to SD enable and RAM regions there are literally hundreds Q&As on this topic on this forum so either read them or read SD migration document and look for APP_RAM_BASE (there is code snippet in S13x v2.0.1 section wit longer explanation what and why should be done).

Children
No Data
Related