5 years, 1 month ago.

How to access the runtime error log of a device?

My device stops running short after booting, in the middle of printing a string through the serial port. No information is printed about the runtime error. How can the runtime error log be accessed?

1 Answer

5 years, 1 month ago.


Here is a fairly comprehensive guide to debugging your embedded device. https://os.mbed.com/docs/v5.8/tutorials/debugging.html

Probably the best way to find the root cause to the crash is to hook up a debugger (also in that link) and trace the crash dump.