Hardfault logging

Hi,

Sdk 17.1.0

Trying to log all the necessary information in the event of a hardfault when the product is deployed in the fields and to retrieve it later.

  1.  Is it okay to use nrf sdk flash apis in the hardfault handler to store the data to the internal flash ? Are there any risk in using the internal flash in the exception handler ?
  2. Are there any examples for this ?
  3. Is there a need of external flash or can we use the internal one ?
Related