Error 4 nrf_sdh_ble_enable on release only

I seem to get error 4 on nrf_sdh_ble_enable when building and running the application in release mode.

Everything works perfectly when building in debug mode and I've checked all of the forum posts about RAM start and size it's the same between debug and release but when building the release, I get that error and nrf52 crashes.

Have anyone seen this issue before and how do I resolve it?

Parents
  • Hi,

    Are you sure that you did not change the RAM_START address in only Debug configuration and not in Release configuration? By default, the configs are set in the "Common" settings in the project config. The Release and Debug configs are set to inherit the value from the Common config.

    If you select the config, you should be able to see the inherited values:

    If you are not able to resolve it, please upload your .emProject file.

    Best regards,
    Jørgen

Reply
  • Hi,

    Are you sure that you did not change the RAM_START address in only Debug configuration and not in Release configuration? By default, the configs are set in the "Common" settings in the project config. The Release and Debug configs are set to inherit the value from the Common config.

    If you select the config, you should be able to see the inherited values:

    If you are not able to resolve it, please upload your .emProject file.

    Best regards,
    Jørgen

Children
No Data
Related