APP_ERROR_CHECK(err_code)

SDK:17.1

application: ble_app_uart(+ble_app_buttonless dfu service)
bootloader:secure bootloader pca10040e_s112_ble

I want to know what operations will be performed when APP_ERROR_CHECK(code) detects error.
The phenomenon I encountered is that the device will reset and stay in the bootloader, is this normal?

Best Regard
Kenyon

Parents Reply Children
  • Hi!

    If you are having issues with the bootloader, I suggest using the _debug variant of the bootloader project ( e.g. pca10040e_s112_ble_debug). It has logging enabling by default.

    kenyon said:
    What criteria did he meet to stay in the bootloader

    If it's staying in the bootloader, and resetting there, then something went wrong in the bootloader and it was not able to boot the application. You need to debug the bootloader to see why this is happening.

Related