Content originally posted in LPCWare by Brutte on Tue Jan 22 03:47:12 MST 2013
Quote: MikeSimmonds
[FONT=Tahoma][SIZE=1]This is a bit of an open ended question.
[/SIZE][/FONT][FONT=Tahoma][SIZE=1]You shotld not expect to recover from a hard fault -- so you can do what you like to your own program variables.
Sorry if this is a bit vague, but so are the posibilities.
[/SIZE][/FONT]
[FONT=Tahoma][SIZE=1]
To be more precise:
[/SIZE][/FONT]
Quote: ARMv7M-ARM HardFault definition
HardFault is the generic fault that exists for all classes of fault that cannot be handled by any of the other exception mechanisms. HardFault will typically be used for unrecoverable system failure situations, though this is not required, and some uses of HardFault might be recoverable.
I think it is a good place to make a dump of RAM and registers and to display a nice BSOD with your logo :)