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 you say pre-compiled HEX files shipped with SDK work but once you open any project in Crossworks and recompile it then HEX files don't work? I guess we all see where is the problem;) So few more (am I the only one who see these as "obvious"?) steps in debug cycle:

    • Can you verify other compilers officially supported by nRF5 SDK (e.g. Keil)?
    • What is behavior of FW when you DON'T debug, just simply flash it and let it run?
    • How EXACTLY you compile the thing by Crossworks? Any compilation&linking output logs? Some brief sequence of steps you do so anyone could follow them?
Reply
  • So you say pre-compiled HEX files shipped with SDK work but once you open any project in Crossworks and recompile it then HEX files don't work? I guess we all see where is the problem;) So few more (am I the only one who see these as "obvious"?) steps in debug cycle:

    • Can you verify other compilers officially supported by nRF5 SDK (e.g. Keil)?
    • What is behavior of FW when you DON'T debug, just simply flash it and let it run?
    • How EXACTLY you compile the thing by Crossworks? Any compilation&linking output logs? Some brief sequence of steps you do so anyone could follow them?
Children
No Data
Related