A device that resets in the field is not always the hardest problem.

The harder problem is a device that resets, comes back online, and leaves no evidence about what happened before the reboot.

That is where a firmware black box becomes useful.

This is the DEV.to edition of a Silicon LogiX technical article. The canonical English source is linked at the end.

What a firmware black box is