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
  • Hello Nicolas,

    It is difficult to say why it fails. Do you have any logs? Does the build log show any warnings? Is this something that I can reproduce with an nRF54l15 DK? If so, is it possible to upload the application?

    Best regards,

    Edvin

  • 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

  • Nicolas D said:
    I only have a single nRF54L15 PDK,

    Is it possible to upload a picture of the DK? Alternatively, write down what it says on the white sticker on the (P)DK. But preferably a picture, so that I can see the printings on the kit itself. Just drag and drop the picture into the text box where you are writing your answers, or copy paste it.

    Similarly, to upload the application, you can just zip the application folder, containing your application's CMakelists, src folder, prj.conf file and so on. And similarly, you can drag and drop it into where you are typing.

    If the application contains sensitive information, you can check if you see the same in one of the default samples, or alternatively, strip out the sensitive information, and just use a bare minimum application that can still replicate the issue you are seeing.

    Best regards,

    Edvin

Reply
  • Nicolas D said:
    I only have a single nRF54L15 PDK,

    Is it possible to upload a picture of the DK? Alternatively, write down what it says on the white sticker on the (P)DK. But preferably a picture, so that I can see the printings on the kit itself. Just drag and drop the picture into the text box where you are writing your answers, or copy paste it.

    Similarly, to upload the application, you can just zip the application folder, containing your application's CMakelists, src folder, prj.conf file and so on. And similarly, you can drag and drop it into where you are typing.

    If the application contains sensitive information, you can check if you see the same in one of the default samples, or alternatively, strip out the sensitive information, and just use a bare minimum application that can still replicate the issue you are seeing.

    Best regards,

    Edvin

Children
No Data
Related