opendps icon indicating copy to clipboard operation
opendps copied to clipboard

Implement crash dump

Open kanflo opened this issue 6 years ago • 0 comments

Getting "timeout talking to device" is quite a drag when we could have gotten something more verbose such as "sorry, but your DPS crashed at 0x12345678 and rebooted" with some registers.

When the app crashes it should write a crash dump into the bootcom area (which need to increase). Upon restart, the app should make this dump available to dpsctl. Here is a copy-and-pasteable fault handler: https://github.com/kanflo/aaduino-zero/blob/master/common/faulthandler.c

kanflo avatar Feb 17 '19 21:02 kanflo