This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Firmware Crash on ble_stack_init()

The firmware crashes when passing the ble_stack_init() when the firmware is download but in debug mode it works fine. The screen shots below shows this event.

We are using S132 and nRF5_SDK_17.0.2_d674dde

Code Snippet

On this scope shots we can see that on debug mode the test point would go low after around 2 seconds but on downloaded it didn't go low even after 3 seconds and more.

Debug Mode

Downloaded

Any thoughts on what is causing this issue?

Parents
  • Good day Simon, I am Marvin Neil, a teammate of Yan-Wei. We tried your suggestion but we still face the same issue. The firmware works when it is under debug mode for Segger Embedded Studio, but when we try to download the code to the module, it still doesn't work and it crashes. We don't have any NRF_LOG prints that we can use to investigate this problem further. I forgot to mention that you are correct in that we are using a custom board without an external LF clock.

Reply
  • Good day Simon, I am Marvin Neil, a teammate of Yan-Wei. We tried your suggestion but we still face the same issue. The firmware works when it is under debug mode for Segger Embedded Studio, but when we try to download the code to the module, it still doesn't work and it crashes. We don't have any NRF_LOG prints that we can use to investigate this problem further. I forgot to mention that you are correct in that we are using a custom board without an external LF clock.

Children
No Data
Related