SDK_ERROR observed

Hi Team,

I'm developing a custom app, based on the ble_app_uart.

I'm observing a error : SDK_ERROR (NRF_FAULT_ID_SDK_ERROR).

I'm unable to root cause it and also unable to get any information about this error.

I even though got the error details connecting the debugger.

Can you please share some insight about this crash/error. It will help to debug further the issue.

I understand the 

Below are error details (taken from function app_error_save_and_stop()):-

Parents Reply
  • Hi,

    sa.qw said:
    Can you help me with some pointer on how to debug it or how you will debug it.

    Are you able to run the application if you only program the Softdevice and application without the bootloader?

    sa.qw said:
    Also how you got to know that its a corrupted/invalid stack pointer, as I least expect it because i have a simple application and the execution never comes the Application, it crashes even before it.

    Because the stack pointer is well beyond the valid address range for RAM (which ranges from 0x20000000 to 0x20006000).

    sa.qw said:
    I have reasons to say that its not occurring in or due Application as execution never reaches there.

    It's not reaching main(), but is it reaching the application's reset handler?

    sa.qw said:
    I first use the project dfu\secure_bootloader to write the bootloader (+soft device), then use my project to write the application + soft device. I hope its not an issue.

    The bootloader will not be able to boot the application unless you also program a valid bootloader settings page along with it. See Combine application, bootloader and softdevice image - Bootloader setting.

Children
Related