Failsafe module

Use the failsafe module to erase the Settings partition after a fatal error. This can be done to prevent broken settings from rendering the device permanently unusable.

Module Events

Source Module

Input Event

This Module

Output Event

Sink Module

Source modules for module_state_event




Sink modules for module_state_event


See the Overview: Firmware architecture for more information about the event-based communication in the nRF Desktop application and about how to read this table.


Use the CONFIG_DESKTOP_FAILSAFE_ENABLE option to enable the module.

Additionally, make sure that the following options are set as follows:

This is to ensure that the device will be blocked after a fatal error and then the watchdog will trigger the reboot.

After the reboot caused either by the watchdog or by the CPU lockup, the failsafe module erases the settings partition and clears the non-volatile settings data.