Storing Hard Fault information from hard fault handler in flash

Hi,

we are developing custom hard fault handler to get its information during non-debug mode. In order to collect the information in non-debug mode we are trying to store hard fault information in the flash.
If I try to use flash operations, Control is not coming out of their flash functions. I have tried to flash read as well as flash write both are not supporting.

Does it not possible to store Hard fault information in flash?

Thank you

Shreya,

Related