Crash during system initialization stage (before main function)

I am experiencing a crash during system initialization stage (before main function) on the nrf54l15, with Bluetooth enabled in the proj.conf, using tooling and SDK 2.8.0 with ARM GCC 13.3 compiler.Disabling Bluetooth seems to make the system run as intended, so I am quite perplexed as to what is happening. I tried to debug the system initialization files (kernel/init.c) without much luck, as it seems that the crash happens somewhere there, but due to the multithreaded nature of the environment I can't seem to pinpoint exactly where...

Rolling back to the SDK and tooling versions 2.7.0 does not seem to cause this issue, and the program runs as intended.

I was wondering if I could get some assistance to diagnose why this is the case, as i have had no luck diagnosing the issue by myself.

I am running on a Macbook M2 Pro with OS Sonoma 14.6, using VS Code and the nRF Connect extension

Kind regards,

Nicolas D

Parents Reply Children
  • Hi Edvin

    I don't really have any logs as the crash is performed during the very initialization of Zephyr itself, and understand that it is not much to go on...

    I do get warnings regarding some of the libraries I use and some unused functions, but since the code never even reaches the main function I doubt they are an issue. I only have a single nRF54L15 PDK, so I sadly am not sure if this is reproduce-able in another board.

    I will gladly upload the application, but am however not quite sure how to do it, as this is my first time using this forum Sweat smile

    Kind regards,

    Nicolas

Related