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

Error fatal in example "experimental ble app cgms"

Hi,

I got a error fatal awhile after the app switched to low advertising.

Could you please tell me where I can to look into ?

image description

I got the error code 8198 from sd_power_systemoff when entering sleep mode.

Regards,

Parents
  • FormerMember
    0 FormerMember

    The returned error code from sd_power_system_off() is NRF_ERROR_SOC_POWER_OFF_SHOULD_NOT_RETURN. sd_power_system_off should not return when running in normal mode. However, when in debug mode (and using RTT), sd_power_system_off will return with that error code, and the error code will be caught by APP_ERROR_CHECK(). It can be useful to read more in this thread.

    If using logging over UART, the debugger will not run, and the same problem will not occur.

Reply
  • FormerMember
    0 FormerMember

    The returned error code from sd_power_system_off() is NRF_ERROR_SOC_POWER_OFF_SHOULD_NOT_RETURN. sd_power_system_off should not return when running in normal mode. However, when in debug mode (and using RTT), sd_power_system_off will return with that error code, and the error code will be caught by APP_ERROR_CHECK(). It can be useful to read more in this thread.

    If using logging over UART, the debugger will not run, and the same problem will not occur.

Children
No Data
Related