Tock panic routine, without the infinite LED-blinking loop.
This is useful for boards which do not feature LEDs to blink or want to implement their own behaviour. This method returns after performing the panic dump.
After this method returns, the system is no longer in a well-defined state. Care must be taken on how one interacts with the system once this function returns.
NOTE: The supplied
writer must be synchronous.