I just changed the ble_app_hrs_freertos example from SDK v 14.0:
APP_ADV_TIMEOUT_IN_SECONDSto 5 seconds in main.c
- Enable debug log for various components in
- Redirected NRF_LOG to use SEGGER_RTT rather than UART.
Below is the Terminal output:
<debug> nrf_sdh: State request: 0x00000000 <debug> nrf_sdh: Notify observer 0x00033E50 => ready <debug> nrf_sdh: State change: 0x00000000 <debug> nrf_sdh: State change: 0x00000001 <debug> nrf_sdh_ble: RAM starts at 0x20005668 <warning> nrf_sdh_ble: RAM start should be adjusted to 0x200020E0. <warning> nrf_sdh_ble: RAM size should be adjusted to 0xDF20. <debug> nrf_sdh_freertos: Creating a SoftDevice task. <debug> nrf_sdh_freertos: Enter softdevice_task. <info> app: Fast advertising. <debug> nrf_sdh_ble: BLE event: 0x1B. <error> app: Fatal
The Iast line _Fatal_ happens after the 5 seconds time out, when the system tries to power off inside
I dont quite understand what is happening inside
sd_power_system_off(). Could someone please shed some light and help me fix this issue ?