System is going dark after some kind of error (how to debug)

I’m afraid not. It seems to be a system freeze rather than a crash.
I can access via UART until the problem occurs. No console output via UART either. Kernel messages are sent to UART.