This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF52811 with IAR Embedded Workbench 8.42.1 s140 sd_softdevice_enable hardfault

Hello,

I am trying to port ble_app_hrs_rscs_relay example to nRF52811 with softdevice s140 7.2 and nRF5_SDK_17.1.0. Everything works fine and the app is running and I can debug the app. When i reset the app i get a hardfault in sd_softdevice_enable if i download and debug the app. If i just debug without downloading i get error code 8 Invalid state. I just have the app without bootloader. 

Am I missing something? I really appreciate your help.de

Parents Reply
  • Here i get the hardfault, if i download and debug:

    if I reset it and run it again i still get hardfault:

    But if I debug without downloading:

    sd_softdevice_enable return 8.

    I i erase the chip it will work just once:

    if i reset it i get the same error code:

Children
No Data
Related