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
  • Hey Jorgen,

    Not sure if I should post another ticket or just continue here, but it doesn't seem to output debug or show me the error on system crash when running it in debug mode.

    Any idea how to resolve that? i'm using 5.42a SES as suggested but I can't seem to get debug output nor see the assertion failed at what line and in what file. Also the call stack doesn't have all of the functions only the last two which is not enough to know why it crashed.

    Cheers,

    Joseph

Reply
  • Hey Jorgen,

    Not sure if I should post another ticket or just continue here, but it doesn't seem to output debug or show me the error on system crash when running it in debug mode.

    Any idea how to resolve that? i'm using 5.42a SES as suggested but I can't seem to get debug output nor see the assertion failed at what line and in what file. Also the call stack doesn't have all of the functions only the last two which is not enough to know why it crashed.

    Cheers,

    Joseph

Children
Related