Hello,
I am trying to find any analysis of which failures are fatal thereby leading to complete failure of the HW and which are types of failure expected to be fixed by a hard or soft reset.
Such analyzes is unique to each customer project. Therefore there is FMEDA.
Basically when you program ends in while loop there are are multiple reasons and reactions:
For example if SW ends in while loop by not fulfilling all requirements for function lets say, then you as user take appropriate action in the place where are default while loops. If not, then watchdog will take action and the device will behave as define by your fault reaction paths. (usually FCCU, RGM, ERM, etc..)
This question looks to me fully dependent on end product and it required behavior in the fault/corner cases.
Best regards,
Peter